Mark property strings for translation

Both the nick and the blurb fields should be translatable, for UI
builders and other introspection-based tools.
This commit is contained in:
Emmanuele Bassi
2010-06-03 12:57:50 +01:00
parent 8be43b5285
commit fd27ca7398
42 changed files with 586 additions and 590 deletions

View File

@ -397,8 +397,8 @@ clutter_script_class_init (ClutterScriptClass *klass)
* Since: 0.6
*/
pspec = g_param_spec_boolean ("filename-set",
"Filename Set",
"Whether the :filename property is set",
P_("Filename Set"),
P_("Whether the :filename property is set"),
FALSE,
CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_FILENAME_SET, pspec);
@ -412,8 +412,8 @@ clutter_script_class_init (ClutterScriptClass *klass)
* Since: 0.6
*/
pspec = g_param_spec_string ("filename",
"Filename",
"The path of the currently parsed file",
P_("Filename"),
P_("The path of the currently parsed file"),
NULL,
CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_FILENAME, pspec);