Commit fd27ca73 authored by Emmanuele Bassi's avatar Emmanuele Bassi

Mark property strings for translation

Both the nick and the blurb fields should be translatable, for UI
builders and other introspection-based tools.
parent 8be43b52
......@@ -157,8 +157,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_object ("actor",
"Actor",
"The actor attached to the meta",
P_("Actor"),
P_("The actor attached to the meta"),
CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_ACTOR, pspec);
......@@ -171,8 +171,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_string ("name",
"Name",
"The name of the meta",
P_("Name"),
P_("The name of the meta"),
NULL,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_NAME, pspec);
......@@ -185,8 +185,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_boolean ("enabled",
"Enabled",
"Whether the meta is enabled",
P_("Enabled"),
P_("Whether the meta is enabled"),
TRUE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_ENABLED, pspec);
......
This diff is collapsed.
......@@ -206,8 +206,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_object ("source",
"Source",
"The source of the alignment",
P_("Source"),
P_("The source of the alignment"),
CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT);
......@@ -221,8 +221,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_enum ("align-axis",
"Align Axis",
"The axis to align the position to",
P_("Align Axis"),
P_("The axis to align the position to"),
CLUTTER_TYPE_ALIGN_AXIS,
CLUTTER_ALIGN_X_AXIS,
CLUTTER_PARAM_READWRITE |
......@@ -242,8 +242,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_float ("factor",
"Factor",
"The alignment factor, between 0.0 and 1.0",
P_("Factor"),
P_("The alignment factor, between 0.0 and 1.0"),
0.0, 1.0,
0.0,
CLUTTER_PARAM_READWRITE |
......
......@@ -332,8 +332,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
* Since: 0.2
*/
pspec = g_param_spec_object ("timeline",
"Timeline",
"Timeline used by the alpha",
P_("Timeline"),
P_("Timeline used by the alpha"),
CLUTTER_TYPE_TIMELINE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_TIMELINE, pspec);
......@@ -348,8 +348,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
* Since: 0.2
*/
pspec = g_param_spec_double ("alpha",
"Alpha value",
"Alpha value",
P_("Alpha value"),
P_("Alpha value as computed by the alpha"),
-1.0, 2.0,
0.0,
CLUTTER_PARAM_READABLE);
......@@ -369,8 +369,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
* Since: 1.0
*/
pspec = g_param_spec_ulong ("mode",
"Mode",
"Progress mode",
P_("Mode"),
P_("Progress mode"),
0, G_MAXULONG,
CLUTTER_CUSTOM_MODE,
G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE);
......
......@@ -458,8 +458,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0
*/
pspec = g_param_spec_object ("object",
"Object",
"Object to which the animation applies",
P_("Object"),
P_("Object to which the animation applies"),
G_TYPE_OBJECT,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_OBJECT, pspec);
......@@ -474,8 +474,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0
*/
pspec = g_param_spec_ulong ("mode",
"Mode",
"The mode of the animation",
P_("Mode"),
P_("The mode of the animation"),
0, G_MAXULONG,
CLUTTER_LINEAR,
CLUTTER_PARAM_READWRITE);
......@@ -489,8 +489,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0
*/
pspec = g_param_spec_uint ("duration",
"Duration",
"Duration of the animation, in milliseconds",
P_("Duration"),
P_("Duration of the animation, in milliseconds"),
0, G_MAXUINT, 0,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_DURATION, pspec);
......@@ -503,8 +503,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0
*/
pspec = g_param_spec_boolean ("loop",
"Loop",
"Whether the animation should loop",
P_("Loop"),
P_("Whether the animation should loop"),
FALSE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_LOOP, pspec);
......@@ -517,8 +517,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0
*/
pspec = g_param_spec_object ("timeline",
"Timeline",
"The timeline used by the animation",
P_("Timeline"),
P_("The timeline used by the animation"),
CLUTTER_TYPE_TIMELINE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec);
......@@ -531,8 +531,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0
*/
pspec = g_param_spec_object ("alpha",
"Alpha",
"The alpha used by the animation",
P_("Alpha"),
P_("The alpha used by the animation"),
CLUTTER_TYPE_ALPHA,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_ALPHA, pspec);
......
......@@ -1783,8 +1783,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_uint ("duration",
"Duration",
"The duration of the animation",
P_("Duration"),
P_("The duration of the animation"),
0, G_MAXUINT,
2000,
CLUTTER_PARAM_READWRITE);
......@@ -1799,8 +1799,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_object ("timeline",
"Timeline",
"The timeline of the animation",
P_("Timeline"),
P_("The timeline of the animation"),
CLUTTER_TYPE_TIMELINE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec);
......
......@@ -167,8 +167,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass)
g_object_class_install_property (gobject_class,
PROP_DEPTH_START,
g_param_spec_int ("depth-start",
"Start Depth",
"Initial depth to apply",
P_("Start Depth"),
P_("Initial depth to apply"),
G_MININT, G_MAXINT, 0,
CLUTTER_PARAM_READWRITE));
/**
......@@ -181,8 +181,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass)
g_object_class_install_property (gobject_class,
PROP_DEPTH_END,
g_param_spec_int ("depth-end",
"End Depth",
"Final depth to apply",
P_("End Depth"),
P_("Final depth to apply"),
G_MININT, G_MAXINT, 0,
CLUTTER_PARAM_READWRITE));
}
......
......@@ -386,8 +386,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_double ("angle-start",
"Start Angle",
"Initial angle",
P_("Start Angle"),
P_("Initial angle"),
0.0, 360.0,
0.0,
CLUTTER_PARAM_READWRITE);
......@@ -401,8 +401,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_double ("angle-end",
"End Angle",
"Final angle",
P_("End Angle"),
P_("Final angle"),
0.0, 360.0,
0.0,
CLUTTER_PARAM_READWRITE);
......@@ -416,8 +416,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_double ("angle-tilt-x",
"Angle x tilt",
"Tilt of the ellipse around x axis",
P_("Angle x tilt"),
P_("Tilt of the ellipse around x axis"),
0.0, 360.0,
360.0,
CLUTTER_PARAM_READWRITE);
......@@ -431,8 +431,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_double ("angle-tilt-y",
"Angle y tilt",
"Tilt of the ellipse around y axis",
P_("Angle y tilt"),
P_("Tilt of the ellipse around y axis"),
0.0, 360.0,
360.0,
CLUTTER_PARAM_READWRITE);
......@@ -446,8 +446,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_double ("angle-tilt-z",
"Angle z tilt",
"Tilt of the ellipse around z axis",
P_("Angle z tilt"),
P_("Tilt of the ellipse around z axis"),
0.0, 360.0,
360.0,
CLUTTER_PARAM_READWRITE);
......@@ -461,8 +461,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_int ("width",
"Width",
"Width of the ellipse",
P_("Width"),
P_("Width of the ellipse"),
0, G_MAXINT,
100,
CLUTTER_PARAM_READWRITE);
......@@ -476,8 +476,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_int ("height",
"Height",
"Height of ellipse",
P_("Height"),
P_("Height of ellipse"),
0, G_MAXINT,
50,
CLUTTER_PARAM_READWRITE);
......@@ -491,8 +491,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_boxed ("center",
"Center",
"Center of ellipse",
P_("Center"),
P_("Center of ellipse"),
CLUTTER_TYPE_KNOT,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_CENTER, pspec);
......@@ -505,8 +505,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_enum ("direction",
"Direction",
"Direction of rotation",
P_("Direction"),
P_("Direction of rotation"),
CLUTTER_TYPE_ROTATE_DIRECTION,
CLUTTER_ROTATE_CW,
CLUTTER_PARAM_READWRITE);
......
......@@ -177,8 +177,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass)
* Since: 0.2
*/
pspec = g_param_spec_uint ("opacity-start",
"Opacity Start",
"Initial opacity level",
P_("Opacity Start"),
P_("Initial opacity level"),
0, 255,
0,
CLUTTER_PARAM_READWRITE);
......@@ -192,8 +192,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass)
* Since: 0.2
*/
pspec = g_param_spec_uint ("opacity-end",
"Opacity End",
"Final opacity level",
P_("Opacity End"),
P_("Final opacity level"),
0, 255,
0,
CLUTTER_PARAM_READWRITE);
......
......@@ -210,9 +210,9 @@ clutter_behaviour_path_class_init (ClutterBehaviourPathClass *klass)
gobject_class->dispose = clutter_behaviour_path_dispose;
pspec = g_param_spec_object ("path",
"Path",
"The ClutterPath object representing the path "
"to animate along",
P_("Path"),
P_("The ClutterPath object representing the path "
"to animate along"),
CLUTTER_TYPE_PATH,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_PATH, pspec);
......
......@@ -270,8 +270,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_double ("angle-start",
"Angle Begin",
"Initial angle",
P_("Angle Begin"),
P_("Initial angle"),
0.0, 360.0,
0.0,
CLUTTER_PARAM_READWRITE);
......@@ -287,8 +287,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_double ("angle-end",
"Angle End",
"Final angle",
P_("Angle End"),
P_("Final angle"),
0.0, 360.0,
0.0,
CLUTTER_PARAM_READWRITE);
......@@ -304,8 +304,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_enum ("axis",
"Axis",
"Axis of rotation",
P_("Axis"),
P_("Axis of rotation"),
CLUTTER_TYPE_ROTATE_AXIS,
CLUTTER_Z_AXIS,
CLUTTER_PARAM_READWRITE);
......@@ -321,8 +321,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_enum ("direction",
"Direction",
"Direction of rotation",
P_("Direction"),
P_("Direction of rotation"),
CLUTTER_TYPE_ROTATE_DIRECTION,
CLUTTER_ROTATE_CW,
CLUTTER_PARAM_READWRITE);
......@@ -338,8 +338,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_int ("center-x",
"Center-X",
"X center of rotation",
P_("Center X"),
P_("X coordinate of the center of rotation"),
-G_MAXINT, G_MAXINT,
0,
CLUTTER_PARAM_READWRITE);
......@@ -355,8 +355,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_int ("center-y",
"Center-Y",
"Y center of rotation",
P_("Center Y"),
P_("Y coordinate of the center of rotation"),
-G_MAXINT, G_MAXINT,
0,
CLUTTER_PARAM_READWRITE);
......@@ -372,8 +372,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4
*/
pspec = g_param_spec_int ("center-z",
"Center-Z",
"Z center of rotation",
P_("Center Z"),
P_("Z coordinate of the center of rotation"),
-G_MAXINT, G_MAXINT,
0,
CLUTTER_PARAM_READWRITE);
......
......@@ -209,8 +209,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6
*/
pspec = g_param_spec_double ("x-scale-start",
"X Start Scale",
"Initial scale on the X axis",
P_("X Start Scale"),
P_("Initial scale on the X axis"),
0.0, G_MAXDOUBLE,
1.0,
CLUTTER_PARAM_READWRITE);
......@@ -225,8 +225,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6
*/
pspec = g_param_spec_double ("x-scale-end",
"X End Scale",
"Final scale on the X axis",
P_("X End Scale"),
P_("Final scale on the X axis"),
0.0, G_MAXDOUBLE,
1.0,
CLUTTER_PARAM_READWRITE);
......@@ -241,8 +241,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6
*/
pspec = g_param_spec_double ("y-scale-start",
"Y Start Scale",
"Initial scale on the Y axis",
P_("Y Start Scale"),
P_("Initial scale on the Y axis"),
0.0, G_MAXDOUBLE,
1.0,
CLUTTER_PARAM_READWRITE);
......@@ -257,8 +257,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6
*/
pspec = g_param_spec_double ("y-scale-end",
"Y End Scale",
"Final scale on the Y axis",
P_("Y End Scale"),
P_("Final scale on the Y axis"),
0.0, G_MAXDOUBLE,
1.0,
CLUTTER_PARAM_READWRITE);
......
......@@ -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;
......
......@@ -251,9 +251,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass)
gobject_class->get_property = clutter_bin_layer_get_property;
pspec = g_param_spec_enum ("x-align",
"Horizontal Alignment",
"Horizontal alignment for the actor "
"inside the layer",
P_("Horizontal Alignment"),
P_("Horizontal alignment for the actor "
"inside the layer"),
CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE);
......@@ -262,9 +262,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass)
pspec);
pspec = g_param_spec_enum ("y-align",
"Vertical Alignment",
"Vertical alignment for the actor "
"inside the layer manager",
P_("Vertical Alignment"),
P_("Vertical alignment for the actor "
"inside the layer manager"),
CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE);
......@@ -640,9 +640,9 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_enum ("x-align",
"Horizontal Alignment",
"Default horizontal alignment for the actors "
"inside the layout manager",
P_("Horizontal Alignment"),
P_("Default horizontal alignment for the actors "
"inside the layout manager"),
CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE);
......@@ -657,9 +657,9 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_enum ("y-align",
"Vertical Alignment",
"Default vertical alignment for the actors "
"inside the layout manager",
P_("Vertical Alignment"),
P_("Default vertical alignment for the actors "
"inside the layout manager"),
CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE);
......
......@@ -266,8 +266,8 @@ clutter_bind_constraint_class_init (ClutterBindConstraintClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_object ("source",
"Source",
"The source of the binding",
P_("Source"),
P_("The source of the binding"),
CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT);
......@@ -281,8 +281,8 @@ clutter_bind_constraint_class_init (ClutterBindConstraintClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_enum ("coordinate",
"Coordinate",
"The coordinate to bind",
P_("Coordinate"),
P_("The coordinate to bind"),
CLUTTER_TYPE_BIND_COORDINATE,
CLUTTER_BIND_X,
CLUTTER_PARAM_READWRITE |
......@@ -297,8 +297,8 @@ clutter_bind_constraint_class_init (ClutterBindConstraintClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_float ("offset",
"Offset",
"The offset in pixels to apply to the binding",
P_("Offset"),
P_("The offset in pixels to apply to the binding"),
-G_MAXFLOAT, G_MAXFLOAT,
0.0f,
CLUTTER_PARAM_READWRITE |
......
......@@ -313,8 +313,8 @@ clutter_binding_pool_class_init (ClutterBindingPoolClass *klass)
* Since: 1.0
*/
pspec = g_param_spec_string ("name",
"Name",
"The unique name of the binding pool",
P_("Name"),
P_("The unique name of the binding pool"),
NULL,
CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY);
......
......@@ -381,43 +381,43 @@ clutter_box_child_class_init (ClutterBoxChildClass *klass)
gobject_class->finalize = clutter_box_child_finalize;
pspec = g_param_spec_boolean ("expand",
"Expand",
"Allocate extra space for the child",
P_("Expand"),
P_("Allocate extra space for the child"),
FALSE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CHILD_EXPAND, pspec);
pspec = g_param_spec_boolean ("x-fill",
"Horizontal Fill",
"Whether the child should receive priority "
"when the container is allocating spare space "
"on the horizontal axis",
P_("Horizontal Fill"),
P_("Whether the child should receive priority "
"when the container is allocating spare space "
"on the horizontal axis"),
FALSE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CHILD_X_FILL, pspec);
pspec = g_param_spec_boolean ("y-fill",
"Vertical Fill",
"Whether the child should receive priority "
"when the container is allocating spare space "
"on the vertical axis",
P_("Vertical Fill"),
P_("Whether the child should receive priority "
"when the container is allocating spare space "
"on the vertical axis"),
FALSE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CHILD_Y_FILL, pspec);
pspec = g_param_spec_enum ("x-align",
"Horizontal Alignment",
"Horizontal alignment of the actor within "
"the cell",
P_("Horizontal Alignment"),
P_("Horizontal alignment of the actor within "
"the cell"),
CLUTTER_TYPE_BOX_ALIGNMENT,
CLUTTER_BOX_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CHILD_X_ALIGN, pspec);
pspec = g_param_spec_enum ("y-align",
"Vertical Alignment",
"Vertical alignment of the actor within "
"the cell",
P_("Vertical Alignment"),
P_("Vertical alignment of the actor within "
"the cell"),
CLUTTER_TYPE_BOX_ALIGNMENT,
CLUTTER_BOX_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE);
......@@ -1160,9 +1160,9 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_boolean ("vertical",
"Vertical",
"Whether the layout should be vertical, rather"
"than horizontal",
P_("Vertical"),
P_("Whether the layout should be vertical, rather"
"than horizontal"),
FALSE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_VERTICAL, pspec);
......@@ -1176,9 +1176,9 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.4
*/
pspec = g_param_spec_boolean ("homogeneous",
"Homogeneous",
"Whether the layout should be homogeneous, i.e."
"all childs get the same size",
P_("Homogeneous"),
P_("Whether the layout should be homogeneous, i.e."
"all childs get the same size"),
FALSE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_HOMOGENEOUS, pspec);
......@@ -1192,8 +1192,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_boolean ("pack-start",
"Pack Start",
"Whether to pack items at the start of the box",
P_("Pack Start"),
P_("Whether to pack items at the start of the box"),
FALSE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_PACK_START, pspec);
......@@ -1206,8 +1206,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_uint ("spacing",
"Spacing",
"Spacing between children",
P_("Spacing"),
P_("Spacing between children"),
0, G_MAXUINT, 0,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_SPACING, pspec);
......@@ -1221,8 +1221,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_boolean ("use-animations",
"Use Animations",
"Whether layout changes should be animated",
P_("Use Animations"),
P_("Whether layout changes should be animated"),
FALSE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_USE_ANIMATIONS, pspec);
......@@ -1243,8 +1243,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_ulong ("easing-mode",
"Easing Mode",
"The easing mode of the animations",
P_("Easing Mode"),
P_("The easing mode of the animations"),
0, G_MAXULONG,
CLUTTER_EASE_OUT_CUBIC,
CLUTTER_PARAM_READWRITE);
......@@ -1261,8 +1261,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2
*/
pspec = g_param_spec_uint ("easing-duration",
"Easing Duration",
"The duration of the animations",
P_("Easing Duration"),
P_("The duration of the animations"),
0, G_MAXUINT,
500,