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

@ -1156,8 +1156,8 @@ clutter_state_class_init (ClutterStateClass *klass)
* change state without a transition.
*/
pspec = g_param_spec_string ("state",
"State",
"Currently set state, (transition to this state might not be complete)",
P_("State"),
P_("Currently set state, (transition to this state might not be complete)"),
NULL,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_STATE, pspec);
@ -1169,8 +1169,8 @@ clutter_state_class_init (ClutterStateClass *klass)
* source/target state pair. The values is in milliseconds.
*/
pspec = g_param_spec_uint ("duration",
"Duration",
"Default transition duration",
P_("Duration"),
P_("Default transition duration"),
0, 86400000, 1000,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_DURATION, pspec);