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

@ -284,6 +284,7 @@ static void
clutter_behaviour_class_init (ClutterBehaviourClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GParamSpec *pspec;
object_class->dispose = clutter_behaviour_dispose;
object_class->set_property = clutter_behaviour_set_property;
@ -299,13 +300,12 @@ clutter_behaviour_class_init (ClutterBehaviourClass *klass)
*
* Since: 0.2
*/
g_object_class_install_property (object_class,
PROP_ALPHA,
g_param_spec_object ("alpha",
"Alpha",
"Alpha Object to drive the behaviour",
CLUTTER_TYPE_ALPHA,
CLUTTER_PARAM_READWRITE));
pspec = g_param_spec_object ("alpha",
P_("Alpha"),
P_("Alpha Object to drive the behaviour"),
CLUTTER_TYPE_ALPHA,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_ALPHA, pspec);
klass->alpha_notify = clutter_behaviour_alpha_notify_unimplemented;