summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-01-16 23:10:05 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-01-16 23:10:05 +0000
commit07d4d314b6e45daeb1bd22538aa7f057bcd37a65 (patch)
treea0d4c6086726f6a2428c08d70b5f10517bf11434 /gtk
parentfb526d239af04183f5751f209c269d13b244de80 (diff)
downloadgtk+-07d4d314b6e45daeb1bd22538aa7f057bcd37a65.tar.gz
The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and
Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkaccellabel.c8
-rw-r--r--gtk/gtkaction.c48
-rw-r--r--gtk/gtkactiongroup.c12
-rw-r--r--gtk/gtkalignment.c32
-rw-r--r--gtk/gtkarrow.c8
-rw-r--r--gtk/gtkaspectframe.c16
-rw-r--r--gtk/gtkbbox.c24
-rw-r--r--gtk/gtkbox.c28
-rw-r--r--gtk/gtkbutton.c44
-rw-r--r--gtk/gtkcalendar.c28
-rw-r--r--gtk/gtkcellrenderer.c52
-rw-r--r--gtk/gtkcellrendererpixbuf.c24
-rw-r--r--gtk/gtkcellrenderertext.c148
-rw-r--r--gtk/gtkcellrenderertoggle.c16
-rw-r--r--gtk/gtkcellview.c12
-rw-r--r--gtk/gtkcheckbutton.c8
-rw-r--r--gtk/gtkcheckmenuitem.c12
-rw-r--r--gtk/gtkcolorbutton.c16
-rw-r--r--gtk/gtkcolorsel.c20
-rw-r--r--gtk/gtkcombo.c20
-rw-r--r--gtk/gtkcombobox.c24
-rw-r--r--gtk/gtkcomboboxentry.c4
-rw-r--r--gtk/gtkcontainer.c12
-rw-r--r--gtk/gtkcurve.c20
-rw-r--r--gtk/gtkdialog.c16
-rw-r--r--gtk/gtkentry.c48
-rw-r--r--gtk/gtkentrycompletion.c8
-rw-r--r--gtk/gtkeventbox.c8
-rw-r--r--gtk/gtkexpander.c32
-rw-r--r--gtk/gtkfilechooser.c40
-rw-r--r--gtk/gtkfilesel.c12
-rw-r--r--gtk/gtkfixed.c8
-rw-r--r--gtk/gtkfontbutton.c26
-rw-r--r--gtk/gtkfontsel.c12
-rw-r--r--gtk/gtkframe.c22
-rw-r--r--gtk/gtkhandlebox.c18
-rw-r--r--gtk/gtkimage.c40
-rw-r--r--gtk/gtkimagemenuitem.c4
-rw-r--r--gtk/gtkintl.h2
-rw-r--r--gtk/gtkinvisible.c4
-rw-r--r--gtk/gtklabel.c48
-rw-r--r--gtk/gtklayout.c24
-rw-r--r--gtk/gtkmenu.c44
-rw-r--r--gtk/gtkmenubar.c12
-rw-r--r--gtk/gtkmessagedialog.c12
-rw-r--r--gtk/gtkmisc.c16
-rw-r--r--gtk/gtknotebook.c80
-rw-r--r--gtk/gtkoptionmenu.c12
-rw-r--r--gtk/gtkpaned.c28
-rw-r--r--gtk/gtkpreview.c4
-rw-r--r--gtk/gtkprogress.c16
-rw-r--r--gtk/gtkprogressbar.c36
-rw-r--r--gtk/gtkradioaction.c8
-rw-r--r--gtk/gtkradiobutton.c4
-rw-r--r--gtk/gtkrange.c36
-rw-r--r--gtk/gtkruler.c16
-rw-r--r--gtk/gtkscale.c20
-rw-r--r--gtk/gtkscrollbar.c24
-rw-r--r--gtk/gtkscrolledwindow.c28
-rw-r--r--gtk/gtkseparatortoolitem.c4
-rw-r--r--gtk/gtksettings.c48
-rw-r--r--gtk/gtksizegroup.c4
-rw-r--r--gtk/gtkspinbutton.c34
-rw-r--r--gtk/gtkstatusbar.c8
-rw-r--r--gtk/gtktable.c52
-rw-r--r--gtk/gtktext.c16
-rw-r--r--gtk/gtktextbuffer.c4
-rw-r--r--gtk/gtktexttag.c244
-rw-r--r--gtk/gtktextview.c56
-rw-r--r--gtk/gtktoggleaction.c4
-rw-r--r--gtk/gtktogglebutton.c12
-rw-r--r--gtk/gtktoolbar.c48
-rw-r--r--gtk/gtktoolbutton.c20
-rw-r--r--gtk/gtktoolitem.c12
-rw-r--r--gtk/gtktreemodelsort.c4
-rw-r--r--gtk/gtktreeview.c72
-rw-r--r--gtk/gtktreeviewcolumn.c60
-rw-r--r--gtk/gtkuimanager.c8
-rw-r--r--gtk/gtkviewport.c12
-rw-r--r--gtk/gtkwidget.c100
-rw-r--r--gtk/gtkwindow.c84
81 files changed, 1156 insertions, 1154 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index 232a5b4711..5af947a45d 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -134,15 +134,15 @@ gtk_accel_label_class_init (GtkAccelLabelClass *class)
g_object_class_install_property (gobject_class,
PROP_ACCEL_CLOSURE,
g_param_spec_boxed ("accel_closure",
- _("Accelerator Closure"),
- _("The closure to be monitored for accelerator changes"),
+ P_("Accelerator Closure"),
+ P_("The closure to be monitored for accelerator changes"),
G_TYPE_CLOSURE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_ACCEL_WIDGET,
g_param_spec_object ("accel_widget",
- _("Accelerator Widget"),
- _("The widget to be monitored for accelerator changes"),
+ P_("Accelerator Widget"),
+ P_("The widget to be monitored for accelerator changes"),
GTK_TYPE_WIDGET,
G_PARAM_READABLE | G_PARAM_WRITABLE));
}
diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c
index bb94df689a..e54e3ba87e 100644
--- a/gtk/gtkaction.c
+++ b/gtk/gtkaction.c
@@ -190,86 +190,86 @@ gtk_action_class_init (GtkActionClass *klass)
g_object_class_install_property (gobject_class,
PROP_NAME,
g_param_spec_string ("name",
- _("Name"),
- _("A unique name for the action."),
+ P_("Name"),
+ P_("A unique name for the action."),
NULL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (gobject_class,
PROP_LABEL,
g_param_spec_string ("label",
- _("Label"),
- _("The label used for menu items and buttons that activate this action."),
+ P_("Label"),
+ P_("The label used for menu items and buttons that activate this action."),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SHORT_LABEL,
g_param_spec_string ("short_label",
- _("Short label"),
- _("A shorter label that may be used on toolbar buttons."),
+ P_("Short label"),
+ P_("A shorter label that may be used on toolbar buttons."),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_TOOLTIP,
g_param_spec_string ("tooltip",
- _("Tooltip"),
- _("A tooltip for this action."),
+ P_("Tooltip"),
+ P_("A tooltip for this action."),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_STOCK_ID,
g_param_spec_string ("stock_id",
- _("Stock Icon"),
- _("The stock icon displayed in widgets representing this action."),
+ P_("Stock Icon"),
+ P_("The stock icon displayed in widgets representing this action."),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_VISIBLE_HORIZONTAL,
g_param_spec_boolean ("visible_horizontal",
- _("Visible when horizontal"),
- _("Whether the toolbar item is visible when the toolbar is in a horizontal orientation."),
+ P_("Visible when horizontal"),
+ P_("Whether the toolbar item is visible when the toolbar is in a horizontal orientation."),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_VISIBLE_VERTICAL,
g_param_spec_boolean ("visible_vertical",
- _("Visible when vertical"),
- _("Whether the toolbar item is visible when the toolbar is in a vertical orientation."),
+ P_("Visible when vertical"),
+ P_("Whether the toolbar item is visible when the toolbar is in a vertical orientation."),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_IS_IMPORTANT,
g_param_spec_boolean ("is_important",
- _("Is important"),
- _("Whether the action is considered important. When TRUE, toolitem proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode."),
+ P_("Is important"),
+ P_("Whether the action is considered important. When TRUE, toolitem proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode."),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_HIDE_IF_EMPTY,
g_param_spec_boolean ("hide_if_empty",
- _("Hide if empty"),
- _("When TRUE, empty menu proxies for this action are hidden."),
+ P_("Hide if empty"),
+ P_("When TRUE, empty menu proxies for this action are hidden."),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SENSITIVE,
g_param_spec_boolean ("sensitive",
- _("Sensitive"),
- _("Whether the action is enabled."),
+ P_("Sensitive"),
+ P_("Whether the action is enabled."),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_VISIBLE,
g_param_spec_boolean ("visible",
- _("Visible"),
- _("Whether the action is visible."),
+ P_("Visible"),
+ P_("Whether the action is visible."),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ACTION_GROUP,
g_param_spec_object ("action_group",
- _("Action Group"),
- _("The GtkActionGroup this GtkAction is associated with, or NULL (for internal use)."),
+ P_("Action Group"),
+ P_("The GtkActionGroup this GtkAction is associated with, or NULL (for internal use)."),
GTK_TYPE_ACTION_GROUP,
G_PARAM_READWRITE));
diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c
index 8a3c2974db..1b383245a2 100644
--- a/gtk/gtkactiongroup.c
+++ b/gtk/gtkactiongroup.c
@@ -130,23 +130,23 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
g_object_class_install_property (gobject_class,
PROP_NAME,
g_param_spec_string ("name",
- _("Name"),
- _("A name for the action group."),
+ P_("Name"),
+ P_("A name for the action group."),
NULL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
g_object_class_install_property (gobject_class,
PROP_SENSITIVE,
g_param_spec_boolean ("sensitive",
- _("Sensitive"),
- _("Whether the action group is enabled."),
+ P_("Sensitive"),
+ P_("Whether the action group is enabled."),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_VISIBLE,
g_param_spec_boolean ("visible",
- _("Visible"),
- _("Whether the action group is visible."),
+ P_("Visible"),
+ P_("Whether the action group is visible."),
TRUE,
G_PARAM_READWRITE));
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index 785fb32c6e..ab38f6d288 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -113,8 +113,8 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
g_object_class_install_property (gobject_class,
PROP_XALIGN,
g_param_spec_float("xalign",
- _("Horizontal alignment"),
- _("Horizontal position of child in available space. 0.0 is left aligned, 1.0 is right aligned"),
+ P_("Horizontal alignment"),
+ P_("Horizontal position of child in available space. 0.0 is left aligned, 1.0 is right aligned"),
0.0,
1.0,
0.5,
@@ -123,8 +123,8 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
g_object_class_install_property (gobject_class,
PROP_YALIGN,
g_param_spec_float("yalign",
- _("Vertical alignment"),
- _("Vertical position of child in available space. 0.0 is top aligned, 1.0 is bottom aligned"),
+ P_("Vertical alignment"),
+ P_("Vertical position of child in available space. 0.0 is top aligned, 1.0 is bottom aligned"),
0.0,
1.0,
0.5,
@@ -132,8 +132,8 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
g_object_class_install_property (gobject_class,
PROP_XSCALE,
g_param_spec_float("xscale",
- _("Horizontal scale"),
- _("If available horizontal space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all"),
+ P_("Horizontal scale"),
+ P_("If available horizontal space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all"),
0.0,
1.0,
1.0,
@@ -141,8 +141,8 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
g_object_class_install_property (gobject_class,
PROP_YSCALE,
g_param_spec_float("yscale",
- _("Vertical scale"),
- _("If available vertical space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all"),
+ P_("Vertical scale"),
+ P_("If available vertical space is bigger than needed for the child, how much of it to use for the child. 0.0 means none, 1.0 means all"),
0.0,
1.0,
1.0,
@@ -159,8 +159,8 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
g_object_class_install_property (gobject_class,
PROP_PADDING_TOP,
g_param_spec_uint("top_padding",
- _("Top Padding"),
- _("The padding to insert at the top of the widget."),
+ P_("Top Padding"),
+ P_("The padding to insert at the top of the widget."),
0,
G_MAXINT,
0,
@@ -176,8 +176,8 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
g_object_class_install_property (gobject_class,
PROP_PADDING_BOTTOM,
g_param_spec_uint("bottom_padding",
- _("Bottom Padding"),
- _("The padding to insert at the bottom of the widget."),
+ P_("Bottom Padding"),
+ P_("The padding to insert at the bottom of the widget."),
0,
G_MAXINT,
0,
@@ -193,8 +193,8 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
g_object_class_install_property (gobject_class,
PROP_PADDING_LEFT,
g_param_spec_uint("left_padding",
- _("Left Padding"),
- _("The padding to insert at the left of the widget."),
+ P_("Left Padding"),
+ P_("The padding to insert at the left of the widget."),
0,
G_MAXINT,
0,
@@ -210,8 +210,8 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
g_object_class_install_property (gobject_class,
PROP_PADDING_RIGHT,
g_param_spec_uint("right_padding",
- _("Right Padding"),
- _("The padding to insert at the right of the widget."),
+ P_("Right Padding"),
+ P_("The padding to insert at the right of the widget."),
0,
G_MAXINT,
0,
diff --git a/gtk/gtkarrow.c b/gtk/gtkarrow.c
index cbf598098b..c59657a9a4 100644
--- a/gtk/gtkarrow.c
+++ b/gtk/gtkarrow.c
@@ -95,16 +95,16 @@ gtk_arrow_class_init (GtkArrowClass *class)
g_object_class_install_property (gobject_class,
PROP_ARROW_TYPE,
g_param_spec_enum ("arrow_type",
- _("Arrow direction"),
- _("The direction the arrow should point"),
+ P_("Arrow direction"),
+ P_("The direction the arrow should point"),
GTK_TYPE_ARROW_TYPE,
GTK_ARROW_RIGHT,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_SHADOW_TYPE,
g_param_spec_enum ("shadow_type",
- _("Arrow shadow"),
- _("Appearance of the shadow surrounding the arrow"),
+ P_("Arrow shadow"),
+ P_("Appearance of the shadow surrounding the arrow"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_OUT,
G_PARAM_READABLE | G_PARAM_WRITABLE));
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c
index 7776c76c33..78fd84e6e1 100644
--- a/gtk/gtkaspectframe.c
+++ b/gtk/gtkaspectframe.c
@@ -105,29 +105,29 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
g_object_class_install_property (gobject_class,
PROP_XALIGN,
g_param_spec_float ("xalign",
- _("Horizontal Alignment"),
- _("X alignment of the child"),
+ P_("Horizontal Alignment"),
+ P_("X alignment of the child"),
0.0, 1.0, 0.5,
G_PARAM_READABLE | G_PARAM_WRITABLE ));
g_object_class_install_property (gobject_class,
PROP_YALIGN,
g_param_spec_float ("yalign",
- _("Vertical Alignment"),
- _("Y alignment of the child"),
+ P_("Vertical Alignment"),
+ P_("Y alignment of the child"),
0.0, 1.0, 0.5,
G_PARAM_READABLE | G_PARAM_WRITABLE ));
g_object_class_install_property (gobject_class,
PROP_RATIO,
g_param_spec_float ("ratio",
- _("Ratio"),
- _("Aspect ratio if obey_child is FALSE"),
+ P_("Ratio"),
+ P_("Aspect ratio if obey_child is FALSE"),
MIN_RATIO, MAX_RATIO, 0.5,
G_PARAM_READABLE | G_PARAM_WRITABLE ));
g_object_class_install_property (gobject_class,
PROP_OBEY_CHILD,
g_param_spec_boolean ("obey_child",
- _("Obey child"),
- _("Force aspect ratio to match that of the frame's child"),
+ P_("Obey child"),
+ P_("Force aspect ratio to match that of the frame's child"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
}
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c
index e23b75ef76..472ff136e5 100644
--- a/gtk/gtkbbox.c
+++ b/gtk/gtkbbox.c
@@ -116,8 +116,8 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_min_width",
- _("Minimum child width"),
- _("Minimum width of buttons inside the box"),
+ P_("Minimum child width"),
+ P_("Minimum width of buttons inside the box"),
0,
G_MAXINT,
DEFAULT_CHILD_MIN_WIDTH,
@@ -125,8 +125,8 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_min_height",
- _("Minimum child height"),
- _("Minimum height of buttons inside the box"),
+ P_("Minimum child height"),
+ P_("Minimum height of buttons inside the box"),
0,
G_MAXINT,
DEFAULT_CHILD_MIN_HEIGHT,
@@ -134,8 +134,8 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_internal_pad_x",
- _("Child internal width padding"),
- _("Amount to increase child's size on either side"),
+ P_("Child internal width padding"),
+ P_("Amount to increase child's size on either side"),
0,
G_MAXINT,
DEFAULT_CHILD_IPAD_X,
@@ -143,8 +143,8 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_internal_pad_y",
- _("Child internal height padding"),
- _("Amount to increase child's size on the top and bottom"),
+ P_("Child internal height padding"),
+ P_("Amount to increase child's size on the top and bottom"),
0,
G_MAXINT,
DEFAULT_CHILD_IPAD_Y,
@@ -152,8 +152,8 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
g_object_class_install_property (gobject_class,
PROP_LAYOUT_STYLE,
g_param_spec_enum ("layout_style",
- _("Layout style"),
- _("How to layout the buttons in the box. Possible values are default, spread, edge, start and end"),
+ P_("Layout style"),
+ P_("How to layout the buttons in the box. Possible values are default, spread, edge, start and end"),
GTK_TYPE_BUTTON_BOX_STYLE,
GTK_BUTTONBOX_DEFAULT_STYLE,
G_PARAM_READWRITE));
@@ -161,8 +161,8 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_SECONDARY,
g_param_spec_boolean ("secondary",
- _("Secondary"),
- _("If TRUE, the child appears in a secondary group of children, suitable for, e.g., help buttons"),
+ P_("Secondary"),
+ P_("If TRUE, the child appears in a secondary group of children, suitable for, e.g., help buttons"),
FALSE,
G_PARAM_READWRITE));
}
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 4604f45743..87fb1b7942 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -125,8 +125,8 @@ gtk_box_class_init (GtkBoxClass *class)
g_object_class_install_property (gobject_class,
PROP_SPACING,
g_param_spec_int ("spacing",
- _("Spacing"),
- _("The amount of space between children"),
+ P_("Spacing"),
+ P_("The amount of space between children"),
0,
G_MAXINT,
0,
@@ -135,44 +135,44 @@ gtk_box_class_init (GtkBoxClass *class)
g_object_class_install_property (gobject_class,
PROP_HOMOGENEOUS,
g_param_spec_boolean ("homogeneous",
- _("Homogeneous"),
- _("Whether the children should all be the same size"),
+ P_("Homogeneous"),
+ P_("Whether the children should all be the same size"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_EXPAND,
g_param_spec_boolean ("expand",
- _("Expand"),
- _("Whether the child should receive extra space when the parent grows"),
+ P_("Expand"),
+ P_("Whether the child should receive extra space when the parent grows"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_FILL,
g_param_spec_boolean ("fill",
- _("Fill"),
- _("Whether extra space given to the child should be allocated to the child or used as padding"),
+ P_("Fill"),
+ P_("Whether extra space given to the child should be allocated to the child or used as padding"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_PADDING,
g_param_spec_uint ("padding",
- _("Padding"),
- _("Extra space to put between the child and its neighbors, in pixels"),
+ P_("Padding"),
+ P_("Extra space to put between the child and its neighbors, in pixels"),
0, G_MAXINT, 0,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_PACK_TYPE,
g_param_spec_enum ("pack_type",
- _("Pack type"),
- _("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
+ P_("Pack type"),
+ P_("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
GTK_TYPE_PACK_TYPE, GTK_PACK_START,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_POSITION,
g_param_spec_int ("position",
- _("Position"),
- _("The index of the child in the parent"),
+ P_("Position"),
+ P_("The index of the child in the parent"),
-1, G_MAXINT, 0,
G_PARAM_READWRITE));
}
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index d543e36088..89725ce473 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -200,40 +200,40 @@ gtk_button_class_init (GtkButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_LABEL,
g_param_spec_string ("label",
- _("Label"),
- _("Text of the label widget inside the button, if the button contains a label widget"),
+ P_("Label"),
+ P_("Text of the label widget inside the button, if the button contains a label widget"),
NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_USE_UNDERLINE,
g_param_spec_boolean ("use_underline",
- _("Use underline"),
- _("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
+ P_("Use underline"),
+ P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_USE_STOCK,
g_param_spec_boolean ("use_stock",
- _("Use stock"),
- _("If set, the label is used to pick a stock item instead of being displayed"),
+ P_("Use stock"),
+ P_("If set, the label is used to pick a stock item instead of being displayed"),
FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_FOCUS_ON_CLICK,
g_param_spec_boolean ("focus_on_click",
- _("Focus on click"),
- _("Whether the button grabs focus when it is clicked with the mouse"),
+ P_("Focus on click"),
+ P_("Whether the button grabs focus when it is clicked with the mouse"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_RELIEF,
g_param_spec_enum ("relief",
- _("Border relief"),
- _("The border relief style"),
+ P_("Border relief"),
+ P_("The border relief style"),
GTK_TYPE_RELIEF_STYLE,
GTK_RELIEF_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -250,8 +250,8 @@ gtk_button_class_init (GtkButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_XALIGN,
g_param_spec_float("xalign",
- _("Horizontal alignment for child"),
- _("Horizontal position of child in available space. 0.0 is left aligned, 1.0 is right aligned"),
+ P_("Horizontal alignment for child"),
+ P_("Horizontal position of child in available space. 0.0 is left aligned, 1.0 is right aligned"),
0.0,
1.0,
0.5,
@@ -269,8 +269,8 @@ gtk_button_class_init (GtkButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_YALIGN,
g_param_spec_float("yalign",
- _("Vertical alignment for child"),
- _("Vertical position of child in available space. 0.0 is top aligned, 1.0 is bottom aligned"),
+ P_("Vertical alignment for child"),
+ P_("Vertical position of child in available space. 0.0 is top aligned, 1.0 is bottom aligned"),
0.0,
1.0,
0.5,
@@ -337,29 +337,29 @@ gtk_button_class_init (GtkButtonClass *klass)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("default_border",
- _("Default Spacing"),
- _("Extra space to add for CAN_DEFAULT buttons"),
+ P_("Default Spacing"),
+ P_("Extra space to add for CAN_DEFAULT buttons"),
GTK_TYPE_BORDER,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("default_outside_border",
- _("Default Outside Spacing"),
- _("Extra space to add for CAN_DEFAULT buttons that is always drawn outside the border"),
+ P_("Default Outside Spacing"),
+ P_("Extra space to add for CAN_DEFAULT buttons that is always drawn outside the border"),
GTK_TYPE_BORDER,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_displacement_x",
- _("Child X Displacement"),
- _("How far in the x direction to move the child when the button is depressed"),
+ P_("Child X Displacement"),
+ P_("How far in the x direction to move the child when the button is depressed"),
G_MININT,
G_MAXINT,
0,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("child_displacement_y",
- _("Child Y Displacement"),
- _("How far in the y direction to move the child when the button is depressed"),
+ P_("Child Y Displacement"),
+ P_("How far in the y direction to move the child when the button is depressed"),
G_MININT,
G_MAXINT,
0,
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index dd889efc66..ea4443d6a8 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -461,22 +461,22 @@ gtk_calendar_class_init (GtkCalendarClass *class)
g_object_class_install_property (gobject_class,
PROP_YEAR,
g_param_spec_int ("year",
- _("Year"),
- _("The selected year"),
+ P_("Year"),
+ P_("The selected year"),
0, G_MAXINT, 0,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_MONTH,
g_param_spec_int ("month",
- _("Month"),
- _("The selected month (as a number between 0 and 11)"),
+ P_("Month"),
+ P_("The selected month (as a number between 0 and 11)"),
0, 11, 0,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_DAY,
g_param_spec_int ("day",
- _("Day"),
- _("The selected day (as a number between 1 and 31, or 0 to unselect the currently selected day)"),
+ P_("Day"),
+ P_("The selected day (as a number between 1 and 31, or 0 to unselect the currently selected day)"),
0, 31, 0,
G_PARAM_READWRITE));
@@ -490,8 +490,8 @@ gtk_calendar_class_init (GtkCalendarClass *class)
g_object_class_install_property (gobject_class,
PROP_SHOW_HEADING,
g_param_spec_boolean ("show_heading",
- _("Show Heading"),
- _("If TRUE, a heading is displayed"),
+ P_("Show Heading"),
+ P_("If TRUE, a heading is displayed"),
TRUE,
G_PARAM_READWRITE));
@@ -505,8 +505,8 @@ gtk_calendar_class_init (GtkCalendarClass *class)
g_object_class_install_property (gobject_class,
PROP_SHOW_DAY_NAMES,
g_param_spec_boolean ("show_day_names",
- _("Show Day Names"),
- _("If TRUE, day names are displayed"),
+ P_("Show Day Names"),
+ P_("If TRUE, day names are displayed"),
TRUE,
G_PARAM_READWRITE));
/**
@@ -519,8 +519,8 @@ gtk_calendar_class_init (GtkCalendarClass *class)
g_object_class_install_property (gobject_class,
PROP_NO_MONTH_CHANGE,
g_param_spec_boolean ("no_month_change",
- _("No Month Change"),
- _("If TRUE, the selected month can not be changed"),
+ P_("No Month Change"),
+ P_("If TRUE, the selected month can not be changed"),
FALSE,
G_PARAM_READWRITE));
@@ -534,8 +534,8 @@ gtk_calendar_class_init (GtkCalendarClass *class)
g_object_class_install_property (gobject_class,
PROP_SHOW_WEEK_NUMBERS,
g_param_spec_boolean ("show_week_numbers",
- _("Show Week Numbers"),
- _("If TRUE, week numbers are displayed"),
+ P_("Show Week Numbers"),
+ P_("If TRUE, week numbers are displayed"),
FALSE,
G_PARAM_READWRITE));
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index c19ee74976..dd721233a3 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -147,8 +147,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_MODE,
g_param_spec_enum ("mode",
- _("mode"),
- _("Editable mode of the CellRenderer"),
+ P_("mode"),
+ P_("Editable mode of the CellRenderer"),
GTK_TYPE_CELL_RENDERER_MODE,
GTK_CELL_RENDERER_MODE_INERT,
G_PARAM_READABLE |
@@ -157,8 +157,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_VISIBLE,
g_param_spec_boolean ("visible",
- _("visible"),
- _("Display the cell"),
+ P_("visible"),
+ P_("Display the cell"),
TRUE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -166,8 +166,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_XALIGN,
g_param_spec_float ("xalign",
- _("xalign"),
- _("The x-align"),
+ P_("xalign"),
+ P_("The x-align"),
0.0,
1.0,
0.0,
@@ -177,8 +177,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_YALIGN,
g_param_spec_float ("yalign",
- _("yalign"),
- _("The y-align"),
+ P_("yalign"),
+ P_("The y-align"),
0.0,
1.0,
0.5,
@@ -188,8 +188,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_XPAD,
g_param_spec_uint ("xpad",
- _("xpad"),
- _("The xpad"),
+ P_("xpad"),
+ P_("The xpad"),
0,
100,
2,
@@ -199,8 +199,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_YPAD,
g_param_spec_uint ("ypad",
- _("ypad"),
- _("The ypad"),
+ P_("ypad"),
+ P_("The ypad"),
0,
100,
2,
@@ -210,8 +210,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_WIDTH,
g_param_spec_int ("width",
- _("width"),
- _("The fixed width"),
+ P_("width"),
+ P_("The fixed width"),
-1,
100,
-1,
@@ -221,8 +221,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_HEIGHT,
g_param_spec_int ("height",
- _("height"),
- _("The fixed height"),
+ P_("height"),
+ P_("The fixed height"),
-1,
100,
-1,
@@ -232,8 +232,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_IS_EXPANDER,
g_param_spec_boolean ("is_expander",
- _("Is Expander"),
- _("Row has children"),
+ P_("Is Expander"),
+ P_("Row has children"),
FALSE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -242,8 +242,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_IS_EXPANDED,
g_param_spec_boolean ("is_expanded",
- _("Is Expanded"),
- _("Row is an expander row, and is expanded"),
+ P_("Is Expanded"),
+ P_("Row is an expander row, and is expanded"),
FALSE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -251,16 +251,16 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_CELL_BACKGROUND,
g_param_spec_string ("cell_background",
- _("Cell background color name"),
- _("Cell background color as a string"),
+ P_("Cell background color name"),
+ P_("Cell background color as a string"),
NULL,
G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_CELL_BACKGROUND_GDK,
g_param_spec_boxed ("cell_background_gdk",
- _("Cell background color"),
- _("Cell background color as a GdkColor"),
+ P_("Cell background color"),
+ P_("Cell background color as a GdkColor"),
GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -268,8 +268,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
#define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (object_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE))
ADD_SET_PROP ("cell_background_set", PROP_CELL_BACKGROUND_SET,
- _("Cell background set"),
- _("Whether this tag affects the cell background color"));
+ P_("Cell background set"),
+ P_("Whether this tag affects the cell background color"));
g_type_class_add_private (object_class, sizeof (GtkCellRendererPrivate));
}
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index dd6e183a87..64da59d583 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -130,8 +130,8 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class,
PROP_PIXBUF,
g_param_spec_object ("pixbuf",
- _("Pixbuf Object"),
- _("The pixbuf to render"),
+ P_("Pixbuf Object"),
+ P_("The pixbuf to render"),
GDK_TYPE_PIXBUF,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -139,8 +139,8 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class,
PROP_PIXBUF_EXPANDER_OPEN,
g_param_spec_object ("pixbuf_expander_open",
- _("Pixbuf Expander Open"),
- _("Pixbuf for open expander"),
+ P_("Pixbuf Expander Open"),
+ P_("Pixbuf for open expander"),
GDK_TYPE_PIXBUF,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -148,8 +148,8 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class,
PROP_PIXBUF_EXPANDER_CLOSED,
g_param_spec_object ("pixbuf_expander_closed",
- _("Pixbuf Expander Closed"),
- _("Pixbuf for closed expander"),
+ P_("Pixbuf Expander Closed"),
+ P_("Pixbuf for closed expander"),
GDK_TYPE_PIXBUF,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -157,16 +157,16 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class,
PROP_STOCK_ID,
g_param_spec_string ("stock_id",
- _("Stock ID"),
- _("The stock ID of the stock icon to render"),
+ P_("Stock ID"),
+ P_("The stock ID of the stock icon to render"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_STOCK_SIZE,
g_param_spec_enum ("stock_size",
- _("Size"),
- _("The size of the rendered icon"),
+ P_("Size"),
+ P_("The size of the rendered icon"),
GTK_TYPE_ICON_SIZE,
GTK_ICON_SIZE_MENU,
G_PARAM_READWRITE));
@@ -174,8 +174,8 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
g_object_class_install_property (object_class,
PROP_STOCK_DETAIL,
g_param_spec_string ("stock_detail",
- _("Detail"),
- _("Render detail to pass to the theme engine"),
+ P_("Detail"),
+ P_("Render detail to pass to the theme engine"),
NULL,
G_PARAM_READWRITE));
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index f03f6e45ce..8adae8a28f 100644
--- a/gtk/gtkcellrenderertext.c
+++ b/gtk/gtkcellrenderertext.c
@@ -189,32 +189,32 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_TEXT,
g_param_spec_string ("text",
- _("Text"),
- _("Text to render"),
+ P_("Text"),
+ P_("Text to render"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_MARKUP,
g_param_spec_string ("markup",
- _("Markup"),
- _("Marked up text to render"),
+ P_("Markup"),
+ P_("Marked up text to render"),
NULL,
G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_ATTRIBUTES,
g_param_spec_boxed ("attributes",
- _("Attributes"),
- _("A list of style attributes to apply to the text of the renderer"),
+ P_("Attributes"),
+ P_("A list of style attributes to apply to the text of the renderer"),
PANGO_TYPE_ATTR_LIST,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_SINGLE_PARAGRAPH_MODE,
g_param_spec_boolean ("single_paragraph_mode",
- _("Single Paragraph Mode"),
- _("Whether or not to keep all text in a single paragraph"),
+ P_("Single Paragraph Mode"),
+ P_("Whether or not to keep all text in a single paragraph"),
FALSE,
G_PARAM_READWRITE));
@@ -222,32 +222,32 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_BACKGROUND,
g_param_spec_string ("background",
- _("Background color name"),
- _("Background color as a string"),
+ P_("Background color name"),
+ P_("Background color as a string"),
NULL,
G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_BACKGROUND_GDK,
g_param_spec_boxed ("background_gdk",
- _("Background color"),
- _("Background color as a GdkColor"),
+ P_("Background color"),
+ P_("Background color as a GdkColor"),
GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_FOREGROUND,
g_param_spec_string ("foreground",
- _("Foreground color name"),
- _("Foreground color as a string"),
+ P_("Foreground color name"),
+ P_("Foreground color as a string"),
NULL,
G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_FOREGROUND_GDK,
g_param_spec_boxed ("foreground_gdk",
- _("Foreground color"),
- _("Foreground color as a GdkColor"),
+ P_("Foreground color"),
+ P_("Foreground color as a GdkColor"),
GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -255,24 +255,24 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_EDITABLE,
g_param_spec_boolean ("editable",
- _("Editable"),
- _("Whether the text can be modified by the user"),
+ P_("Editable"),
+ P_("Whether the text can be modified by the user"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_FONT,
g_param_spec_string ("font",
- _("Font"),
- _("Font description as a string"),
+ P_("Font"),
+ P_("Font description as a string"),
NULL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_FONT_DESC,
g_param_spec_boxed ("font_desc",
- _("Font"),
- _("Font description as a PangoFontDescription struct"),
+ P_("Font"),
+ P_("Font description as a PangoFontDescription struct"),
PANGO_TYPE_FONT_DESCRIPTION,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -280,16 +280,16 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_FAMILY,
g_param_spec_string ("family",
- _("Font family"),
- _("Name of the font family, e.g. Sans, Helvetica, Times, Monospace"),
+ P_("Font family"),
+ P_("Name of the font family, e.g. Sans, Helvetica, Times, Monospace"),
NULL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_STYLE,
g_param_spec_enum ("style",
- _("Font style"),
- _("Font style"),
+ P_("Font style"),
+ P_("Font style"),
PANGO_TYPE_STYLE,
PANGO_STYLE_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -297,8 +297,8 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_VARIANT,
g_param_spec_enum ("variant",
- _("Font variant"),
- _("Font variant"),
+ P_("Font variant"),
+ P_("Font variant"),
PANGO_TYPE_VARIANT,
PANGO_VARIANT_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -306,8 +306,8 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_WEIGHT,
g_param_spec_int ("weight",
- _("Font weight"),
- _("Font weight"),
+ P_("Font weight"),
+ P_("Font weight"),
0,
G_MAXINT,
PANGO_WEIGHT_NORMAL,
@@ -316,8 +316,8 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_STRETCH,
g_param_spec_enum ("stretch",
- _("Font stretch"),
- _("Font stretch"),
+ P_("Font stretch"),
+ P_("Font stretch"),
PANGO_TYPE_STRETCH,
PANGO_STRETCH_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -325,8 +325,8 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_SIZE,
g_param_spec_int ("size",
- _("Font size"),
- _("Font size"),
+ P_("Font size"),
+ P_("Font size"),
0,
G_MAXINT,
0,
@@ -335,8 +335,8 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_SIZE_POINTS,
g_param_spec_double ("size_points",
- _("Font points"),
- _("Font size in points"),
+ P_("Font points"),
+ P_("Font size in points"),
0.0,
G_MAXDOUBLE,
0.0,
@@ -345,8 +345,8 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_SCALE,
g_param_spec_double ("scale",
- _("Font scale"),
- _("Font scaling factor"),
+ P_("Font scale"),
+ P_("Font scaling factor"),
0.0,
G_MAXDOUBLE,
1.0,
@@ -355,8 +355,8 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_RISE,
g_param_spec_int ("rise",
- _("Rise"),
- _("Offset of text above the baseline (below the baseline if rise is negative)"),
+ P_("Rise"),
+ P_("Offset of text above the baseline (below the baseline if rise is negative)"),
-G_MAXINT,
G_MAXINT,
0,
@@ -366,16 +366,16 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_STRIKETHROUGH,
g_param_spec_boolean ("strikethrough",
- _("Strikethrough"),
- _("Whether to strike through the text"),
+ P_("Strikethrough"),
+ P_("Whether to strike through the text"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_UNDERLINE,
g_param_spec_enum ("underline",
- _("Underline"),
- _("Style of underline for this text"),
+ P_("Underline"),
+ P_("Style of underline for this text"),
PANGO_TYPE_UNDERLINE,
PANGO_UNDERLINE_NONE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -383,8 +383,8 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_LANGUAGE,
g_param_spec_string ("language",
- _("Language"),
- _("The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it"),
+ P_("Language"),
+ P_("The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it"),
NULL,
G_PARAM_READWRITE));
@@ -394,60 +394,60 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
#define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (object_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE))
ADD_SET_PROP ("background_set", PROP_BACKGROUND_SET,
- _("Background set"),
- _("Whether this tag affects the background color"));
+ P_("Background set"),
+ P_("Whether this tag affects the background color"));
ADD_SET_PROP ("foreground_set", PROP_FOREGROUND_SET,
- _("Foreground set"),
- _("Whether this tag affects the foreground color"));
+ P_("Foreground set"),
+ P_("Whether this tag affects the foreground color"));
ADD_SET_PROP ("editable_set", PROP_EDITABLE_SET,
- _("Editability set"),
- _("Whether this tag affects text editability"));
+ P_("Editability set"),
+ P_("Whether this tag affects text editability"));
ADD_SET_PROP ("family_set", PROP_FAMILY_SET,
- _("Font family set"),
- _("Whether this tag affects the font family"));
+ P_("Font family set"),
+ P_("Whether this tag affects the font family"));
ADD_SET_PROP ("style_set", PROP_STYLE_SET,
- _("Font style set"),
- _("Whether this tag affects the font style"));
+ P_("Font style set"),
+ P_("Whether this tag affects the font style"));
ADD_SET_PROP ("variant_set", PROP_VARIANT_SET,
- _("Font variant set"),
- _("Whether this tag affects the font variant"));
+ P_("Font variant set"),
+ P_("Whether this tag affects the font variant"));
ADD_SET_PROP ("weight_set", PROP_WEIGHT_SET,
- _("Font weight set"),
- _("Whether this tag affects the font weight"));
+ P_("Font weight set"),
+ P_("Whether this tag affects the font weight"));
ADD_SET_PROP ("stretch_set", PROP_STRETCH_SET,
- _("Font stretch set"),
- _("Whether this tag affects the font stretch"));
+ P_("Font stretch set"),
+ P_("Whether this tag affects the font stretch"));
ADD_SET_PROP ("size_set", PROP_SIZE_SET,
- _("Font size set"),
- _("Whether this tag affects the font size"));
+ P_("Font size set"),
+ P_("Whether this tag affects the font size"));
ADD_SET_PROP ("scale_set", PROP_SCALE_SET,
- _("Font scale set"),
- _("Whether this tag scales the font size by a factor"));
+ P_("Font scale set"),
+ P_("Whether this tag scales the font size by a factor"));
ADD_SET_PROP ("rise_set", PROP_RISE_SET,
- _("Rise set"),
- _("Whether this tag affects the rise"));
+ P_("Rise set"),
+ P_("Whether this tag affects the rise"));
ADD_SET_PROP ("strikethrough_set", PROP_STRIKETHROUGH_SET,
- _("Strikethrough set"),
- _("Whether this tag affects strikethrough"));
+ P_("Strikethrough set"),
+ P_("Whether this tag affects strikethrough"));
ADD_SET_PROP ("underline_set", PROP_UNDERLINE_SET,
- _("Underline set"),
- _("Whether this tag affects underlining"));
+ P_("Underline set"),
+ P_("Whether this tag affects underlining"));
ADD_SET_PROP ("language_set", PROP_LANGUAGE_SET,
- _("Language set"),
- _("Whether this tag affects the language the text is rendered as"));
+ P_("Language set"),
+ P_("Whether this tag affects the language the text is rendered as"));
text_cell_renderer_signals [EDITED] =
g_signal_new ("edited",
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 8353486843..4db089e992 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -137,8 +137,8 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
g_object_class_install_property (object_class,
PROP_ACTIVE,
g_param_spec_boolean ("active",
- _("Toggle state"),
- _("The toggle state of the button"),
+ P_("Toggle state"),
+ P_("The toggle state of the button"),
FALSE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -146,8 +146,8 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
g_object_class_install_property (object_class,
PROP_INCONSISTENT,
g_param_spec_boolean ("inconsistent",
- _("Inconsistent state"),
- _("The inconsistent state of the button"),
+ P_("Inconsistent state"),
+ P_("The inconsistent state of the button"),
FALSE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -155,8 +155,8 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
g_object_class_install_property (object_class,
PROP_ACTIVATABLE,
g_param_spec_boolean ("activatable",
- _("Activatable"),
- _("The toggle button can be activated"),
+ P_("Activatable"),
+ P_("The toggle button can be activated"),
TRUE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -164,8 +164,8 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
g_object_class_install_property (object_class,
PROP_RADIO,
g_param_spec_boolean ("radio",
- _("Radio state"),
- _("Draw the toggle button as a radio button"),
+ P_("Radio state"),
+ P_("Draw the toggle button as a radio button"),
FALSE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
diff --git a/gtk/gtkcellview.c b/gtk/gtkcellview.c
index 7f46555696..84cdf16b17 100644
--- a/gtk/gtkcellview.c
+++ b/gtk/gtkcellview.c
@@ -176,23 +176,23 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_BACKGROUND,
g_param_spec_string ("background",
- _("Background color name"),
- _("Background color as a string"),
+ P_("Background color name"),
+ P_("Background color as a string"),
NULL,
G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_BACKGROUND_GDK,
g_param_spec_boxed ("background_gdk",
- _("Background color"),
- _("Background color as a GdkColor"),
+ P_("Background color"),
+ P_("Background color as a GdkColor"),
GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
#define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (gobject_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE))
ADD_SET_PROP ("background_set", PROP_BACKGROUND_SET,
- _("Background set"),
- _("Whether this tag affects the background color"));
+ P_("Background set"),
+ P_("Whether this tag affects the background color"));
g_type_class_add_private (gobject_class, sizeof (GtkCellViewPrivate));
}
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index da58bb70bd..77473b8863 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -95,16 +95,16 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("indicator_size",
- _("Indicator Size"),
- _("Size of check or radio indicator"),
+ P_("Indicator Size"),
+ P_("Size of check or radio indicator"),
0,
G_MAXINT,
INDICATOR_SIZE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("indicator_spacing",
- _("Indicator Spacing"),
- _("Spacing around check or radio indicator"),
+ P_("Indicator Spacing"),
+ P_("Spacing around check or radio indicator"),
0,
G_MAXINT,
INDICATOR_SPACING,
diff --git a/gtk/gtkcheckmenuitem.c b/gtk/gtkcheckmenuitem.c
index fda7288122..1bcfd71aa0 100644
--- a/gtk/gtkcheckmenuitem.c
+++ b/gtk/gtkcheckmenuitem.c
@@ -115,24 +115,24 @@ gtk_check_menu_item_class_init (GtkCheckMenuItemClass *klass)
g_object_class_install_property (gobject_class,
PROP_ACTIVE,
g_param_spec_boolean ("active",
- _("Active"),
- _("Whether the menu item is checked"),
+ P_("Active"),
+ P_("Whether the menu item is checked"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_INCONSISTENT,
g_param_spec_boolean ("inconsistent",
- _("Inconsistent"),
- _("Whether to display an \"inconsistent\" state"),
+ P_("Inconsistent"),
+ P_("Whether to display an \"inconsistent\" state"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_DRAW_AS_RADIO,
g_param_spec_boolean ("draw_as_radio",
- _("Draw as radio menu item"),
- _("Whether the menu item looks like a radio menu item"),
+ P_("Draw as radio menu item"),
+ P_("Whether the menu item looks like a radio menu item"),
FALSE,
G_PARAM_READWRITE));
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 06cea22a16..deef2dde52 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -199,8 +199,8 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
*/
g_object_class_install_property (gobject_class,
PROP_USE_ALPHA,
- g_param_spec_boolean ("use_alpha", _("Use alpha"),
- _("Whether or not to give the color an alpha value"),
+ g_param_spec_boolean ("use_alpha", P_("Use alpha"),
+ P_("Whether or not to give the color an alpha value"),
FALSE,
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
@@ -214,8 +214,8 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_TITLE,
g_param_spec_string ("title",
- _("Title"),
- _("The title of the color selection dialog"),
+ P_("Title"),
+ P_("The title of the color selection dialog"),
_("Pick a Color"),
(G_PARAM_READABLE | G_PARAM_WRITABLE)));
@@ -229,8 +229,8 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_COLOR,
g_param_spec_boxed ("color",
- _("Current Color"),
- _("The selected color"),
+ P_("Current Color"),
+ P_("The selected color"),
GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -244,8 +244,8 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_ALPHA,
g_param_spec_uint ("alpha",
- _("Current Alpha"),
- _("The selected opacity value (0 fully transparent, 65535 fully opaque)"),
+ P_("Current Alpha"),
+ P_("The selected opacity value (0 fully transparent, 65535 fully opaque)"),
0, 65535, 65535,
G_PARAM_READABLE | G_PARAM_WRITABLE));
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index 86f19c07e2..6a5d752e69 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -1758,29 +1758,29 @@ gtk_color_selection_class_init (GtkColorSelectionClass *klass)
g_object_class_install_property (gobject_class,
PROP_HAS_OPACITY_CONTROL,
g_param_spec_boolean ("has_opacity_control",
- _("Has Opacity Control"),
- _("Whether the color selector should allow setting opacity"),
+ P_("Has Opacity Control"),
+ P_("Whether the color selector should allow setting opacity"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_HAS_PALETTE,
g_param_spec_boolean ("has_palette",
- _("Has palette"),
- _("Whether a palette should be used"),
+ P_("Has palette"),
+ P_("Whether a palette should be used"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_CURRENT_COLOR,
g_param_spec_boxed ("current_color",
- _("Current Color"),
- _("The current color"),
+ P_("Current Color"),
+ P_("The current color"),
GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_CURRENT_ALPHA,
g_param_spec_uint ("current_alpha",
- _("Current Alpha"),
- _("The current opacity value (0 fully transparent, 65535 fully opaque)"),
+ P_("Current Alpha"),
+ P_("The current opacity value (0 fully transparent, 65535 fully opaque)"),
0, 65535, 65535,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -1794,8 +1794,8 @@ gtk_color_selection_class_init (GtkColorSelectionClass *klass)
G_TYPE_NONE, 0);
gtk_settings_install_property (g_param_spec_string ("gtk-color-palette",
- _("Custom palette"),
- _("Palette to use in the color selector"),
+ P_("Custom palette"),
+ P_("Palette to use in the color selector"),
default_colors,
G_PARAM_READWRITE));
}
diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c
index 52744fb539..9282473c4f 100644
--- a/gtk/gtkcombo.c
+++ b/gtk/gtkcombo.c
@@ -140,38 +140,38 @@ gtk_combo_class_init (GtkComboClass * klass)
g_object_class_install_property (gobject_class,
PROP_ENABLE_ARROW_KEYS,
g_param_spec_boolean ("enable_arrow_keys",
- _("Enable arrow keys"),
- _("Whether the arrow keys move through the list of items"),
+ P_("Enable arrow keys"),
+ P_("Whether the arrow keys move through the list of items"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_ENABLE_ARROWS_ALWAYS,
g_param_spec_boolean ("enable_arrows_always",
- _("Always enable arrows"),
- _("Obsolete property, ignored"),
+ P_("Always enable arrows"),
+ P_("Obsolete property, ignored"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_CASE_SENSITIVE,
g_param_spec_boolean ("case_sensitive",
- _("Case sensitive"),
- _("Whether list item matching is case sensitive"),
+ P_("Case sensitive"),
+ P_("Whether list item matching is case sensitive"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_ALLOW_EMPTY,
g_param_spec_boolean ("allow_empty",
- _("Allow empty"),
- _("Whether an empty value may be entered in this field"),
+ P_("Allow empty"),
+ P_("Whether an empty value may be entered in this field"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_VALUE_IN_LIST,
g_param_spec_boolean ("value_in_list",
- _("Value in list"),
- _("Whether entered values must already be present in the list"),
+ P_("Value in list"),
+ P_("Whether entered values must already be present in the list"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 9abe2cd977..248a1824b4 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -338,16 +338,16 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
g_object_class_install_property (object_class,
PROP_MODEL,
g_param_spec_object ("model",
- _("ComboBox model"),
- _("The model for the combo box"),
+ P_("ComboBox model"),
+ P_("The model for the combo box"),
GTK_TYPE_TREE_MODEL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_WRAP_WIDTH,
g_param_spec_int ("wrap_width",
- _("Wrap width"),
- _("Wrap width for layouting the items in a grid"),
+ P_("Wrap width"),
+ P_("Wrap width for layouting the items in a grid"),
0,
G_MAXINT,
0,
@@ -356,8 +356,8 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
g_object_class_install_property (object_class,
PROP_ROW_SPAN_COLUMN,
g_param_spec_int ("row_span_column",
- _("Row span column"),
- _("TreeModel column containing the row span values"),
+ P_("Row span column"),
+ P_("TreeModel column containing the row span values"),
0,
G_MAXINT,
0,
@@ -366,8 +366,8 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
g_object_class_install_property (object_class,
PROP_COLUMN_SPAN_COLUMN,
g_param_spec_int ("column_span_column",
- _("Column span column"),
- _("TreeModel column containing the column span values"),
+ P_("Column span column"),
+ P_("TreeModel column containing the column span values"),
0,
G_MAXINT,
0,
@@ -376,8 +376,8 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
g_object_class_install_property (object_class,
PROP_ACTIVE,
g_param_spec_int ("active",
- _("Active item"),
- _("The item which is currently active"),
+ P_("Active item"),
+ P_("The item which is currently active"),
0,
G_MAXINT,
0,
@@ -385,8 +385,8 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("appearance",
- _("ComboBox appareance"),
- _("ComboBox appearance, where TRUE means Windows-style."),
+ P_("ComboBox appareance"),
+ P_("ComboBox appearance, where TRUE means Windows-style."),
FALSE,
G_PARAM_READWRITE));
diff --git a/gtk/gtkcomboboxentry.c b/gtk/gtkcomboboxentry.c
index adcd970309..c5f1965e1e 100644
--- a/gtk/gtkcomboboxentry.c
+++ b/gtk/gtkcomboboxentry.c
@@ -101,8 +101,8 @@ gtk_combo_box_entry_class_init (GtkComboBoxEntryClass *klass)
g_object_class_install_property (object_class,
PROP_TEXT_COLUMN,
g_param_spec_int ("text_column",
- _("Text Column"),
- _("A column in the data source model to get the strings from"),
+ P_("Text Column"),
+ P_("A column in the data source model to get the strings from"),
-1,
G_MAXINT,
-1,
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 53f2472325..91f3e88abf 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -200,16 +200,16 @@ gtk_container_class_init (GtkContainerClass *class)
g_object_class_install_property (gobject_class,
PROP_RESIZE_MODE,
g_param_spec_enum ("resize_mode",
- _("Resize mode"),
- _("Specify how resize events are handled"),
+ P_("Resize mode"),
+ P_("Specify how resize events are handled"),
GTK_TYPE_RESIZE_MODE,
GTK_RESIZE_PARENT,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_BORDER_WIDTH,
g_param_spec_uint ("border_width",
- _("Border width"),
- _("The width of the empty border outside the containers children"),
+ P_("Border width"),
+ P_("The width of the empty border outside the containers children"),
0,
G_MAXINT,
0,
@@ -217,8 +217,8 @@ gtk_container_class_init (GtkContainerClass *class)
g_object_class_install_property (gobject_class,
PROP_CHILD,
g_param_spec_object ("child",
- _("Child"),
- _("Can be used to add a new child to the container"),
+ P_("Child"),
+ P_("Can be used to add a new child to the container"),
GTK_TYPE_WIDGET,
G_PARAM_WRITABLE));
container_signals[ADD] =
diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c
index 3a059245a0..5dac891016 100644
--- a/gtk/gtkcurve.c
+++ b/gtk/gtkcurve.c
@@ -118,8 +118,8 @@ gtk_curve_class_init (GtkCurveClass *class)
g_object_class_install_property (gobject_class,
PROP_CURVE_TYPE,
g_param_spec_enum ("curve_type",
- _("Curve type"),
- _("Is this curve linear, spline interpolated, or free-form"),
+ P_("Curve type"),
+ P_("Is this curve linear, spline interpolated, or free-form"),
GTK_TYPE_CURVE_TYPE,
GTK_CURVE_TYPE_LINEAR,
G_PARAM_READABLE |
@@ -127,8 +127,8 @@ gtk_curve_class_init (GtkCurveClass *class)
g_object_class_install_property (gobject_class,
PROP_MIN_X,
g_param_spec_float ("min_x",
- _("Minimum X"),
- _("Minimum possible value for X"),
+ P_("Minimum X"),
+ P_("Minimum possible value for X"),
-G_MAXFLOAT,
G_MAXFLOAT,
0.0,
@@ -137,8 +137,8 @@ gtk_curve_class_init (GtkCurveClass *class)
g_object_class_install_property (gobject_class,
PROP_MAX_X,
g_param_spec_float ("max_x",
- _("Maximum X"),
- _("Maximum possible X value"),
+ P_("Maximum X"),
+ P_("Maximum possible X value"),
-G_MAXFLOAT,
G_MAXFLOAT,
1.0,
@@ -147,8 +147,8 @@ gtk_curve_class_init (GtkCurveClass *class)
g_object_class_install_property (gobject_class,
PROP_MIN_Y,
g_param_spec_float ("min_y",
- _("Minimum Y"),
- _("Minimum possible value for Y"),
+ P_("Minimum Y"),
+ P_("Minimum possible value for Y"),
-G_MAXFLOAT,
G_MAXFLOAT,
0.0,
@@ -157,8 +157,8 @@ gtk_curve_class_init (GtkCurveClass *class)
g_object_class_install_property (gobject_class,
PROP_MAX_Y,
g_param_spec_float ("max_y",
- _("Maximum Y"),
- _("Maximum possible value for Y"),
+ P_("Maximum Y"),
+ P_("Maximum possible value for Y"),
-G_MAXFLOAT,
G_MAXFLOAT,
1.0,
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 7f81f9d83d..4785cf3616 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -133,8 +133,8 @@ gtk_dialog_class_init (GtkDialogClass *class)
g_object_class_install_property (gobject_class,
PROP_HAS_SEPARATOR,
g_param_spec_boolean ("has_separator",
- _("Has separator"),
- _("The dialog has a separator bar above its buttons"),
+ P_("Has separator"),
+ P_("The dialog has a separator bar above its buttons"),
TRUE,
G_PARAM_READWRITE));
@@ -159,16 +159,16 @@ gtk_dialog_class_init (GtkDialogClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("content_area_border",
- _("Content area border"),
- _("Width of border around the main dialog area"),
+ P_("Content area border"),
+ P_("Width of border around the main dialog area"),
0,
G_MAXINT,
2,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("button_spacing",
- _("Button spacing"),
- _("Spacing between buttons"),
+ P_("Button spacing"),
+ P_("Spacing between buttons"),
0,
G_MAXINT,
10,
@@ -176,8 +176,8 @@ gtk_dialog_class_init (GtkDialogClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("action_area_border",
- _("Action area border"),
- _("Width of border around the button area at the bottom of the dialog"),
+ P_("Action area border"),
+ P_("Width of border around the button area at the bottom of the dialog"),
0,
G_MAXINT,
5,
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index b4dae1f31c..931606d047 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -443,8 +443,8 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_CURSOR_POSITION,
g_param_spec_int ("cursor_position",
- _("Cursor Position"),
- _("The current position of the insertion cursor in chars"),
+ P_("Cursor Position"),
+ P_("The current position of the insertion cursor in chars"),
0,
MAX_SIZE,
0,
@@ -453,8 +453,8 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_SELECTION_BOUND,
g_param_spec_int ("selection_bound",
- _("Selection Bound"),
- _("The position of the opposite end of the selection from the cursor in chars"),
+ P_("Selection Bound"),
+ P_("The position of the opposite end of the selection from the cursor in chars"),
0,
MAX_SIZE,
0,
@@ -463,16 +463,16 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_EDITABLE,
g_param_spec_boolean ("editable",
- _("Editable"),
- _("Whether the entry contents can be edited"),
+ P_("Editable"),
+ P_("Whether the entry contents can be edited"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_MAX_LENGTH,
g_param_spec_int ("max_length",
- _("Maximum length"),
- _("Maximum number of characters for this entry. Zero if no maximum"),
+ P_("Maximum length"),
+ P_("Maximum number of characters for this entry. Zero if no maximum"),
0,
MAX_SIZE,
0,
@@ -480,39 +480,39 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_VISIBILITY,
g_param_spec_boolean ("visibility",
- _("Visibility"),
- _("FALSE displays the \"invisible char\" instead of the actual text (password mode)"),
+ P_("Visibility"),
+ P_("FALSE displays the \"invisible char\" instead of the actual text (password mode)"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_HAS_FRAME,
g_param_spec_boolean ("has_frame",
- _("Has Frame"),
- _("FALSE removes outside bevel from entry"),
+ P_("Has Frame"),
+ P_("FALSE removes outside bevel from entry"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_INVISIBLE_CHAR,
g_param_spec_unichar ("invisible_char",
- _("Invisible character"),
- _("The character to use when masking entry contents (in \"password mode\")"),
+ P_("Invisible character"),
+ P_("The character to use when masking entry contents (in \"password mode\")"),
'*',
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_ACTIVATES_DEFAULT,
g_param_spec_boolean ("activates_default",
- _("Activates default"),
- _("Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed"),
+ P_("Activates default"),
+ P_("Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_WIDTH_CHARS,
g_param_spec_int ("width_chars",
- _("Width in chars"),
- _("Number of characters to leave space for in the entry"),
+ P_("Width in chars"),
+ P_("Number of characters to leave space for in the entry"),
-1,
G_MAXINT,
-1,
@@ -521,8 +521,8 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_SCROLL_OFFSET,
g_param_spec_int ("scroll_offset",
- _("Scroll offset"),
- _("Number of pixels of the entry scrolled off the screen to the left"),
+ P_("Scroll offset"),
+ P_("Number of pixels of the entry scrolled off the screen to the left"),
0,
G_MAXINT,
0,
@@ -531,8 +531,8 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_TEXT,
g_param_spec_string ("text",
- _("Text"),
- _("The contents of the entry"),
+ P_("Text"),
+ P_("The contents of the entry"),
"",
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -763,8 +763,8 @@ gtk_entry_class_init (GtkEntryClass *class)
"toggle_overwrite", 0);
gtk_settings_install_property (g_param_spec_boolean ("gtk-entry-select-on-focus",
- _("Select on focus"),
- _("Whether to select the contents of an entry when it is focused"),
+ P_("Select on focus"),
+ P_("Whether to select the contents of an entry when it is focused"),
TRUE,
G_PARAM_READWRITE));
}
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index 1bedfe0273..cc615ccaa3 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -193,15 +193,15 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
g_object_class_install_property (object_class,
PROP_MODEL,
g_param_spec_object ("model",
- _("Completion Model"),
- _("The model to find matches in"),
+ P_("Completion Model"),
+ P_("The model to find matches in"),
GTK_TYPE_TREE_MODEL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_MINIMUM_KEY_LENGTH,
g_param_spec_int ("minimum_key_length",
- _("Minimum Key Length"),
- _("Minimum length of the search key in order to look up matches"),
+ P_("Minimum Key Length"),
+ P_("Minimum length of the search key in order to look up matches"),
-1,
G_MAXINT,
1,
diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c
index 6abdd1f72c..a15f9e5209 100644
--- a/gtk/gtkeventbox.c
+++ b/gtk/gtkeventbox.c
@@ -116,15 +116,15 @@ gtk_event_box_class_init (GtkEventBoxClass *class)
g_object_class_install_property (gobject_class,
PROP_VISIBLE_WINDOW,
g_param_spec_boolean ("visible-window",
- _("Visible Window"),
- _("Whether the event box is visible, as opposed to invisible and only used to trap events."),
+ P_("Visible Window"),
+ P_("Whether the event box is visible, as opposed to invisible and only used to trap events."),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ABOVE_CHILD,
g_param_spec_boolean ("above-child",
- _("Above child"),
- _("Whether the event-trapping window of the eventbox is above the window of the child widget as opposed to below it."),
+ P_("Above child"),
+ P_("Whether the event-trapping window of the eventbox is above the window of the child widget as opposed to below it."),
FALSE,
G_PARAM_READWRITE));
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index bff45399f7..b839bf434b 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -191,40 +191,40 @@ gtk_expander_class_init (GtkExpanderClass *klass)
g_object_class_install_property (gobject_class,
PROP_EXPANDED,
g_param_spec_boolean ("expanded",
- _("Expanded"),
- _("Whether the expander has been opened to reveal the child widget"),
+ P_("Expanded"),
+ P_("Whether the expander has been opened to reveal the child widget"),
FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_LABEL,
g_param_spec_string ("label",
- _("Label"),
- _("Text of the expander's label"),
+ P_("Label"),
+ P_("Text of the expander's label"),
NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_USE_UNDERLINE,
g_param_spec_boolean ("use_underline",
- _("Use underline"),
- _("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
+ P_("Use underline"),
+ P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_USE_MARKUP,
g_param_spec_boolean ("use_markup",
- _("Use markup"),
- _("The text of the label includes XML markup. See pango_parse_markup()"),
+ P_("Use markup"),
+ P_("The text of the label includes XML markup. See pango_parse_markup()"),
FALSE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_PADDING,
g_param_spec_int ("spacing",
- _("Spacing"),
- _("Space to put between the label and the child"),
+ P_("Spacing"),
+ P_("Space to put between the label and the child"),
0,
G_MAXINT,
0,
@@ -233,15 +233,15 @@ gtk_expander_class_init (GtkExpanderClass *klass)
g_object_class_install_property (gobject_class,
PROP_LABEL_WIDGET,
g_param_spec_object ("label_widget",
- _("Label widget"),
- _("A widget to display in place of the usual expander label"),
+ P_("Label widget"),
+ P_("A widget to display in place of the usual expander label"),
GTK_TYPE_WIDGET,
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("expander-size",
- _("Expander Size"),
- _("Size of the expander arrow"),
+ P_("Expander Size"),
+ P_("Size of the expander arrow"),
0,
G_MAXINT,
DEFAULT_EXPANDER_SIZE,
@@ -249,8 +249,8 @@ gtk_expander_class_init (GtkExpanderClass *klass)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("expander-spacing",
- _("Indicator Spacing"),
- _("Spacing around expander arrow"),
+ P_("Indicator Spacing"),
+ P_("Spacing around expander arrow"),
0,
G_MAXINT,
DEFAULT_EXPANDER_SPACING,
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 30a2358634..516f24a3f1 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -89,64 +89,64 @@ gtk_file_chooser_class_init (gpointer g_iface)
g_object_interface_install_property (g_iface,
g_param_spec_enum ("action",
- _("Action"),
- _("The type of operation that the file selector is performing"),
+ P_("Action"),
+ P_("The type of operation that the file selector is performing"),
GTK_TYPE_FILE_CHOOSER_ACTION,
GTK_FILE_CHOOSER_ACTION_OPEN,
G_PARAM_READWRITE));
g_object_interface_install_property (g_iface,
g_param_spec_object ("file-system",
- _("File System"),
- _("File system object to use"),
+ P_("File System"),
+ P_("File system object to use"),
GTK_TYPE_FILE_SYSTEM,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
g_object_interface_install_property (g_iface,
g_param_spec_object ("filter",
- _("Filter"),
- _("The current filter for selecting which files are displayed"),
+ P_("Filter"),
+ P_("The current filter for selecting which files are displayed"),
GTK_TYPE_FILE_FILTER,
G_PARAM_READWRITE));
g_object_interface_install_property (g_iface,
g_param_spec_boolean ("folder-mode",
- _("Folder Mode"),
- _("Whether to select folders rather than files"),
+ P_("Folder Mode"),
+ P_("Whether to select folders rather than files"),
FALSE,
G_PARAM_READWRITE));
g_object_interface_install_property (g_iface,
g_param_spec_boolean ("local-only",
- _("Local Only"),
- _("Whether the selected file(s) should be limited to local file: URLs"),
+ P_("Local Only"),
+ P_("Whether the selected file(s) should be limited to local file: URLs"),
TRUE,
G_PARAM_READWRITE));
g_object_interface_install_property (g_iface,
g_param_spec_object ("preview-widget",
- _("Preview widget"),
- _("Application supplied widget for custom previews."),
+ P_("Preview widget"),
+ P_("Application supplied widget for custom previews."),
GTK_TYPE_WIDGET,
G_PARAM_READWRITE));
g_object_interface_install_property (g_iface,
g_param_spec_boolean ("preview-widget-active",
- _("Preview Widget Active"),
- _("Whether the application supplied widget for custom previews should be shown."),
+ P_("Preview Widget Active"),
+ P_("Whether the application supplied widget for custom previews should be shown."),
TRUE,
G_PARAM_READWRITE));
g_object_interface_install_property (g_iface,
g_param_spec_object ("extra-widget",
- _("Extra widget"),
- _("Application supplied widget for extra options."),
+ P_("Extra widget"),
+ P_("Application supplied widget for extra options."),
GTK_TYPE_WIDGET,
G_PARAM_READWRITE));
g_object_interface_install_property (g_iface,
g_param_spec_boolean ("select-multiple",
- _("Select Multiple"),
- _("Whether to allow multiple files to be selected"),
+ P_("Select Multiple"),
+ P_("Whether to allow multiple files to be selected"),
FALSE,
G_PARAM_READWRITE));
g_object_interface_install_property (g_iface,
g_param_spec_boolean ("show-hidden",
- _("Show Hidden"),
- _("Whether the hidden files and folders should be displayed"),
+ P_("Show Hidden"),
+ P_("Whether the hidden files and folders should be displayed"),
FALSE,
G_PARAM_READWRITE));
}
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index 3962e4394d..d1be269936 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -556,23 +556,23 @@ gtk_file_selection_class_init (GtkFileSelectionClass *class)
g_object_class_install_property (gobject_class,
PROP_FILENAME,
g_param_spec_string ("filename",
- _("Filename"),
- _("The currently selected filename"),
+ P_("Filename"),
+ P_("The currently selected filename"),
NULL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_SHOW_FILEOPS,
g_param_spec_boolean ("show_fileops",
- _("Show file operations"),
- _("Whether buttons for creating/manipulating files should be displayed"),
+ P_("Show file operations"),
+ P_("Whether buttons for creating/manipulating files should be displayed"),
FALSE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_SELECT_MULTIPLE,
g_param_spec_boolean ("select_multiple",
- _("Select multiple"),
- _("Whether to allow multiple files to be selected"),
+ P_("Select multiple"),
+ P_("Whether to allow multiple files to be selected"),
FALSE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c
index 04cbac85ce..caaff5644d 100644
--- a/gtk/gtkfixed.c
+++ b/gtk/gtkfixed.c
@@ -117,8 +117,8 @@ gtk_fixed_class_init (GtkFixedClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_X,
g_param_spec_int ("x",
- _("X position"),
- _("X position of child widget"),
+ P_("X position"),
+ P_("X position of child widget"),
G_MININT,
G_MAXINT,
0,
@@ -127,8 +127,8 @@ gtk_fixed_class_init (GtkFixedClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_Y,
g_param_spec_int ("y",
- _("Y position"),
- _("Y position of child widget"),
+ P_("Y position"),
+ P_("Y position of child widget"),
G_MININT,
G_MAXINT,
0,
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index 7e56afa7cd..9a872a4231 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -172,8 +172,8 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_TITLE,
g_param_spec_string ("title",
- _("Title"),
- _("The title of the font selection dialog"),
+ P_("Title"),
+ P_("The title of the font selection dialog"),
_("Pick a Font"),
(G_PARAM_READABLE |
G_PARAM_WRITABLE)));
@@ -188,9 +188,9 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_FONT_NAME,
g_param_spec_string ("font_name",
- _("Font name"),
- _("The name of the selected font"),
- _("Sans 12"),
+ P_("Font name"),
+ P_("The name of the selected font"),
+ P_("Sans 12"),
(G_PARAM_READABLE |
G_PARAM_WRITABLE)));
@@ -204,8 +204,8 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_USE_FONT,
g_param_spec_boolean ("use_font",
- _("Use font in label"),
- _("Whether the label is drawn in the selected font"),
+ P_("Use font in label"),
+ P_("Whether the label is drawn in the selected font"),
FALSE,
(G_PARAM_READABLE |
G_PARAM_WRITABLE)));
@@ -220,8 +220,8 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_USE_SIZE,
g_param_spec_boolean ("use_size",
- _("Use size in label"),
- _("Whether the label is drawn with the selected font size"),
+ P_("Use size in label"),
+ P_("Whether the label is drawn with the selected font size"),
FALSE,
(G_PARAM_READABLE |
G_PARAM_WRITABLE)));
@@ -237,8 +237,8 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_SHOW_SIZE,
g_param_spec_boolean ("show_style",
- _("Show style"),
- _("Whether the selected font style is shown in the label"),
+ P_("Show style"),
+ P_("Whether the selected font style is shown in the label"),
TRUE,
(G_PARAM_READABLE |
G_PARAM_WRITABLE)));
@@ -253,8 +253,8 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_SHOW_SIZE,
g_param_spec_boolean ("show_size",
- _("Show size"),
- _("Whether selected font size is shown in the label"),
+ P_("Show size"),
+ P_("Whether selected font size is shown in the label"),
TRUE,
(G_PARAM_READABLE |
G_PARAM_WRITABLE)));
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c
index 96337feb13..ba635c6711 100644
--- a/gtk/gtkfontsel.c
+++ b/gtk/gtkfontsel.c
@@ -207,22 +207,22 @@ gtk_font_selection_class_init (GtkFontSelectionClass *klass)
g_object_class_install_property (gobject_class,
PROP_FONT_NAME,
g_param_spec_string ("font_name",
- _("Font name"),
- _("The X string that represents this font"),
+ P_("Font name"),
+ P_("The X string that represents this font"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_FONT,
g_param_spec_boxed ("font",
- _("Font"),
- _("The GdkFont that is currently selected"),
+ P_("Font"),
+ P_("The GdkFont that is currently selected"),
GDK_TYPE_FONT,
G_PARAM_READABLE));
g_object_class_install_property (gobject_class,
PROP_PREVIEW_TEXT,
g_param_spec_string ("preview_text",
- _("Preview text"),
- _("The text to display in order to demonstrate the selected font"),
+ P_("Preview text"),
+ P_("The text to display in order to demonstrate the selected font"),
PREVIEW_TEXT,
G_PARAM_READWRITE));
gobject_class->finalize = gtk_font_selection_finalize;
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 0bcfda119d..fa3272e59b 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -122,16 +122,16 @@ gtk_frame_class_init (GtkFrameClass *class)
g_object_class_install_property (gobject_class,
PROP_LABEL,
g_param_spec_string ("label",
- _("Label"),
- _("Text of the frame's label"),
+ P_("Label"),
+ P_("Text of the frame's label"),
NULL,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_LABEL_XALIGN,
g_param_spec_float ("label_xalign",
- _("Label xalign"),
- _("The horizontal alignment of the label"),
+ P_("Label xalign"),
+ P_("The horizontal alignment of the label"),
0.0,
1.0,
0.5,
@@ -140,8 +140,8 @@ gtk_frame_class_init (GtkFrameClass *class)
g_object_class_install_property (gobject_class,
PROP_LABEL_YALIGN,
g_param_spec_float ("label_yalign",
- _("Label yalign"),
- _("The vertical alignment of the label"),
+ P_("Label yalign"),
+ P_("The vertical alignment of the label"),
0.0,
1.0,
0.5,
@@ -150,15 +150,15 @@ gtk_frame_class_init (GtkFrameClass *class)
g_object_class_install_property (gobject_class,
PROP_SHADOW,
g_param_spec_enum ("shadow", NULL,
- _("Deprecated property, use shadow_type instead"),
+ P_("Deprecated property, use shadow_type instead"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_ETCHED_IN,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_SHADOW_TYPE,
g_param_spec_enum ("shadow_type",
- _("Frame shadow"),
- _("Appearance of the frame border"),
+ P_("Frame shadow"),
+ P_("Appearance of the frame border"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_ETCHED_IN,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -166,8 +166,8 @@ gtk_frame_class_init (GtkFrameClass *class)
g_object_class_install_property (gobject_class,
PROP_LABEL_WIDGET,
g_param_spec_object ("label_widget",
- _("Label widget"),
- _("A widget to display in place of the usual frame label"),
+ P_("Label widget"),
+ P_("A widget to display in place of the usual frame label"),
GTK_TYPE_WIDGET,
G_PARAM_READABLE | G_PARAM_WRITABLE));
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c
index 0d09fe23e6..b0d556eb9a 100644
--- a/gtk/gtkhandlebox.c
+++ b/gtk/gtkhandlebox.c
@@ -192,15 +192,15 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
g_object_class_install_property (gobject_class,
PROP_SHADOW,
g_param_spec_enum ("shadow", NULL,
- _("Deprecated property, use shadow_type instead"),
+ P_("Deprecated property, use shadow_type instead"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_ETCHED_OUT,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_SHADOW_TYPE,
g_param_spec_enum ("shadow_type",
- _("Shadow type"),
- _("Appearance of the shadow that surrounds the container"),
+ P_("Shadow type"),
+ P_("Appearance of the shadow that surrounds the container"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_ETCHED_OUT,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -208,8 +208,8 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
g_object_class_install_property (gobject_class,
PROP_HANDLE_POSITION,
g_param_spec_enum ("handle_position",
- _("Handle position"),
- _("Position of the handle relative to the child widget"),
+ P_("Handle position"),
+ P_("Position of the handle relative to the child widget"),
GTK_TYPE_POSITION_TYPE,
GTK_POS_LEFT,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -217,8 +217,8 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
g_object_class_install_property (gobject_class,
PROP_SNAP_EDGE,
g_param_spec_enum ("snap_edge",
- _("Snap edge"),
- _("Side of the handlebox that's lined up with the docking point to dock the handlebox"),
+ P_("Snap edge"),
+ P_("Side of the handlebox that's lined up with the docking point to dock the handlebox"),
GTK_TYPE_POSITION_TYPE,
GTK_POS_TOP,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -226,8 +226,8 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
g_object_class_install_property (gobject_class,
PROP_SNAP_EDGE_SET,
g_param_spec_boolean ("snap_edge_set",
- _("Snap edge set"),
- _("Whether to use the value from the snap_edge property or a value derived from handle_position"),
+ P_("Snap edge set"),
+ P_("Whether to use the value from the snap_edge property or a value derived from handle_position"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 9b25a9d87e..bb81924c3d 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -132,40 +132,40 @@ gtk_image_class_init (GtkImageClass *class)
g_object_class_install_property (gobject_class,
PROP_PIXBUF,
g_param_spec_object ("pixbuf",
- _("Pixbuf"),
- _("A GdkPixbuf to display"),
+ P_("Pixbuf"),
+ P_("A GdkPixbuf to display"),
GDK_TYPE_PIXBUF,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_PIXMAP,
g_param_spec_object ("pixmap",
- _("Pixmap"),
- _("A GdkPixmap to display"),
+ P_("Pixmap"),
+ P_("A GdkPixmap to display"),
GDK_TYPE_PIXMAP,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_IMAGE,
g_param_spec_object ("image",
- _("Image"),
- _("A GdkImage to display"),
+ P_("Image"),
+ P_("A GdkImage to display"),
GDK_TYPE_IMAGE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_MASK,
g_param_spec_object ("mask",
- _("Mask"),
- _("Mask bitmap to use with GdkImage or GdkPixmap"),
+ P_("Mask"),
+ P_("Mask bitmap to use with GdkImage or GdkPixmap"),
GDK_TYPE_PIXMAP,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_FILE,
g_param_spec_string ("file",
- _("Filename"),
- _("Filename to load and display"),
+ P_("Filename"),
+ P_("Filename to load and display"),
NULL,
G_PARAM_WRITABLE));
@@ -173,24 +173,24 @@ gtk_image_class_init (GtkImageClass *class)
g_object_class_install_property (gobject_class,
PROP_STOCK,
g_param_spec_string ("stock",
- _("Stock ID"),
- _("Stock ID for a stock image to display"),
+ P_("Stock ID"),
+ P_("Stock ID for a stock image to display"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ICON_SET,
g_param_spec_boxed ("icon_set",
- _("Icon set"),
- _("Icon set to display"),
+ P_("Icon set"),
+ P_("Icon set to display"),
GTK_TYPE_ICON_SET,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ICON_SIZE,
g_param_spec_int ("icon_size",
- _("Icon size"),
- _("Size to use for stock icon or icon set"),
+ P_("Icon size"),
+ P_("Size to use for stock icon or icon set"),
0, G_MAXINT,
DEFAULT_ICON_SIZE,
G_PARAM_READWRITE));
@@ -198,16 +198,16 @@ gtk_image_class_init (GtkImageClass *class)
g_object_class_install_property (gobject_class,
PROP_PIXBUF_ANIMATION,
g_param_spec_object ("pixbuf_animation",
- _("Animation"),
- _("GdkPixbufAnimation to display"),
+ P_("Animation"),
+ P_("GdkPixbufAnimation to display"),
GDK_TYPE_PIXBUF_ANIMATION,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_STORAGE_TYPE,
g_param_spec_enum ("storage_type",
- _("Storage type"),
- _("The representation being used for image data"),
+ P_("Storage type"),
+ P_("The representation being used for image data"),
GTK_TYPE_IMAGE_TYPE,
GTK_IMAGE_EMPTY,
G_PARAM_READABLE));
diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c
index 60542d87dd..6de5962a5f 100644
--- a/gtk/gtkimagemenuitem.c
+++ b/gtk/gtkimagemenuitem.c
@@ -121,8 +121,8 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass)
g_object_class_install_property (gobject_class,
PROP_IMAGE,
g_param_spec_object ("image",
- _("Image widget"),
- _("Child widget to appear next to the menu text"),
+ P_("Image widget"),
+ P_("Child widget to appear next to the menu text"),
GTK_TYPE_WIDGET,
G_PARAM_READABLE | G_PARAM_WRITABLE));
}
diff --git a/gtk/gtkintl.h b/gtk/gtkintl.h
index ab0478e6cb..f655fab42e 100644
--- a/gtk/gtkintl.h
+++ b/gtk/gtkintl.h
@@ -6,6 +6,7 @@
#ifdef ENABLE_NLS
#include<libintl.h>
#define _(String) dgettext(GETTEXT_PACKAGE,String)
+#define P_(String) dgettext(GETTEXT_PACKAGE,String)
#ifdef gettext_noop
#define N_(String) gettext_noop(String)
#else
@@ -13,6 +14,7 @@
#endif
#else /* NLS is disabled */
#define _(String) (String)
+#define P_(String) (String)
#define N_(String) (String)
#define textdomain(String) (String)
#define gettext(String) (String)
diff --git a/gtk/gtkinvisible.c b/gtk/gtkinvisible.c
index 7b7896bf34..a7bbae7325 100644
--- a/gtk/gtkinvisible.c
+++ b/gtk/gtkinvisible.c
@@ -111,8 +111,8 @@ gtk_invisible_class_init (GtkInvisibleClass *class)
g_object_class_install_property (gobject_class,
PROP_SCREEN,
g_param_spec_object ("screen",
- _("Screen"),
- _("The screen where this window will be displayed"),
+ P_("Screen"),
+ P_("The screen where this window will be displayed"),
GDK_TYPE_SCREEN,
G_PARAM_READWRITE));
}
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 874baf1caa..f26e99abcf 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -287,37 +287,37 @@ gtk_label_class_init (GtkLabelClass *class)
g_object_class_install_property (gobject_class,
PROP_LABEL,
g_param_spec_string ("label",
- _("Label"),
- _("The text of the label"),
+ P_("Label"),
+ P_("The text of the label"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ATTRIBUTES,
g_param_spec_boxed ("attributes",
- _("Attributes"),
- _("A list of style attributes to apply to the text of the label"),
+ P_("Attributes"),
+ P_("A list of style attributes to apply to the text of the label"),
PANGO_TYPE_ATTR_LIST,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_USE_MARKUP,
g_param_spec_boolean ("use_markup",
- _("Use markup"),
- _("The text of the label includes XML markup. See pango_parse_markup()"),
+ P_("Use markup"),
+ P_("The text of the label includes XML markup. See pango_parse_markup()"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_USE_UNDERLINE,
g_param_spec_boolean ("use_underline",
- _("Use underline"),
- _("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
+ P_("Use underline"),
+ P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_JUSTIFY,
g_param_spec_enum ("justify",
- _("Justification"),
- _("The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See GtkMisc::xalign for that"),
+ P_("Justification"),
+ P_("The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See GtkMisc::xalign for that"),
GTK_TYPE_JUSTIFICATION,
GTK_JUSTIFY_LEFT,
G_PARAM_READWRITE));
@@ -325,30 +325,30 @@ gtk_label_class_init (GtkLabelClass *class)
g_object_class_install_property (gobject_class,
PROP_PATTERN,
g_param_spec_string ("pattern",
- _("Pattern"),
- _("A string with _ characters in positions correspond to characters in the text to underline"),
+ P_("Pattern"),
+ P_("A string with _ characters in positions correspond to characters in the text to underline"),
NULL,
G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_WRAP,
g_param_spec_boolean ("wrap",
- _("Line wrap"),
- _("If set, wrap lines if the text becomes too wide"),
+ P_("Line wrap"),
+ P_("If set, wrap lines if the text becomes too wide"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SELECTABLE,
g_param_spec_boolean ("selectable",
- _("Selectable"),
- _("Whether the label text can be selected with the mouse"),
+ P_("Selectable"),
+ P_("Whether the label text can be selected with the mouse"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_MNEMONIC_KEYVAL,
g_param_spec_uint ("mnemonic_keyval",
- _("Mnemonic key"),
- _("The mnemonic accelerator key for this label"),
+ P_("Mnemonic key"),
+ P_("The mnemonic accelerator key for this label"),
0,
G_MAXUINT,
GDK_VoidSymbol,
@@ -356,8 +356,8 @@ gtk_label_class_init (GtkLabelClass *class)
g_object_class_install_property (gobject_class,
PROP_MNEMONIC_WIDGET,
g_param_spec_object ("mnemonic_widget",
- _("Mnemonic widget"),
- _("The widget to be activated when the label's mnemonic "
+ P_("Mnemonic widget"),
+ P_("The widget to be activated when the label's mnemonic "
"key is pressed"),
GTK_TYPE_WIDGET,
G_PARAM_READWRITE));
@@ -365,8 +365,8 @@ gtk_label_class_init (GtkLabelClass *class)
g_object_class_install_property (gobject_class,
PROP_CURSOR_POSITION,
g_param_spec_int ("cursor_position",
- _("Cursor Position"),
- _("The current position of the insertion cursor in chars"),
+ P_("Cursor Position"),
+ P_("The current position of the insertion cursor in chars"),
0,
G_MAXINT,
0,
@@ -375,8 +375,8 @@ gtk_label_class_init (GtkLabelClass *class)
g_object_class_install_property (gobject_class,
PROP_SELECTION_BOUND,
g_param_spec_int ("selection_bound",
- _("Selection Bound"),
- _("The position of the opposite end of the selection from the cursor in chars"),
+ P_("Selection Bound"),
+ P_("The position of the opposite end of the selection from the cursor in chars"),
0,
G_MAXINT,
0,
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index 3d9ad1b537..50c1275026 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -608,8 +608,8 @@ gtk_layout_class_init (GtkLayoutClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_X,
g_param_spec_int ("x",
- _("X position"),
- _("X position of child widget"),
+ P_("X position"),
+ P_("X position of child widget"),
G_MININT,
G_MAXINT,
0,
@@ -618,8 +618,8 @@ gtk_layout_class_init (GtkLayoutClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_Y,
g_param_spec_int ("y",
- _("Y position"),
- _("Y position of child widget"),
+ P_("Y position"),
+ P_("Y position of child widget"),
G_MININT,
G_MAXINT,
0,
@@ -628,24 +628,24 @@ gtk_layout_class_init (GtkLayoutClass *class)
g_object_class_install_property (gobject_class,
PROP_HADJUSTMENT,
g_param_spec_object ("hadjustment",
- _("Horizontal adjustment"),
- _("The GtkAdjustment for the horizontal position"),
+ P_("Horizontal adjustment"),
+ P_("The GtkAdjustment for the horizontal position"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_VADJUSTMENT,
g_param_spec_object ("vadjustment",
- _("Vertical adjustment"),
- _("The GtkAdjustment for the vertical position"),
+ P_("Vertical adjustment"),
+ P_("The GtkAdjustment for the vertical position"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_WIDTH,
g_param_spec_uint ("width",
- _("Width"),
- _("The width of the layout"),
+ P_("Width"),
+ P_("The width of the layout"),
0,
G_MAXINT,
100,
@@ -653,8 +653,8 @@ gtk_layout_class_init (GtkLayoutClass *class)
g_object_class_install_property (gobject_class,
PROP_HEIGHT,
g_param_spec_uint ("height",
- _("Height"),
- _("The height of the layout"),
+ P_("Height"),
+ P_("The height of the layout"),
0,
G_MAXINT,
100,
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 57d943441f..8e449341d7 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -349,15 +349,15 @@ gtk_menu_class_init (GtkMenuClass *class)
g_object_class_install_property (gobject_class,
PROP_TEAROFF_TITLE,
g_param_spec_string ("tearoff-title",
- _("Tearoff Title"),
- _("A title that may be displayed by the window manager when this menu is torn-off"),
+ P_("Tearoff Title"),
+ P_("A title that may be displayed by the window manager when this menu is torn-off"),
"",
G_PARAM_READABLE | G_PARAM_WRITABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("vertical-padding",
- _("Vertical Padding"),
- _("Extra space at the top and bottom of the menu"),
+ P_("Vertical Padding"),
+ P_("Extra space at the top and bottom of the menu"),
0,
G_MAXINT,
1,
@@ -365,8 +365,8 @@ gtk_menu_class_init (GtkMenuClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("vertical-offset",
- _("Vertical Offset"),
- _("When the menu is a submenu, position it this number of pixels offset vertically"),
+ P_("Vertical Offset"),
+ P_("When the menu is a submenu, position it this number of pixels offset vertically"),
G_MININT,
G_MAXINT,
0,
@@ -374,8 +374,8 @@ gtk_menu_class_init (GtkMenuClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("horizontal-offset",
- _("Horizontal Offset"),
- _("When the menu is a submenu, position it this number of pixels offset horizontally"),
+ P_("Horizontal Offset"),
+ P_("When the menu is a submenu, position it this number of pixels offset horizontally"),
G_MININT,
G_MAXINT,
-2,
@@ -385,32 +385,32 @@ gtk_menu_class_init (GtkMenuClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_LEFT_ATTACH,
g_param_spec_uint ("left_attach",
- _("Left Attach"),
- _("The column number to attach the left side of the child to"),
+ P_("Left Attach"),
+ P_("The column number to attach the left side of the child to"),
0, UINT_MAX, 0,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_RIGHT_ATTACH,
g_param_spec_uint ("right_attach",
- _("Right Attach"),
- _("The column number to attach the right side of the child to"),
+ P_("Right Attach"),
+ P_("The column number to attach the right side of the child to"),
0, UINT_MAX, 0,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TOP_ATTACH,
g_param_spec_uint ("top_attach",
- _("Top Attach"),
- _("The row number to attach the top of the child to"),
+ P_("Top Attach"),
+ P_("The row number to attach the top of the child to"),
0, UINT_MAX, 0,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_BOTTOM_ATTACH,
g_param_spec_uint ("bottom_attach",
- _("Bottom Attach"),
- _("The row number to attach the bottom of the child to"),
+ P_("Bottom Attach"),
+ P_("The row number to attach the bottom of the child to"),
0, UINT_MAX, 0,
G_PARAM_READWRITE));
@@ -497,22 +497,22 @@ gtk_menu_class_init (GtkMenuClass *class)
GTK_SCROLL_PAGE_DOWN);
gtk_settings_install_property (g_param_spec_boolean ("gtk-can-change-accels",
- _("Can change accelerators"),
- _("Whether menu accelerators can be changed by pressing a key over the menu item"),
+ P_("Can change accelerators"),
+ P_("Whether menu accelerators can be changed by pressing a key over the menu item"),
FALSE,
G_PARAM_READWRITE));
gtk_settings_install_property (g_param_spec_int ("gtk-menu-popup-delay",
- _("Delay before submenus appear"),
- _("Minimum time the pointer must stay over a menu item before the submenu appear"),
+ P_("Delay before submenus appear"),
+ P_("Minimum time the pointer must stay over a menu item before the submenu appear"),
0,
G_MAXINT,
DEFAULT_POPUP_DELAY,
G_PARAM_READWRITE));
gtk_settings_install_property (g_param_spec_int ("gtk-menu-popdown-delay",
- _("Delay before hiding a submenu"),
- _("The time before hiding a submenu when the pointer is moving towards the submenu"),
+ P_("Delay before hiding a submenu"),
+ P_("The time before hiding a submenu when the pointer is moving towards the submenu"),
0,
G_MAXINT,
DEFAULT_POPDOWN_DELAY,
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index 30a1ff74cd..2842d201cb 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -153,24 +153,24 @@ gtk_menu_bar_class_init (GtkMenuBarClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("shadow_type",
- _("Shadow type"),
- _("Style of bevel around the menubar"),
+ P_("Shadow type"),
+ P_("Style of bevel around the menubar"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_OUT,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("internal_padding",
- _("Internal padding"),
- _("Amount of border space between the menubar shadow and the menu items"),
+ P_("Internal padding"),
+ P_("Amount of border space between the menubar shadow and the menu items"),
0,
G_MAXINT,
DEFAULT_IPADDING,
G_PARAM_READABLE));
gtk_settings_install_property (g_param_spec_int ("gtk-menu-bar-popup-delay",
- _("Delay before drop down menus appear"),
- _("Delay before the submenus of a menu bar appear"),
+ P_("Delay before drop down menus appear"),
+ P_("Delay before the submenus of a menu bar appear"),
0,
G_MAXINT,
0,
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index 22d1e2ff2a..4c74ffeb99 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -103,8 +103,8 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("message_border",
- _("Image/label border"),
- _("Width of border around the label and image in the message dialog"),
+ P_("Image/label border"),
+ P_("Width of border around the label and image in the message dialog"),
0,
G_MAXINT,
8,
@@ -112,16 +112,16 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
g_object_class_install_property (gobject_class,
PROP_MESSAGE_TYPE,
g_param_spec_enum ("message_type",
- _("Message Type"),
- _("The type of message"),
+ P_("Message Type"),
+ P_("The type of message"),
GTK_TYPE_MESSAGE_TYPE,
GTK_MESSAGE_INFO,
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_BUTTONS,
g_param_spec_enum ("buttons",
- _("Message Buttons"),
- _("The buttons shown in the message dialog"),
+ P_("Message Buttons"),
+ P_("The buttons shown in the message dialog"),
GTK_TYPE_BUTTONS_TYPE,
GTK_BUTTONS_NONE,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
diff --git a/gtk/gtkmisc.c b/gtk/gtkmisc.c
index fbbbe03d37..fd9ff5cad7 100644
--- a/gtk/gtkmisc.c
+++ b/gtk/gtkmisc.c
@@ -95,8 +95,8 @@ gtk_misc_class_init (GtkMiscClass *class)
g_object_class_install_property (gobject_class,
PROP_XALIGN,
g_param_spec_float ("xalign",
- _("X align"),
- _("The horizontal alignment, from 0 (left) to 1 (right)"),
+ P_("X align"),
+ P_("The horizontal alignment, from 0 (left) to 1 (right)"),
0.0,
1.0,
0.5,
@@ -105,8 +105,8 @@ gtk_misc_class_init (GtkMiscClass *class)
g_object_class_install_property (gobject_class,
PROP_YALIGN,
g_param_spec_float ("yalign",
- _("Y align"),
- _("The vertical alignment, from 0 (top) to 1 (bottom)"),
+ P_("Y align"),
+ P_("The vertical alignment, from 0 (top) to 1 (bottom)"),
0.0,
1.0,
0.5,
@@ -115,8 +115,8 @@ gtk_misc_class_init (GtkMiscClass *class)
g_object_class_install_property (gobject_class,
PROP_XPAD,
g_param_spec_int ("xpad",
- _("X pad"),
- _("The amount of space to add on the left and right of the widget, in pixels"),
+ P_("X pad"),
+ P_("The amount of space to add on the left and right of the widget, in pixels"),
0,
G_MAXINT,
0,
@@ -125,8 +125,8 @@ gtk_misc_class_init (GtkMiscClass *class)
g_object_class_install_property (gobject_class,
PROP_YPAD,
g_param_spec_int ("ypad",
- _("Y pad"),
- _("The amount of space to add on the top and bottom of the widget, in pixels"),
+ P_("Y pad"),
+ P_("The amount of space to add on the top and bottom of the widget, in pixels"),
0,
G_MAXINT,
0,
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 5b38af8b45..6a3ad39cda 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -393,8 +393,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
g_object_class_install_property (gobject_class,
PROP_PAGE,
g_param_spec_int ("page",
- _("Page"),
- _("The index of the current page"),
+ P_("Page"),
+ P_("The index of the current page"),
0,
G_MAXINT,
0,
@@ -402,16 +402,16 @@ gtk_notebook_class_init (GtkNotebookClass *class)
g_object_class_install_property (gobject_class,
PROP_TAB_POS,
g_param_spec_enum ("tab_pos",
- _("Tab Position"),
- _("Which side of the notebook holds the tabs"),
+ P_("Tab Position"),
+ P_("Which side of the notebook holds the tabs"),
GTK_TYPE_POSITION_TYPE,
GTK_POS_TOP,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_TAB_BORDER,
g_param_spec_uint ("tab_border",
- _("Tab Border"),
- _("Width of the border around the tab labels"),
+ P_("Tab Border"),
+ P_("Width of the border around the tab labels"),
0,
G_MAXUINT,
2,
@@ -419,8 +419,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
g_object_class_install_property (gobject_class,
PROP_TAB_HBORDER,
g_param_spec_uint ("tab_hborder",
- _("Horizontal Tab Border"),
- _("Width of the horizontal border of tab labels"),
+ P_("Horizontal Tab Border"),
+ P_("Width of the horizontal border of tab labels"),
0,
G_MAXUINT,
2,
@@ -428,8 +428,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
g_object_class_install_property (gobject_class,
PROP_TAB_VBORDER,
g_param_spec_uint ("tab_vborder",
- _("Vertical Tab Border"),
- _("Width of the vertical border of tab labels"),
+ P_("Vertical Tab Border"),
+ P_("Width of the vertical border of tab labels"),
0,
G_MAXUINT,
2,
@@ -437,79 +437,79 @@ gtk_notebook_class_init (GtkNotebookClass *class)
g_object_class_install_property (gobject_class,
PROP_SHOW_TABS,
g_param_spec_boolean ("show_tabs",
- _("Show Tabs"),
- _("Whether tabs should be shown or not"),
+ P_("Show Tabs"),
+ P_("Whether tabs should be shown or not"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SHOW_BORDER,
g_param_spec_boolean ("show_border",
- _("Show Border"),
- _("Whether the border should be shown or not"),
+ P_("Show Border"),
+ P_("Whether the border should be shown or not"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SCROLLABLE,
g_param_spec_boolean ("scrollable",
- _("Scrollable"),
- _("If TRUE, scroll arrows are added if there are too many tabs to fit"),
+ P_("Scrollable"),
+ P_("If TRUE, scroll arrows are added if there are too many tabs to fit"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ENABLE_POPUP,
g_param_spec_boolean ("enable_popup",
- _("Enable Popup"),
- _("If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page"),
+ P_("Enable Popup"),
+ P_("If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_HOMOGENEOUS,
g_param_spec_boolean ("homogeneous",
- _("Homogeneous"),
- _("Whether tabs should have homogeneous sizes"),
+ P_("Homogeneous"),
+ P_("Whether tabs should have homogeneous sizes"),
FALSE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_LABEL,
g_param_spec_string ("tab_label",
- _("Tab label"),
- _("The string displayed on the childs tab label"),
+ P_("Tab label"),
+ P_("The string displayed on the childs tab label"),
NULL,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_MENU_LABEL,
g_param_spec_string ("menu_label",
- _("Menu label"),
- _("The string displayed in the childs menu entry"),
+ P_("Menu label"),
+ P_("The string displayed in the childs menu entry"),
NULL,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_POSITION,
g_param_spec_int ("position",
- _("Position"),
- _("The index of the child in the parent"),
+ P_("Position"),
+ P_("The index of the child in the parent"),
-1, G_MAXINT, 0,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_EXPAND,
g_param_spec_boolean ("tab_expand",
- _("Tab expand"),
- _("Whether to expand the childs tab or not"),
+ P_("Tab expand"),
+ P_("Whether to expand the childs tab or not"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_FILL,
g_param_spec_boolean ("tab_fill",
- _("Tab fill"),
- _("Wheather the childs tab should fill the allocated area or not"),
+ P_("Tab fill"),
+ P_("Wheather the childs tab should fill the allocated area or not"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_PACK,
g_param_spec_enum ("tab_pack",
- _("Tab pack type"),
- _("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
+ P_("Tab pack type"),
+ P_("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
GTK_TYPE_PACK_TYPE, GTK_PACK_START,
G_PARAM_READWRITE));
@@ -524,8 +524,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_secondary backward_stepper",
- _("Secondary backward stepper"),
- _("Display a second backward arrow button on the opposite end of the tab area"),
+ P_("Secondary backward stepper"),
+ P_("Display a second backward arrow button on the opposite end of the tab area"),
FALSE,
G_PARAM_READABLE));
@@ -541,8 +541,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_secondary_forward_stepper",
- _("Secondary forward stepper"),
- _("Display a second forward arrow button on the opposite end of the tab area"),
+ P_("Secondary forward stepper"),
+ P_("Display a second forward arrow button on the opposite end of the tab area"),
FALSE,
G_PARAM_READABLE));
@@ -557,8 +557,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_backward_stepper",
- _("Backward stepper"),
- _("Display the standard backward arrow button"),
+ P_("Backward stepper"),
+ P_("Display the standard backward arrow button"),
TRUE,
G_PARAM_READABLE));
@@ -573,8 +573,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_forward_stepper",
- _("Forward stepper"),
- _("Display the standard forward arrow button"),
+ P_("Forward stepper"),
+ P_("Display the standard forward arrow button"),
TRUE,
G_PARAM_READABLE));
diff --git a/gtk/gtkoptionmenu.c b/gtk/gtkoptionmenu.c
index 02ed6a315a..139f7ca84b 100644
--- a/gtk/gtkoptionmenu.c
+++ b/gtk/gtkoptionmenu.c
@@ -189,21 +189,21 @@ gtk_option_menu_class_init (GtkOptionMenuClass *class)
g_object_class_install_property (gobject_class,
PROP_MENU,
g_param_spec_object ("menu",
- _("Menu"),
- _("The menu of options"),
+ P_("Menu"),
+ P_("The menu of options"),
GTK_TYPE_MENU,
G_PARAM_READABLE | G_PARAM_WRITABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("indicator_size",
- _("Indicator Size"),
- _("Size of dropdown indicator"),
+ P_("Indicator Size"),
+ P_("Size of dropdown indicator"),
GTK_TYPE_REQUISITION,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("indicator_spacing",
- _("Indicator Spacing"),
- _("Spacing around indicator"),
+ P_("Indicator Spacing"),
+ P_("Spacing around indicator"),
GTK_TYPE_BORDER,
G_PARAM_READABLE));
}
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 1561e46d64..f3141a7afb 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -235,8 +235,8 @@ gtk_paned_class_init (GtkPanedClass *class)
g_object_class_install_property (object_class,
PROP_POSITION,
g_param_spec_int ("position",
- _("Position"),
- _("Position of paned separator in pixels (0 means all the way to the left/top)"),
+ P_("Position"),
+ P_("Position of paned separator in pixels (0 means all the way to the left/top)"),
0,
G_MAXINT,
0,
@@ -244,15 +244,15 @@ gtk_paned_class_init (GtkPanedClass *class)
g_object_class_install_property (object_class,
PROP_POSITION_SET,
g_param_spec_boolean ("position_set",
- _("Position Set"),
- _("TRUE if the Position property should be used"),
+ P_("Position Set"),
+ P_("TRUE if the Position property should be used"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("handle_size",
- _("Handle Size"),
- _("Width of handle"),
+ P_("Handle Size"),
+ P_("Width of handle"),
0,
G_MAXINT,
5,
@@ -268,8 +268,8 @@ gtk_paned_class_init (GtkPanedClass *class)
g_object_class_install_property (object_class,
PROP_MIN_POSITION,
g_param_spec_int ("min_position",
- _("Minimal Position"),
- _("Smallest possible value for the \"position\" property"),
+ P_("Minimal Position"),
+ P_("Smallest possible value for the \"position\" property"),
0,
G_MAXINT,
0,
@@ -286,8 +286,8 @@ gtk_paned_class_init (GtkPanedClass *class)
g_object_class_install_property (object_class,
PROP_MIN_POSITION,
g_param_spec_int ("max_position",
- _("Maximal Position"),
- _("Largest possible value for the \"position\" property"),
+ P_("Maximal Position"),
+ P_("Largest possible value for the \"position\" property"),
0,
G_MAXINT,
G_MAXINT,
@@ -304,8 +304,8 @@ gtk_paned_class_init (GtkPanedClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_RESIZE,
g_param_spec_boolean ("resize",
- _("Resize"),
- _("If TRUE, the child expands and shrinks along with the paned widget"),
+ P_("Resize"),
+ P_("If TRUE, the child expands and shrinks along with the paned widget"),
TRUE,
G_PARAM_READWRITE));
@@ -320,8 +320,8 @@ gtk_paned_class_init (GtkPanedClass *class)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_SHRINK,
g_param_spec_boolean ("shrink",
- _("Shrink"),
- _("If TRUE, the child can be made smaller than its requisition"),
+ P_("Shrink"),
+ P_("If TRUE, the child can be made smaller than its requisition"),
TRUE,
G_PARAM_READWRITE));
diff --git a/gtk/gtkpreview.c b/gtk/gtkpreview.c
index a5666ad707..b9f20087e6 100644
--- a/gtk/gtkpreview.c
+++ b/gtk/gtkpreview.c
@@ -129,8 +129,8 @@ gtk_preview_class_init (GtkPreviewClass *klass)
g_object_class_install_property (gobject_class,
PROP_EXPAND,
g_param_spec_boolean ("expand",
- _("Expand"),
- _("Whether the preview widget should take up the entire space it is allocated"),
+ P_("Expand"),
+ P_("Whether the preview widget should take up the entire space it is allocated"),
FALSE,
G_PARAM_READWRITE));
}
diff --git a/gtk/gtkprogress.c b/gtk/gtkprogress.c
index ddcdc08ed1..4f95952e04 100644
--- a/gtk/gtkprogress.c
+++ b/gtk/gtkprogress.c
@@ -126,24 +126,24 @@ gtk_progress_class_init (GtkProgressClass *class)
g_object_class_install_property (gobject_class,
PROP_ACTIVITY_MODE,
g_param_spec_boolean ("activity_mode",
- _("Activity mode"),
- _("If TRUE the GtkProgress is in activity mode, meaning that it signals something is happening, but not how much of the activity is finished. This is used when you're doing something that you don't know how long it will take"),
+ P_("Activity mode"),
+ P_("If TRUE the GtkProgress is in activity mode, meaning that it signals something is happening, but not how much of the activity is finished. This is used when you're doing something that you don't know how long it will take"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SHOW_TEXT,
g_param_spec_boolean ("show_text",
- _("Show text"),
- _("Whether the progress is shown as text"),
+ P_("Show text"),
+ P_("Whether the progress is shown as text"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_TEXT_XALIGN,
g_param_spec_float ("text_xalign",
- _("Text x alignment"),
- _("A number between 0.0 and 1.0 specifying the horizontal alignment of the text in the progress widget"),
+ P_("Text x alignment"),
+ P_("A number between 0.0 and 1.0 specifying the horizontal alignment of the text in the progress widget"),
0.0,
1.0,
0.5,
@@ -151,8 +151,8 @@ gtk_progress_class_init (GtkProgressClass *class)
g_object_class_install_property (gobject_class,
PROP_TEXT_YALIGN,
g_param_spec_float ("text_yalign",
- _("Text y alignment"),
- _("A number between 0.0 and 1.0 specifying the vertical alignment of the text in the progress widget"),
+ P_("Text y alignment"),
+ P_("A number between 0.0 and 1.0 specifying the vertical alignment of the text in the progress widget"),
0.0,
1.0,
0.5,
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index b679722b85..1192a8302f 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -139,16 +139,16 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
g_object_class_install_property (gobject_class,
PROP_ADJUSTMENT,
g_param_spec_object ("adjustment",
- _("Adjustment"),
- _("The GtkAdjustment connected to the progress bar (Deprecated)"),
+ P_("Adjustment"),
+ P_("The GtkAdjustment connected to the progress bar (Deprecated)"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ORIENTATION,
g_param_spec_enum ("orientation",
- _("Orientation"),
- _("Orientation and growth direction of the progress bar"),
+ P_("Orientation"),
+ P_("Orientation and growth direction of the progress bar"),
GTK_TYPE_PROGRESS_BAR_ORIENTATION,
GTK_PROGRESS_LEFT_TO_RIGHT,
G_PARAM_READWRITE));
@@ -156,8 +156,8 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
g_object_class_install_property (gobject_class,
PROP_BAR_STYLE,
g_param_spec_enum ("bar_style",
- _("Bar style"),
- _("Specifies the visual style of the bar in percentage mode (Deprecated)"),
+ P_("Bar style"),
+ P_("Specifies the visual style of the bar in percentage mode (Deprecated)"),
GTK_TYPE_PROGRESS_BAR_STYLE,
GTK_PROGRESS_CONTINUOUS,
G_PARAM_READWRITE));
@@ -165,8 +165,8 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
g_object_class_install_property (gobject_class,
PROP_ACTIVITY_STEP,
g_param_spec_uint ("activity_step",
- _("Activity Step"),
- _("The increment used for each iteration in activity mode (Deprecated)"),
+ P_("Activity Step"),
+ P_("The increment used for each iteration in activity mode (Deprecated)"),
-G_MAXUINT,
G_MAXUINT,
3,
@@ -175,8 +175,8 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
g_object_class_install_property (gobject_class,
PROP_ACTIVITY_BLOCKS,
g_param_spec_uint ("activity_blocks",
- _("Activity Blocks"),
- _("The number of blocks which can fit in the progress bar area in activity mode (Deprecated)"),
+ P_("Activity Blocks"),
+ P_("The number of blocks which can fit in the progress bar area in activity mode (Deprecated)"),
2,
G_MAXUINT,
5,
@@ -185,8 +185,8 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
g_object_class_install_property (gobject_class,
PROP_DISCRETE_BLOCKS,
g_param_spec_uint ("discrete_blocks",
- _("Discrete Blocks"),
- _("The number of discrete blocks in a progress bar (when shown in the discrete style)"),
+ P_("Discrete Blocks"),
+ P_("The number of discrete blocks in a progress bar (when shown in the discrete style)"),
2,
G_MAXUINT,
10,
@@ -195,8 +195,8 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
g_object_class_install_property (gobject_class,
PROP_FRACTION,
g_param_spec_double ("fraction",
- _("Fraction"),
- _("The fraction of total work that has been completed"),
+ P_("Fraction"),
+ P_("The fraction of total work that has been completed"),
0.0,
1.0,
0.0,
@@ -205,8 +205,8 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
g_object_class_install_property (gobject_class,
PROP_PULSE_STEP,
g_param_spec_double ("pulse_step",
- _("Pulse Step"),
- _("The fraction of total progress to move the bouncing block when pulsed"),
+ P_("Pulse Step"),
+ P_("The fraction of total progress to move the bouncing block when pulsed"),
0.0,
1.0,
0.1,
@@ -215,8 +215,8 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
g_object_class_install_property (gobject_class,
PROP_TEXT,
g_param_spec_string ("text",
- _("Text"),
- _("Text to be displayed in the progress bar"),
+ P_("Text"),
+ P_("Text to be displayed in the progress bar"),
"%P %%",
G_PARAM_READWRITE));
diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c
index f61168c316..8492a7ff16 100644
--- a/gtk/gtkradioaction.c
+++ b/gtk/gtkradioaction.c
@@ -135,8 +135,8 @@ gtk_radio_action_class_init (GtkRadioActionClass *klass)
g_object_class_install_property (gobject_class,
PROP_VALUE,
g_param_spec_int ("value",
- _("The value"),
- _("The value returned by gtk_radio_action_get_current_value() when this action is the current action of its group."),
+ P_("The value"),
+ P_("The value returned by gtk_radio_action_get_current_value() when this action is the current action of its group."),
G_MININT,
G_MAXINT,
0,
@@ -152,8 +152,8 @@ gtk_radio_action_class_init (GtkRadioActionClass *klass)
g_object_class_install_property (gobject_class,
PROP_GROUP,
g_param_spec_object ("group",
- _("Group"),
- _("The radio action whose group this action belongs."),
+ P_("Group"),
+ P_("The radio action whose group this action belongs."),
GTK_TYPE_RADIO_ACTION,
G_PARAM_WRITABLE));
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index c1c25ddab2..f850ffaa49 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -106,8 +106,8 @@ gtk_radio_button_class_init (GtkRadioButtonClass *class)
g_object_class_install_property (gobject_class,
PROP_GROUP,
g_param_spec_object ("group",
- _("Group"),
- _("The radio button whose group this widget belongs."),
+ P_("Group"),
+ P_("The radio button whose group this widget belongs."),
GTK_TYPE_RADIO_BUTTON,
G_PARAM_WRITABLE));
object_class->destroy = gtk_radio_button_destroy;
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 301728613c..d277de8f18 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -278,8 +278,8 @@ gtk_range_class_init (GtkRangeClass *class)
g_object_class_install_property (gobject_class,
PROP_UPDATE_POLICY,
g_param_spec_enum ("update_policy",
- _("Update policy"),
- _("How the range should be updated on the screen"),
+ P_("Update policy"),
+ P_("How the range should be updated on the screen"),
GTK_TYPE_UPDATE_TYPE,
GTK_UPDATE_CONTINUOUS,
G_PARAM_READWRITE));
@@ -287,63 +287,63 @@ gtk_range_class_init (GtkRangeClass *class)
g_object_class_install_property (gobject_class,
PROP_ADJUSTMENT,
g_param_spec_object ("adjustment",
- _("Adjustment"),
- _("The GtkAdjustment that contains the current value of this range object"),
+ P_("Adjustment"),
+ P_("The GtkAdjustment that contains the current value of this range object"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_INVERTED,
g_param_spec_boolean ("inverted",
- _("Inverted"),
- _("Invert direction slider moves to increase range value"),
+ P_("Inverted"),
+ P_("Invert direction slider moves to increase range value"),
FALSE,
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("slider_width",
- _("Slider Width"),
- _("Width of scrollbar or scale thumb"),
+ P_("Slider Width"),
+ P_("Width of scrollbar or scale thumb"),
0,
G_MAXINT,
14,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("trough_border",
- _("Trough Border"),
- _("Spacing between thumb/steppers and outer trough bevel"),
+ P_("Trough Border"),
+ P_("Spacing between thumb/steppers and outer trough bevel"),
0,
G_MAXINT,
1,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("stepper_size",
- _("Stepper Size"),
- _("Length of step buttons at ends"),
+ P_("Stepper Size"),
+ P_("Length of step buttons at ends"),
0,
G_MAXINT,
14,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("stepper_spacing",
- _("Stepper Spacing"),
- _("Spacing between step buttons and thumb"),
+ P_("Stepper Spacing"),
+ P_("Spacing between step buttons and thumb"),
0,
G_MAXINT,
0,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("arrow_displacement_x",
- _("Arrow X Displacement"),
- _("How far in the x direction to move the arrow when the button is depressed"),
+ P_("Arrow X Displacement"),
+ P_("How far in the x direction to move the arrow when the button is depressed"),
G_MININT,
G_MAXINT,
0,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("arrow_displacement_y",
- _("Arrow Y Displacement"),
- _("How far in the y direction to move the arrow when the button is depressed"),
+ P_("Arrow Y Displacement"),
+ P_("How far in the y direction to move the arrow when the button is depressed"),
G_MININT,
G_MAXINT,
0,
diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c
index 67f126f275..2bf9be46a8 100644
--- a/gtk/gtkruler.c
+++ b/gtk/gtkruler.c
@@ -115,8 +115,8 @@ gtk_ruler_class_init (GtkRulerClass *class)
g_object_class_install_property (gobject_class,
PROP_LOWER,
g_param_spec_double ("lower",
- _("Lower"),
- _("Lower limit of ruler"),
+ P_("Lower"),
+ P_("Lower limit of ruler"),
-G_MAXDOUBLE,
G_MAXDOUBLE,
0.0,
@@ -125,8 +125,8 @@ gtk_ruler_class_init (GtkRulerClass *class)
g_object_class_install_property (gobject_class,
PROP_UPPER,
g_param_spec_double ("upper",
- _("Upper"),
- _("Upper limit of ruler"),
+ P_("Upper"),
+ P_("Upper limit of ruler"),
-G_MAXDOUBLE,
G_MAXDOUBLE,
0.0,
@@ -135,8 +135,8 @@ gtk_ruler_class_init (GtkRulerClass *class)
g_object_class_install_property (gobject_class,
PROP_POSITION,
g_param_spec_double ("position",
- _("Position"),
- _("Position of mark on the ruler"),
+ P_("Position"),
+ P_("Position of mark on the ruler"),
-G_MAXDOUBLE,
G_MAXDOUBLE,
0.0,
@@ -145,8 +145,8 @@ gtk_ruler_class_init (GtkRulerClass *class)
g_object_class_install_property (gobject_class,
PROP_MAX_SIZE,
g_param_spec_double ("max_size",
- _("Max Size"),
- _("Maximum size of the ruler"),
+ P_("Max Size"),
+ P_("Maximum size of the ruler"),
-G_MAXDOUBLE,
G_MAXDOUBLE,
0.0,
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 598d9dc1ab..6f65ca7de6 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -153,8 +153,8 @@ gtk_scale_class_init (GtkScaleClass *class)
g_object_class_install_property (gobject_class,
PROP_DIGITS,
g_param_spec_int ("digits",
- _("Digits"),
- _("The number of decimal places that are displayed in the value"),
+ P_("Digits"),
+ P_("The number of decimal places that are displayed in the value"),
-1,
MAX_DIGITS,
1,
@@ -163,24 +163,24 @@ gtk_scale_class_init (GtkScaleClass *class)
g_object_class_install_property (gobject_class,
PROP_DRAW_VALUE,
g_param_spec_boolean ("draw_value",
- _("Draw Value"),
- _("Whether the current value is displayed as a string next to the slider"),
+ P_("Draw Value"),
+ P_("Whether the current value is displayed as a string next to the slider"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_VALUE_POS,
g_param_spec_enum ("value_pos",
- _("Value Position"),
- _("The position in which the current value is displayed"),
+ P_("Value Position"),
+ P_("The position in which the current value is displayed"),
GTK_TYPE_POSITION_TYPE,
GTK_POS_LEFT,
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("slider_length",
- _("Slider Length"),
- _("Length of scale's slider"),
+ P_("Slider Length"),
+ P_("Length of scale's slider"),
0,
G_MAXINT,
31,
@@ -188,8 +188,8 @@ gtk_scale_class_init (GtkScaleClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("value_spacing",
- _("Value spacing"),
- _("Space between value text and the slider/trough area"),
+ P_("Value spacing"),
+ P_("Space between value text and the slider/trough area"),
0,
G_MAXINT,
2,
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index 87ef9ef8e2..d682e766d7 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -77,8 +77,8 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("min_slider_length",
- _("Minimum Slider Length"),
- _("Minimum length of scrollbar slider"),
+ P_("Minimum Slider Length"),
+ P_("Minimum length of scrollbar slider"),
0,
G_MAXINT,
21,
@@ -86,40 +86,40 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("fixed_slider_length",
- _("Fixed slider size"),
- _("Don't change slider size, just lock it to the minimum length"),
+ P_("Fixed slider size"),
+ P_("Don't change slider size, just lock it to the minimum length"),
FALSE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_backward_stepper",
- _("Backward stepper"),
- _("Display the standard backward arrow button"),
+ P_("Backward stepper"),
+ P_("Display the standard backward arrow button"),
TRUE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_forward_stepper",
- _("Forward stepper"),
- _("Display the standard forward arrow button"),
+ P_("Forward stepper"),
+ P_("Display the standard forward arrow button"),
TRUE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_secondary_backward_stepper",
- _("Secondary backward stepper"),
- _("Display a second backward arrow button on the opposite end of the scrollbar"),
+ P_("Secondary backward stepper"),
+ P_("Display a second backward arrow button on the opposite end of the scrollbar"),
FALSE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("has_secondary_forward_stepper",
- _("Secondary forward stepper"),
- _("Display a secondary forward arrow button on the opposite end of the scrollbar"),
+ P_("Secondary forward stepper"),
+ P_("Display a secondary forward arrow button on the opposite end of the scrollbar"),
FALSE,
G_PARAM_READABLE));
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index c2fbfc555a..067e0c1fb2 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -232,30 +232,30 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
g_object_class_install_property (gobject_class,
PROP_HADJUSTMENT,
g_param_spec_object ("hadjustment",
- _("Horizontal Adjustment"),
- _("The GtkAdjustment for the horizontal position"),
+ P_("Horizontal Adjustment"),
+ P_("The GtkAdjustment for the horizontal position"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_VADJUSTMENT,
g_param_spec_object ("vadjustment",
- _("Vertical Adjustment"),
- _("The GtkAdjustment for the vertical position"),
+ P_("Vertical Adjustment"),
+ P_("The GtkAdjustment for the vertical position"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_HSCROLLBAR_POLICY,
g_param_spec_enum ("hscrollbar_policy",
- _("Horizontal Scrollbar Policy"),
- _("When the horizontal scrollbar is displayed"),
+ P_("Horizontal Scrollbar Policy"),
+ P_("When the horizontal scrollbar is displayed"),
GTK_TYPE_POLICY_TYPE,
GTK_POLICY_ALWAYS,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_VSCROLLBAR_POLICY,
g_param_spec_enum ("vscrollbar_policy",
- _("Vertical Scrollbar Policy"),
- _("When the vertical scrollbar is displayed"),
+ P_("Vertical Scrollbar Policy"),
+ P_("When the vertical scrollbar is displayed"),
GTK_TYPE_POLICY_TYPE,
GTK_POLICY_ALWAYS,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -263,24 +263,24 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
g_object_class_install_property (gobject_class,
PROP_WINDOW_PLACEMENT,
g_param_spec_enum ("window_placement",
- _("Window Placement"),
- _("Where the contents are located with respect to the scrollbars"),
+ P_("Window Placement"),
+ P_("Where the contents are located with respect to the scrollbars"),
GTK_TYPE_CORNER_TYPE,
GTK_CORNER_TOP_LEFT,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_SHADOW_TYPE,
g_param_spec_enum ("shadow_type",
- _("Shadow Type"),
- _("Style of bevel around the contents"),
+ P_("Shadow Type"),
+ P_("Style of bevel around the contents"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_NONE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("scrollbar_spacing",
- _("Scrollbar spacing"),
- _("Number of pixels between the scrollbars and the scrolled window"),
+ P_("Scrollbar spacing"),
+ P_("Number of pixels between the scrollbars and the scrolled window"),
0,
G_MAXINT,
DEFAULT_SCROLLBAR_SPACING,
diff --git a/gtk/gtkseparatortoolitem.c b/gtk/gtkseparatortoolitem.c
index a37f66de4e..4c37597ca7 100644
--- a/gtk/gtkseparatortoolitem.c
+++ b/gtk/gtkseparatortoolitem.c
@@ -156,8 +156,8 @@ gtk_separator_tool_item_class_init (GtkSeparatorToolItemClass *class)
g_object_class_install_property (object_class,
PROP_DRAW,
g_param_spec_boolean ("draw",
- _("Draw"),
- _("Whether the separator is drawn, or just blank"),
+ P_("Draw"),
+ P_("Whether the separator is drawn, or just blank"),
TRUE,
G_PARAM_READWRITE));
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index ec324c7520..1215db1b81 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -167,64 +167,64 @@ gtk_settings_class_init (GtkSettingsClass *class)
result = settings_install_property_parser (class,
g_param_spec_int ("gtk-double-click-time",
- _("Double Click Time"),
- _("Maximum time allowed between two clicks for them to be considered a double click (in milliseconds)"),
+ P_("Double Click Time"),
+ P_("Maximum time allowed between two clicks for them to be considered a double click (in milliseconds)"),
0, G_MAXINT, 250,
G_PARAM_READWRITE),
NULL);
g_assert (result == PROP_DOUBLE_CLICK_TIME);
result = settings_install_property_parser (class,
g_param_spec_int ("gtk-double-click-distance",
- _("Double Click Distance"),
- _("Maximum distance allowed between two clicks for them to be considered a double click (in pixels)"),
+ P_("Double Click Distance"),
+ P_("Maximum distance allowed between two clicks for them to be considered a double click (in pixels)"),
0, G_MAXINT, 5,
G_PARAM_READWRITE),
NULL);
g_assert (result == PROP_DOUBLE_CLICK_DISTANCE);
result = settings_install_property_parser (class,
g_param_spec_boolean ("gtk-cursor-blink",
- _("Cursor Blink"),
- _("Whether the cursor should blink"),
+ P_("Cursor Blink"),
+ P_("Whether the cursor should blink"),
TRUE,
G_PARAM_READWRITE),
NULL);
g_assert (result == PROP_CURSOR_BLINK);
result = settings_install_property_parser (class,
g_param_spec_int ("gtk-cursor-blink-time",
- _("Cursor Blink Time"),
- _("Length of the cursor blink cycle, in milleseconds"),
+ P_("Cursor Blink Time"),
+ P_("Length of the cursor blink cycle, in milleseconds"),
100, G_MAXINT, 1200,
G_PARAM_READWRITE),
NULL);
g_assert (result == PROP_CURSOR_BLINK_TIME);
result = settings_install_property_parser (class,
g_param_spec_boolean ("gtk-split-cursor",
- _("Split Cursor"),
- _("Whether two cursors should be displayed for mixed left-to-right and right-to-left text"),
+ P_("Split Cursor"),
+ P_("Whether two cursors should be displayed for mixed left-to-right and right-to-left text"),
TRUE,
G_PARAM_READWRITE),
NULL);
g_assert (result == PROP_SPLIT_CURSOR);
result = settings_install_property_parser (class,
g_param_spec_string ("gtk-theme-name",
- _("Theme Name"),
- _("Name of theme RC file to load"),
+ P_("Theme Name"),
+ P_("Name of theme RC file to load"),
"Default",
G_PARAM_READWRITE),
NULL);
g_assert (result == PROP_THEME_NAME);
result = settings_install_property_parser (class,
g_param_spec_string ("gtk-icon-theme-name",
- _("Icon Theme Name"),
- _("Name of icon theme to use"),
+ P_("Icon Theme Name"),
+ P_("Name of icon theme to use"),
"hicolor",
G_PARAM_READWRITE),
NULL);
g_assert (result == PROP_ICON_THEME_NAME);
result = settings_install_property_parser (class,
g_param_spec_string ("gtk-key-theme-name",
- _("Key Theme Name"),
- _("Name of key theme RC file to load"),
+ P_("Key Theme Name"),
+ P_("Name of key theme RC file to load"),
NULL,
G_PARAM_READWRITE),
NULL);
@@ -232,8 +232,8 @@ gtk_settings_class_init (GtkSettingsClass *class)
result = settings_install_property_parser (class,
g_param_spec_string ("gtk-menu-bar-accel",
- _("Menu bar accelerator"),
- _("Keybinding to activate the menu bar"),
+ P_("Menu bar accelerator"),
+ P_("Keybinding to activate the menu bar"),
"F10",
G_PARAM_READWRITE),
NULL);
@@ -241,8 +241,8 @@ gtk_settings_class_init (GtkSettingsClass *class)
result = settings_install_property_parser (class,
g_param_spec_int ("gtk-dnd-drag-threshold",
- _("Drag threshold"),
- _("Number of pixels the cursor can move before dragging"),
+ P_("Drag threshold"),
+ P_("Number of pixels the cursor can move before dragging"),
1, G_MAXINT, 8,
G_PARAM_READWRITE),
NULL);
@@ -250,8 +250,8 @@ gtk_settings_class_init (GtkSettingsClass *class)
result = settings_install_property_parser (class,
g_param_spec_string ("gtk-font-name",
- _("Font Name"),
- _("Name of default font to use"),
+ P_("Font Name"),
+ P_("Name of default font to use"),
"Sans 10",
G_PARAM_READWRITE),
NULL);
@@ -259,8 +259,8 @@ gtk_settings_class_init (GtkSettingsClass *class)
result = settings_install_property_parser (class,
g_param_spec_string ("gtk-icon-sizes",
- _("Icon Sizes"),
- _("List of icon sizes (gtk-menu=16,16;gtk-button=20,20..."),
+ P_("Icon Sizes"),
+ P_("List of icon sizes (gtk-menu=16,16;gtk-button=20,20..."),
NULL,
G_PARAM_READWRITE),
NULL);
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c
index 2e876054fa..8a90036c3b 100644
--- a/gtk/gtksizegroup.c
+++ b/gtk/gtksizegroup.c
@@ -238,8 +238,8 @@ gtk_size_group_class_init (GtkSizeGroupClass *klass)
g_object_class_install_property (gobject_class,
PROP_MODE,
g_param_spec_enum ("mode",
- _("Mode"),
- _("The directions in which the size group effects the requested sizes"
+ P_("Mode"),
+ P_("The directions in which the size group effects the requested sizes"
" of its component widgets"),
GTK_TYPE_SIZE_GROUP_MODE,
GTK_SIZE_GROUP_HORIZONTAL,
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 64b0df7bad..ebed987bb6 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -237,16 +237,16 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
g_object_class_install_property (gobject_class,
PROP_ADJUSTMENT,
g_param_spec_object ("adjustment",
- _("Adjustment"),
- _("The adjustment that holds the value of the spinbutton"),
+ P_("Adjustment"),
+ P_("The adjustment that holds the value of the spinbutton"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_CLIMB_RATE,
g_param_spec_double ("climb_rate",
- _("Climb Rate"),
- _("The acceleration rate when you hold down a button"),
+ P_("Climb Rate"),
+ P_("The acceleration rate when you hold down a button"),
0.0,
G_MAXDOUBLE,
0.0,
@@ -255,8 +255,8 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
g_object_class_install_property (gobject_class,
PROP_DIGITS,
g_param_spec_uint ("digits",
- _("Digits"),
- _("The number of decimal places to display"),
+ P_("Digits"),
+ P_("The number of decimal places to display"),
0,
MAX_DIGITS,
0,
@@ -265,32 +265,32 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
g_object_class_install_property (gobject_class,
PROP_SNAP_TO_TICKS,
g_param_spec_boolean ("snap_to_ticks",
- _("Snap to Ticks"),
- _("Whether erroneous values are automatically changed to a spin button's nearest step increment"),
+ P_("Snap to Ticks"),
+ P_("Whether erroneous values are automatically changed to a spin button's nearest step increment"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_NUMERIC,
g_param_spec_boolean ("numeric",
- _("Numeric"),
- _("Whether non-numeric characters should be ignored"),
+ P_("Numeric"),
+ P_("Whether non-numeric characters should be ignored"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_WRAP,
g_param_spec_boolean ("wrap",
- _("Wrap"),
- _("Whether a spin button should wrap upon reaching its limits"),
+ P_("Wrap"),
+ P_("Whether a spin button should wrap upon reaching its limits"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_UPDATE_POLICY,
g_param_spec_enum ("update_policy",
- _("Update Policy"),
- _("Whether the spin button should update always, or only when the value is legal"),
+ P_("Update Policy"),
+ P_("Whether the spin button should update always, or only when the value is legal"),
GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY,
GTK_UPDATE_ALWAYS,
G_PARAM_READWRITE));
@@ -298,8 +298,8 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
g_object_class_install_property (gobject_class,
PROP_VALUE,
g_param_spec_double ("value",
- _("Value"),
- _("Reads the current value, or sets a new value"),
+ P_("Value"),
+ P_("Reads the current value, or sets a new value"),
-G_MAXDOUBLE,
G_MAXDOUBLE,
0.0,
@@ -308,7 +308,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
gtk_widget_class_install_style_property_parser (widget_class,
g_param_spec_enum ("shadow_type",
"Shadow Type",
- _("Style of bevel around the spin button"),
+ P_("Style of bevel around the spin button"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_IN,
G_PARAM_READABLE),
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c
index ba89ef3dda..12d0cee766 100644
--- a/gtk/gtkstatusbar.c
+++ b/gtk/gtkstatusbar.c
@@ -164,8 +164,8 @@ gtk_statusbar_class_init (GtkStatusbarClass *class)
g_object_class_install_property (gobject_class,
PROP_HAS_RESIZE_GRIP,
g_param_spec_boolean ("has_resize_grip",
- _("Has Resize Grip"),
- _("Whether the statusbar has a grip for resizing the toplevel"),
+ P_("Has Resize Grip"),
+ P_("Whether the statusbar has a grip for resizing the toplevel"),
TRUE,
G_PARAM_READWRITE));
statusbar_signals[SIGNAL_TEXT_PUSHED] =
@@ -191,8 +191,8 @@ gtk_statusbar_class_init (GtkStatusbarClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("shadow_type",
- _("Shadow type"),
- _("Style of bevel around the statusbar text"),
+ P_("Shadow type"),
+ P_("Style of bevel around the statusbar text"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_IN,
G_PARAM_READABLE));
diff --git a/gtk/gtktable.c b/gtk/gtktable.c
index 3edf3de2f5..fa69c4ee76 100644
--- a/gtk/gtktable.c
+++ b/gtk/gtktable.c
@@ -155,8 +155,8 @@ gtk_table_class_init (GtkTableClass *class)
g_object_class_install_property (gobject_class,
PROP_N_ROWS,
g_param_spec_uint ("n_rows",
- _("Rows"),
- _("The number of rows in the table"),
+ P_("Rows"),
+ P_("The number of rows in the table"),
0,
G_MAXUINT,
0,
@@ -164,8 +164,8 @@ gtk_table_class_init (GtkTableClass *class)
g_object_class_install_property (gobject_class,
PROP_N_COLUMNS,
g_param_spec_uint ("n_columns",
- _("Columns"),
- _("The number of columns in the table"),
+ P_("Columns"),
+ P_("The number of columns in the table"),
0,
G_MAXUINT,
0,
@@ -173,8 +173,8 @@ gtk_table_class_init (GtkTableClass *class)
g_object_class_install_property (gobject_class,
PROP_ROW_SPACING,
g_param_spec_uint ("row_spacing",
- _("Row spacing"),
- _("The amount of space between two consecutive rows"),
+ P_("Row spacing"),
+ P_("The amount of space between two consecutive rows"),
0,
G_MAXUINT,
0,
@@ -182,8 +182,8 @@ gtk_table_class_init (GtkTableClass *class)
g_object_class_install_property (gobject_class,
PROP_COLUMN_SPACING,
g_param_spec_uint ("column_spacing",
- _("Column spacing"),
- _("The amount of space between two consecutive columns"),
+ P_("Column spacing"),
+ P_("The amount of space between two consecutive columns"),
0,
G_MAXUINT,
0,
@@ -191,65 +191,65 @@ gtk_table_class_init (GtkTableClass *class)
g_object_class_install_property (gobject_class,
PROP_HOMOGENEOUS,
g_param_spec_boolean ("homogeneous",
- _("Homogenous"),
- _("If TRUE this means the table cells are all the same width/height"),
+ P_("Homogenous"),
+ P_("If TRUE this means the table cells are all the same width/height"),
FALSE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_LEFT_ATTACH,
g_param_spec_uint ("left_attach",
- _("Left attachment"),
- _("The column number to attach the left side of the child to"),
+ P_("Left attachment"),
+ P_("The column number to attach the left side of the child to"),
0, 65535, 0,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_RIGHT_ATTACH,
g_param_spec_uint ("right_attach",
- _("Right attachment"),
- _("The column number to attach the right side of a child widget to"),
+ P_("Right attachment"),
+ P_("The column number to attach the right side of a child widget to"),
1, 65535, 1,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TOP_ATTACH,
g_param_spec_uint ("top_attach",
- _("Top attachment"),
- _("The row number to attach the top of a child widget to"),
+ P_("Top attachment"),
+ P_("The row number to attach the top of a child widget to"),
0, 65535, 0,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_BOTTOM_ATTACH,
g_param_spec_uint ("bottom_attach",
- _("Bottom attachment"),
- _("The row number to attach the bottom of the child to"),
+ P_("Bottom attachment"),
+ P_("The row number to attach the bottom of the child to"),
1, 65535, 1,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_X_OPTIONS,
g_param_spec_flags ("x_options",
- _("Horizontal options"),
- _("Options specifying the horizontal behaviour of the child"),
+ P_("Horizontal options"),
+ P_("Options specifying the horizontal behaviour of the child"),
GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_Y_OPTIONS,
g_param_spec_flags ("y_options",
- _("Vertical options"),
- _("Options specifying the vertical behaviour of the child"),
+ P_("Vertical options"),
+ P_("Options specifying the vertical behaviour of the child"),
GTK_TYPE_ATTACH_OPTIONS, GTK_EXPAND | GTK_FILL,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_X_PADDING,
g_param_spec_uint ("x_padding",
- _("Horizontal padding"),
- _("Extra space to put between the child and its left and right neighbors, in pixels"),
+ P_("Horizontal padding"),
+ P_("Extra space to put between the child and its left and right neighbors, in pixels"),
0, 65535, 0,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_Y_PADDING,
g_param_spec_uint ("y_padding",
- _("Vertical padding"),
- _("Extra space to put between the child and its upper and lower neighbors, in pixels"),
+ P_("Vertical padding"),
+ P_("Extra space to put between the child and its upper and lower neighbors, in pixels"),
0, 65535, 0,
G_PARAM_READWRITE));
}
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index a5332f6dc9..ef304a8d90 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -598,32 +598,32 @@ gtk_text_class_init (GtkTextClass *class)
g_object_class_install_property (gobject_class,
PROP_HADJUSTMENT,
g_param_spec_object ("hadjustment",
- _("Horizontal Adjustment"),
- _("Horizontal adjustment for the text widget"),
+ P_("Horizontal Adjustment"),
+ P_("Horizontal adjustment for the text widget"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_VADJUSTMENT,
g_param_spec_object ("vadjustment",
- _("Vertical Adjustment"),
- _("Vertical adjustment for the text widget"),
+ P_("Vertical Adjustment"),
+ P_("Vertical adjustment for the text widget"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_LINE_WRAP,
g_param_spec_boolean ("line_wrap",
- _("Line Wrap"),
- _("Whether lines are wrapped at widget edges"),
+ P_("Line Wrap"),
+ P_("Whether lines are wrapped at widget edges"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_WORD_WRAP,
g_param_spec_boolean ("word_wrap",
- _("Word Wrap"),
- _("Whether words are wrapped at widget edges"),
+ P_("Word Wrap"),
+ P_("Whether words are wrapped at widget edges"),
FALSE,
G_PARAM_READWRITE));
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 9f0b127383..eeb98de1b6 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -177,8 +177,8 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
g_object_class_install_property (object_class,
PROP_TAG_TABLE,
g_param_spec_object ("tag_table",
- _("Tag Table"),
- _("Text Tag Table"),
+ P_("Tag Table"),
+ P_("Text Tag Table"),
GTK_TYPE_TEXT_TAG_TABLE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
diff --git a/gtk/gtktexttag.c b/gtk/gtktexttag.c
index 38c314e8e0..afbbfb8908 100644
--- a/gtk/gtktexttag.c
+++ b/gtk/gtktexttag.c
@@ -192,8 +192,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_NAME,
g_param_spec_string ("name",
- _("Tag name"),
- _("Name used to refer to the text tag. NULL for anonymous tags"),
+ P_("Tag name"),
+ P_("Name used to refer to the text tag. NULL for anonymous tags"),
NULL,
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
@@ -202,24 +202,24 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_BACKGROUND,
g_param_spec_string ("background",
- _("Background color name"),
- _("Background color as a string"),
+ P_("Background color name"),
+ P_("Background color as a string"),
NULL,
G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_BACKGROUND_GDK,
g_param_spec_boxed ("background_gdk",
- _("Background color"),
- _("Background color as a (possibly unallocated) GdkColor"),
+ P_("Background color"),
+ P_("Background color as a (possibly unallocated) GdkColor"),
GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_BG_FULL_HEIGHT,
g_param_spec_boolean ("background_full_height",
- _("Background full height"),
- _("Whether the background color fills the entire line height or only the height of the tagged characters"),
+ P_("Background full height"),
+ P_("Whether the background color fills the entire line height or only the height of the tagged characters"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -227,8 +227,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_BACKGROUND_STIPPLE,
g_param_spec_object ("background_stipple",
- _("Background stipple mask"),
- _("Bitmap to use as a mask when drawing the text background"),
+ P_("Background stipple mask"),
+ P_("Bitmap to use as a mask when drawing the text background"),
GDK_TYPE_PIXMAP,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -236,16 +236,16 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_FOREGROUND,
g_param_spec_string ("foreground",
- _("Foreground color name"),
- _("Foreground color as a string"),
+ P_("Foreground color name"),
+ P_("Foreground color as a string"),
NULL,
G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_FOREGROUND_GDK,
g_param_spec_boxed ("foreground_gdk",
- _("Foreground color"),
- _("Foreground color as a (possibly unallocated) GdkColor"),
+ P_("Foreground color"),
+ P_("Foreground color as a (possibly unallocated) GdkColor"),
GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -253,16 +253,16 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_FOREGROUND_STIPPLE,
g_param_spec_object ("foreground_stipple",
- _("Foreground stipple mask"),
- _("Bitmap to use as a mask when drawing the text foreground"),
+ P_("Foreground stipple mask"),
+ P_("Bitmap to use as a mask when drawing the text foreground"),
GDK_TYPE_PIXMAP,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_DIRECTION,
g_param_spec_enum ("direction",
- _("Text direction"),
- _("Text direction, e.g. right-to-left or left-to-right"),
+ P_("Text direction"),
+ P_("Text direction, e.g. right-to-left or left-to-right"),
GTK_TYPE_TEXT_DIRECTION,
GTK_TEXT_DIR_LTR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -270,24 +270,24 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_EDITABLE,
g_param_spec_boolean ("editable",
- _("Editable"),
- _("Whether the text can be modified by the user"),
+ P_("Editable"),
+ P_("Whether the text can be modified by the user"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_FONT,
g_param_spec_string ("font",
- _("Font"),
- _("Font description as a string, e.g. \"Sans Italic 12\""),
+ P_("Font"),
+ P_("Font description as a string, e.g. \"Sans Italic 12\""),
NULL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_FONT_DESC,
g_param_spec_boxed ("font_desc",
- _("Font"),
- _("Font description as a PangoFontDescription struct"),
+ P_("Font"),
+ P_("Font description as a PangoFontDescription struct"),
PANGO_TYPE_FONT_DESCRIPTION,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -295,16 +295,16 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_FAMILY,
g_param_spec_string ("family",
- _("Font family"),
- _("Name of the font family, e.g. Sans, Helvetica, Times, Monospace"),
+ P_("Font family"),
+ P_("Name of the font family, e.g. Sans, Helvetica, Times, Monospace"),
NULL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_STYLE,
g_param_spec_enum ("style",
- _("Font style"),
- _("Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC"),
+ P_("Font style"),
+ P_("Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC"),
PANGO_TYPE_STYLE,
PANGO_STYLE_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -312,8 +312,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_VARIANT,
g_param_spec_enum ("variant",
- _("Font variant"),
- _("Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS"),
+ P_("Font variant"),
+ P_("Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS"),
PANGO_TYPE_VARIANT,
PANGO_VARIANT_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -321,8 +321,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_WEIGHT,
g_param_spec_int ("weight",
- _("Font weight"),
- _("Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD"),
+ P_("Font weight"),
+ P_("Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD"),
0,
G_MAXINT,
PANGO_WEIGHT_NORMAL,
@@ -332,8 +332,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_STRETCH,
g_param_spec_enum ("stretch",
- _("Font stretch"),
- _("Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED"),
+ P_("Font stretch"),
+ P_("Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED"),
PANGO_TYPE_STRETCH,
PANGO_STRETCH_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -341,8 +341,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_SIZE,
g_param_spec_int ("size",
- _("Font size"),
- _("Font size in Pango units"),
+ P_("Font size"),
+ P_("Font size in Pango units"),
0,
G_MAXINT,
0,
@@ -351,8 +351,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_SCALE,
g_param_spec_double ("scale",
- _("Font scale"),
- _("Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as PANGO_SCALE_X_LARGE"),
+ P_("Font scale"),
+ P_("Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as PANGO_SCALE_X_LARGE"),
0.0,
G_MAXDOUBLE,
1.0,
@@ -361,8 +361,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_SIZE_POINTS,
g_param_spec_double ("size_points",
- _("Font points"),
- _("Font size in points"),
+ P_("Font points"),
+ P_("Font size in points"),
0.0,
G_MAXDOUBLE,
0.0,
@@ -371,8 +371,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_JUSTIFICATION,
g_param_spec_enum ("justification",
- _("Justification"),
- _("Left, right, or center justification"),
+ P_("Justification"),
+ P_("Left, right, or center justification"),
GTK_TYPE_JUSTIFICATION,
GTK_JUSTIFY_LEFT,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -380,16 +380,16 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_LANGUAGE,
g_param_spec_string ("language",
- _("Language"),
- _("The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it"),
+ P_("Language"),
+ P_("The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don't understand this parameter, you probably don't need it"),
NULL,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_LEFT_MARGIN,
g_param_spec_int ("left_margin",
- _("Left margin"),
- _("Width of the left margin in pixels"),
+ P_("Left margin"),
+ P_("Width of the left margin in pixels"),
0,
G_MAXINT,
0,
@@ -398,8 +398,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_RIGHT_MARGIN,
g_param_spec_int ("right_margin",
- _("Right margin"),
- _("Width of the right margin in pixels"),
+ P_("Right margin"),
+ P_("Width of the right margin in pixels"),
0,
G_MAXINT,
0,
@@ -409,8 +409,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_INDENT,
g_param_spec_int ("indent",
- _("Indent"),
- _("Amount to indent the paragraph, in pixels"),
+ P_("Indent"),
+ P_("Amount to indent the paragraph, in pixels"),
G_MININT,
G_MAXINT,
0,
@@ -420,8 +420,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_RISE,
g_param_spec_int ("rise",
- _("Rise"),
- _("Offset of text above the baseline (below the baseline if rise is negative) in pixels"),
+ P_("Rise"),
+ P_("Offset of text above the baseline (below the baseline if rise is negative) in pixels"),
G_MININT,
G_MAXINT,
0,
@@ -430,8 +430,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_PIXELS_ABOVE_LINES,
g_param_spec_int ("pixels_above_lines",
- _("Pixels above lines"),
- _("Pixels of blank space above paragraphs"),
+ P_("Pixels above lines"),
+ P_("Pixels of blank space above paragraphs"),
0,
G_MAXINT,
0,
@@ -440,8 +440,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_PIXELS_BELOW_LINES,
g_param_spec_int ("pixels_below_lines",
- _("Pixels below lines"),
- _("Pixels of blank space below paragraphs"),
+ P_("Pixels below lines"),
+ P_("Pixels of blank space below paragraphs"),
0,
G_MAXINT,
0,
@@ -450,8 +450,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_PIXELS_INSIDE_WRAP,
g_param_spec_int ("pixels_inside_wrap",
- _("Pixels inside wrap"),
- _("Pixels of blank space between wrapped lines in a paragraph"),
+ P_("Pixels inside wrap"),
+ P_("Pixels of blank space between wrapped lines in a paragraph"),
0,
G_MAXINT,
0,
@@ -460,16 +460,16 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_STRIKETHROUGH,
g_param_spec_boolean ("strikethrough",
- _("Strikethrough"),
- _("Whether to strike through the text"),
+ P_("Strikethrough"),
+ P_("Whether to strike through the text"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_UNDERLINE,
g_param_spec_enum ("underline",
- _("Underline"),
- _("Style of underline for this text"),
+ P_("Underline"),
+ P_("Style of underline for this text"),
PANGO_TYPE_UNDERLINE,
PANGO_UNDERLINE_NONE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -477,8 +477,8 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_WRAP_MODE,
g_param_spec_enum ("wrap_mode",
- _("Wrap mode"),
- _("Whether to wrap lines never, at word boundaries, or at character boundaries"),
+ P_("Wrap mode"),
+ P_("Whether to wrap lines never, at word boundaries, or at character boundaries"),
GTK_TYPE_WRAP_MODE,
GTK_WRAP_NONE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -487,16 +487,16 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_object_class_install_property (object_class,
PROP_TABS,
g_param_spec_boxed ("tabs",
- _("Tabs"),
- _("Custom tabs for this text"),
+ P_("Tabs"),
+ P_("Custom tabs for this text"),
PANGO_TYPE_TAB_ARRAY,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_INVISIBLE,
g_param_spec_boolean ("invisible",
- _("Invisible"),
- _("Whether this text is hidden. Not implemented in GTK 2.0"),
+ P_("Invisible"),
+ P_("Whether this text is hidden. Not implemented in GTK 2.0"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -505,112 +505,112 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
#define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (object_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE))
ADD_SET_PROP ("background_set", PROP_BACKGROUND_SET,
- _("Background set"),
- _("Whether this tag affects the background color"));
+ P_("Background set"),
+ P_("Whether this tag affects the background color"));
ADD_SET_PROP ("background_full_height_set", PROP_BG_FULL_HEIGHT_SET,
- _("Background full height set"),
- _("Whether this tag affects background height"));
+ P_("Background full height set"),
+ P_("Whether this tag affects background height"));
ADD_SET_PROP ("background_stipple_set", PROP_BACKGROUND_STIPPLE_SET,
- _("Background stipple set"),
- _("Whether this tag affects the background stipple"));
+ P_("Background stipple set"),
+ P_("Whether this tag affects the background stipple"));
ADD_SET_PROP ("foreground_set", PROP_FOREGROUND_SET,
- _("Foreground set"),
- _("Whether this tag affects the foreground color"));
+ P_("Foreground set"),
+ P_("Whether this tag affects the foreground color"));
ADD_SET_PROP ("foreground_stipple_set", PROP_FOREGROUND_STIPPLE_SET,
- _("Foreground stipple set"),
- _("Whether this tag affects the foreground stipple"));
+ P_("Foreground stipple set"),
+ P_("Whether this tag affects the foreground stipple"));
ADD_SET_PROP ("editable_set", PROP_EDITABLE_SET,
- _("Editability set"),
- _("Whether this tag affects text editability"));
+ P_("Editability set"),
+ P_("Whether this tag affects text editability"));
ADD_SET_PROP ("family_set", PROP_FAMILY_SET,
- _("Font family set"),
- _("Whether this tag affects the font family"));
+ P_("Font family set"),
+ P_("Whether this tag affects the font family"));
ADD_SET_PROP ("style_set", PROP_STYLE_SET,
- _("Font style set"),
- _("Whether this tag affects the font style"));
+ P_("Font style set"),
+ P_("Whether this tag affects the font style"));
ADD_SET_PROP ("variant_set", PROP_VARIANT_SET,
- _("Font variant set"),
- _("Whether this tag affects the font variant"));
+ P_("Font variant set"),
+ P_("Whether this tag affects the font variant"));
ADD_SET_PROP ("weight_set", PROP_WEIGHT_SET,
- _("Font weight set"),
- _("Whether this tag affects the font weight"));
+ P_("Font weight set"),
+ P_("Whether this tag affects the font weight"));
ADD_SET_PROP ("stretch_set", PROP_STRETCH_SET,
- _("Font stretch set"),
- _("Whether this tag affects the font stretch"));
+ P_("Font stretch set"),
+ P_("Whether this tag affects the font stretch"));
ADD_SET_PROP ("size_set", PROP_SIZE_SET,
- _("Font size set"),
- _("Whether this tag affects the font size"));
+ P_("Font size set"),
+ P_("Whether this tag affects the font size"));
ADD_SET_PROP ("scale_set", PROP_SCALE_SET,
- _("Font scale set"),
- _("Whether this tag scales the font size by a factor"));
+ P_("Font scale set"),
+ P_("Whether this tag scales the font size by a factor"));
ADD_SET_PROP ("justification_set", PROP_JUSTIFICATION_SET,
- _("Justification set"),
- _("Whether this tag affects paragraph justification"));
+ P_("Justification set"),
+ P_("Whether this tag affects paragraph justification"));
ADD_SET_PROP ("language_set", PROP_LANGUAGE_SET,
- _("Language set"),
- _("Whether this tag affects the language the text is rendered as"));
+ P_("Language set"),
+ P_("Whether this tag affects the language the text is rendered as"));
ADD_SET_PROP ("left_margin_set", PROP_LEFT_MARGIN_SET,
- _("Left margin set"),
- _("Whether this tag affects the left margin"));
+ P_("Left margin set"),
+ P_("Whether this tag affects the left margin"));
ADD_SET_PROP ("indent_set", PROP_INDENT_SET,
- _("Indent set"),
- _("Whether this tag affects indentation"));
+ P_("Indent set"),
+ P_("Whether this tag affects indentation"));
ADD_SET_PROP ("rise_set", PROP_RISE_SET,
- _("Rise set"),
- _("Whether this tag affects the rise"));
+ P_("Rise set"),
+ P_("Whether this tag affects the rise"));
ADD_SET_PROP ("pixels_above_lines_set", PROP_PIXELS_ABOVE_LINES_SET,
- _("Pixels above lines set"),
- _("Whether this tag affects the number of pixels above lines"));
+ P_("Pixels above lines set"),
+ P_("Whether this tag affects the number of pixels above lines"));
ADD_SET_PROP ("pixels_below_lines_set", PROP_PIXELS_BELOW_LINES_SET,
- _("Pixels below lines set"),
- _("Whether this tag affects the number of pixels above lines"));
+ P_("Pixels below lines set"),
+ P_("Whether this tag affects the number of pixels above lines"));
ADD_SET_PROP ("pixels_inside_wrap_set", PROP_PIXELS_INSIDE_WRAP_SET,
- _("Pixels inside wrap set"),
- _("Whether this tag affects the number of pixels between wrapped lines"));
+ P_("Pixels inside wrap set"),
+ P_("Whether this tag affects the number of pixels between wrapped lines"));
ADD_SET_PROP ("strikethrough_set", PROP_STRIKETHROUGH_SET,
- _("Strikethrough set"),
- _("Whether this tag affects strikethrough"));
+ P_("Strikethrough set"),
+ P_("Whether this tag affects strikethrough"));
ADD_SET_PROP ("right_margin_set", PROP_RIGHT_MARGIN_SET,
- _("Right margin set"),
- _("Whether this tag affects the right margin"));
+ P_("Right margin set"),
+ P_("Whether this tag affects the right margin"));
ADD_SET_PROP ("underline_set", PROP_UNDERLINE_SET,
- _("Underline set"),
- _("Whether this tag affects underlining"));
+ P_("Underline set"),
+ P_("Whether this tag affects underlining"));
ADD_SET_PROP ("wrap_mode_set", PROP_WRAP_MODE_SET,
- _("Wrap mode set"),
- _("Whether this tag affects line wrap mode"));
+ P_("Wrap mode set"),
+ P_("Whether this tag affects line wrap mode"));
ADD_SET_PROP ("tabs_set", PROP_TABS_SET,
- _("Tabs set"),
- _("Whether this tag affects tabs"));
+ P_("Tabs set"),
+ P_("Whether this tag affects tabs"));
ADD_SET_PROP ("invisible_set", PROP_INVISIBLE_SET,
- _("Invisible set"),
- _("Whether this tag affects text visibility"));
+ P_("Invisible set"),
+ P_("Whether this tag affects text visibility"));
signals[EVENT] =
g_signal_new ("event",
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 90247379e1..7609831225 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -552,8 +552,8 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_PIXELS_ABOVE_LINES,
g_param_spec_int ("pixels_above_lines",
- _("Pixels Above Lines"),
- _("Pixels of blank space above paragraphs"),
+ P_("Pixels Above Lines"),
+ P_("Pixels of blank space above paragraphs"),
0,
G_MAXINT,
0,
@@ -562,8 +562,8 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_PIXELS_BELOW_LINES,
g_param_spec_int ("pixels_below_lines",
- _("Pixels Below Lines"),
- _("Pixels of blank space below paragraphs"),
+ P_("Pixels Below Lines"),
+ P_("Pixels of blank space below paragraphs"),
0,
G_MAXINT,
0,
@@ -572,8 +572,8 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_PIXELS_INSIDE_WRAP,
g_param_spec_int ("pixels_inside_wrap",
- _("Pixels Inside Wrap"),
- _("Pixels of blank space between wrapped lines in a paragraph"),
+ P_("Pixels Inside Wrap"),
+ P_("Pixels of blank space between wrapped lines in a paragraph"),
0,
G_MAXINT,
0,
@@ -582,16 +582,16 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_EDITABLE,
g_param_spec_boolean ("editable",
- _("Editable"),
- _("Whether the text can be modified by the user"),
+ P_("Editable"),
+ P_("Whether the text can be modified by the user"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_WRAP_MODE,
g_param_spec_enum ("wrap_mode",
- _("Wrap Mode"),
- _("Whether to wrap lines never, at word boundaries, or at character boundaries"),
+ P_("Wrap Mode"),
+ P_("Whether to wrap lines never, at word boundaries, or at character boundaries"),
GTK_TYPE_WRAP_MODE,
GTK_WRAP_NONE,
G_PARAM_READWRITE));
@@ -599,8 +599,8 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_JUSTIFICATION,
g_param_spec_enum ("justification",
- _("Justification"),
- _("Left, right, or center justification"),
+ P_("Justification"),
+ P_("Left, right, or center justification"),
GTK_TYPE_JUSTIFICATION,
GTK_JUSTIFY_LEFT,
G_PARAM_READWRITE));
@@ -608,8 +608,8 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_LEFT_MARGIN,
g_param_spec_int ("left_margin",
- _("Left Margin"),
- _("Width of the left margin in pixels"),
+ P_("Left Margin"),
+ P_("Width of the left margin in pixels"),
0,
G_MAXINT,
0,
@@ -618,8 +618,8 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_RIGHT_MARGIN,
g_param_spec_int ("right_margin",
- _("Right Margin"),
- _("Width of the right margin in pixels"),
+ P_("Right Margin"),
+ P_("Width of the right margin in pixels"),
0,
G_MAXINT,
0,
@@ -628,8 +628,8 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_INDENT,
g_param_spec_int ("indent",
- _("Indent"),
- _("Amount to indent the paragraph, in pixels"),
+ P_("Indent"),
+ P_("Amount to indent the paragraph, in pixels"),
0,
G_MAXINT,
0,
@@ -638,40 +638,40 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_object_class_install_property (gobject_class,
PROP_TABS,
g_param_spec_boxed ("tabs",
- _("Tabs"),
- _("Custom tabs for this text"),
+ P_("Tabs"),
+ P_("Custom tabs for this text"),
PANGO_TYPE_TAB_ARRAY,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_CURSOR_VISIBLE,
g_param_spec_boolean ("cursor_visible",
- _("Cursor Visible"),
- _("If the insertion cursor is shown"),
+ P_("Cursor Visible"),
+ P_("If the insertion cursor is shown"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_BUFFER,
g_param_spec_object ("buffer",
- _("Buffer"),
- _("The buffer which is displayed"),
+ P_("Buffer"),
+ P_("The buffer which is displayed"),
GTK_TYPE_TEXT_BUFFER,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_OVERWRITE,
g_param_spec_boolean ("overwrite",
- _("Overwrite mode"),
- _("Whether entered text overwrites existing contents"),
+ P_("Overwrite mode"),
+ P_("Whether entered text overwrites existing contents"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ACCEPTS_TAB,
g_param_spec_boolean ("accepts_tab",
- _("Accepts tab"),
- _("Whether Tab will result in a tab character being entered"),
+ P_("Accepts tab"),
+ P_("Whether Tab will result in a tab character being entered"),
TRUE,
G_PARAM_READWRITE));
diff --git a/gtk/gtktoggleaction.c b/gtk/gtktoggleaction.c
index 1f4a8d7a03..fe251576e9 100644
--- a/gtk/gtktoggleaction.c
+++ b/gtk/gtktoggleaction.c
@@ -126,8 +126,8 @@ gtk_toggle_action_class_init (GtkToggleActionClass *klass)
g_object_class_install_property (gobject_class,
PROP_DRAW_AS_RADIO,
g_param_spec_boolean ("draw_as_radio",
- _("Create the same proxies as a radio action"),
- _("Whether the proxies for this action look like radio action proxies"),
+ P_("Create the same proxies as a radio action"),
+ P_("Whether the proxies for this action look like radio action proxies"),
FALSE,
G_PARAM_READWRITE));
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c
index b6c57a165b..5c7398608b 100644
--- a/gtk/gtktogglebutton.c
+++ b/gtk/gtktogglebutton.c
@@ -129,24 +129,24 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
g_object_class_install_property (gobject_class,
PROP_ACTIVE,
g_param_spec_boolean ("active",
- _("Active"),
- _("If the toggle button should be pressed in or not"),
+ P_("Active"),
+ P_("If the toggle button should be pressed in or not"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_INCONSISTENT,
g_param_spec_boolean ("inconsistent",
- _("Inconsistent"),
- _("If the toggle button is in an \"in between\" state"),
+ P_("Inconsistent"),
+ P_("If the toggle button is in an \"in between\" state"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_DRAW_INDICATOR,
g_param_spec_boolean ("draw_indicator",
- _("Draw Indicator"),
- _("If the toggle part of the button is displayed"),
+ P_("Draw Indicator"),
+ P_("If the toggle part of the button is displayed"),
FALSE,
G_PARAM_READWRITE));
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index d4af5cc1c8..eabd4d9b58 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -438,8 +438,8 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
g_object_class_install_property (gobject_class,
PROP_ORIENTATION,
g_param_spec_enum ("orientation",
- _("Orientation"),
- _("The orientation of the toolbar"),
+ P_("Orientation"),
+ P_("The orientation of the toolbar"),
GTK_TYPE_ORIENTATION,
GTK_ORIENTATION_HORIZONTAL,
G_PARAM_READWRITE));
@@ -447,16 +447,16 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
g_object_class_install_property (gobject_class,
PROP_TOOLBAR_STYLE,
g_param_spec_enum ("toolbar_style",
- _("Toolbar Style"),
- _("How to draw the toolbar"),
+ P_("Toolbar Style"),
+ P_("How to draw the toolbar"),
GTK_TYPE_TOOLBAR_STYLE,
GTK_TOOLBAR_ICONS,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SHOW_ARROW,
g_param_spec_boolean ("show_arrow",
- _("Show Arrow"),
- _("If an arrow should be shown if the toolbar doesn't fit"),
+ P_("Show Arrow"),
+ P_("If an arrow should be shown if the toolbar doesn't fit"),
TRUE,
G_PARAM_READWRITE));
@@ -464,24 +464,24 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_EXPAND,
g_param_spec_boolean ("expand",
- _("Expand"),
- _("Whether the item should receive extra space when the toolbar grows"),
+ P_("Expand"),
+ P_("Whether the item should receive extra space when the toolbar grows"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_HOMOGENEOUS,
g_param_spec_boolean ("homogeneous",
- _("Homogeneous"),
- _("Whether the item should be the same size as other homogeneous items"),
+ P_("Homogeneous"),
+ P_("Whether the item should be the same size as other homogeneous items"),
TRUE,
G_PARAM_READWRITE));
/* style properties */
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("space_size",
- _("Spacer size"),
- _("Size of spacers"),
+ P_("Spacer size"),
+ P_("Size of spacers"),
0,
G_MAXINT,
DEFAULT_SPACE_SIZE,
@@ -489,8 +489,8 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("internal_padding",
- _("Internal padding"),
- _("Amount of border space between the toolbar shadow and the buttons"),
+ P_("Internal padding"),
+ P_("Amount of border space between the toolbar shadow and the buttons"),
0,
G_MAXINT,
DEFAULT_IPADDING,
@@ -498,37 +498,37 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("space_style",
- _("Space style"),
- _("Whether spacers are vertical lines or just blank"),
+ P_("Space style"),
+ P_("Whether spacers are vertical lines or just blank"),
GTK_TYPE_TOOLBAR_SPACE_STYLE,
DEFAULT_SPACE_STYLE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("button_relief",
- _("Button relief"),
- _("Type of bevel around toolbar buttons"),
+ P_("Button relief"),
+ P_("Type of bevel around toolbar buttons"),
GTK_TYPE_RELIEF_STYLE,
GTK_RELIEF_NONE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("shadow_type",
- _("Shadow type"),
- _("Style of bevel around the toolbar"),
+ P_("Shadow type"),
+ P_("Style of bevel around the toolbar"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_OUT,
G_PARAM_READABLE));
gtk_settings_install_property (g_param_spec_enum ("gtk-toolbar-style",
- _("Toolbar style"),
- _("Whether default toolbars have text only, text and icons, icons only, etc."),
+ P_("Toolbar style"),
+ P_("Whether default toolbars have text only, text and icons, icons only, etc."),
GTK_TYPE_TOOLBAR_STYLE,
DEFAULT_TOOLBAR_STYLE,
G_PARAM_READWRITE));
gtk_settings_install_property (g_param_spec_enum ("gtk-toolbar-icon-size",
- _("Toolbar icon size"),
- _("Size of icons in default toolbars"),
+ P_("Toolbar icon size"),
+ P_("Size of icons in default toolbars"),
GTK_TYPE_ICON_SIZE,
DEFAULT_ICON_SIZE,
G_PARAM_READWRITE));
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index 002cc41041..91f5a7c23f 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -176,36 +176,36 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass)
g_object_class_install_property (object_class,
PROP_LABEL,
g_param_spec_string ("label",
- _("Label"),
- _("Text to show in the item."),
+ P_("Label"),
+ P_("Text to show in the item."),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_USE_UNDERLINE,
g_param_spec_boolean ("use_underline",
- _("Use underline"),
- _("If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu"),
+ P_("Use underline"),
+ P_("If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_LABEL_WIDGET,
g_param_spec_object ("label_widget",
- _("Label widget"),
- _("Widget to use as the item label"),
+ P_("Label widget"),
+ P_("Widget to use as the item label"),
GTK_TYPE_WIDGET,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_STOCK_ID,
g_param_spec_string ("stock_id",
- _("Stock Id"),
- _("The stock icon displayed on the item"),
+ P_("Stock Id"),
+ P_("The stock icon displayed on the item"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_ICON_WIDGET,
g_param_spec_object ("icon_widget",
- _("Icon widget"),
- _("Icon widget to display in the item"),
+ P_("Icon widget"),
+ P_("Icon widget to display in the item"),
GTK_TYPE_WIDGET,
G_PARAM_READWRITE));
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index 2d75c011ed..3d91fabcbf 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -151,22 +151,22 @@ gtk_tool_item_class_init (GtkToolItemClass *klass)
g_object_class_install_property (object_class,
PROP_VISIBLE_HORIZONTAL,
g_param_spec_boolean ("visible_horizontal",
- _("Visible when horizontal"),
- _("Whether the toolbar item is visible when the toolbar is in a horizontal orientation."),
+ P_("Visible when horizontal"),
+ P_("Whether the toolbar item is visible when the toolbar is in a horizontal orientation."),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_VISIBLE_VERTICAL,
g_param_spec_boolean ("visible_vertical",
- _("Visible when vertical"),
- _("Whether the toolbar item is visible when the toolbar is in a vertical orientation."),
+ P_("Visible when vertical"),
+ P_("Whether the toolbar item is visible when the toolbar is in a vertical orientation."),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_IS_IMPORTANT,
g_param_spec_boolean ("is_important",
- _("Is important"),
- _("Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode"),
+ P_("Is important"),
+ P_("Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode"),
FALSE,
G_PARAM_READWRITE));
diff --git a/gtk/gtktreemodelsort.c b/gtk/gtktreemodelsort.c
index 9ebe28d9d7..249de11b8c 100644
--- a/gtk/gtktreemodelsort.c
+++ b/gtk/gtktreemodelsort.c
@@ -325,8 +325,8 @@ gtk_tree_model_sort_class_init (GtkTreeModelSortClass *class)
g_object_class_install_property (object_class,
PROP_MODEL,
g_param_spec_object ("model",
- _("TreeModelSort Model"),
- _("The model for the TreeModelSort to sort"),
+ P_("TreeModelSort Model"),
+ P_("The model for the TreeModelSort to sort"),
GTK_TYPE_TREE_MODEL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
}
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 07bfa0a039..b3291d432d 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -524,80 +524,80 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
g_object_class_install_property (o_class,
PROP_MODEL,
g_param_spec_object ("model",
- _("TreeView Model"),
- _("The model for the tree view"),
+ P_("TreeView Model"),
+ P_("The model for the tree view"),
GTK_TYPE_TREE_MODEL,
G_PARAM_READWRITE));
g_object_class_install_property (o_class,
PROP_HADJUSTMENT,
g_param_spec_object ("hadjustment",
- _("Horizontal Adjustment"),
- _("Horizontal Adjustment for the widget"),
+ P_("Horizontal Adjustment"),
+ P_("Horizontal Adjustment for the widget"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE));
g_object_class_install_property (o_class,
PROP_VADJUSTMENT,
g_param_spec_object ("vadjustment",
- _("Vertical Adjustment"),
- _("Vertical Adjustment for the widget"),
+ P_("Vertical Adjustment"),
+ P_("Vertical Adjustment for the widget"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE));
g_object_class_install_property (o_class,
PROP_HEADERS_VISIBLE,
g_param_spec_boolean ("headers_visible",
- _("Visible"),
- _("Show the column header buttons"),
+ P_("Visible"),
+ P_("Show the column header buttons"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (o_class,
PROP_HEADERS_CLICKABLE,
g_param_spec_boolean ("headers_clickable",
- _("Headers Clickable"),
- _("Column headers respond to click events"),
+ P_("Headers Clickable"),
+ P_("Column headers respond to click events"),
FALSE,
G_PARAM_WRITABLE));
g_object_class_install_property (o_class,
PROP_EXPANDER_COLUMN,
g_param_spec_object ("expander_column",
- _("Expander Column"),
- _("Set the column for the expander column"),
+ P_("Expander Column"),
+ P_("Set the column for the expander column"),
GTK_TYPE_TREE_VIEW_COLUMN,
G_PARAM_READWRITE));
g_object_class_install_property (o_class,
PROP_REORDERABLE,
g_param_spec_boolean ("reorderable",
- _("Reorderable"),
- _("View is reorderable"),
+ P_("Reorderable"),
+ P_("View is reorderable"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (o_class,
PROP_RULES_HINT,
g_param_spec_boolean ("rules_hint",
- _("Rules Hint"),
- _("Set a hint to the theme engine to draw rows in alternating colors"),
+ P_("Rules Hint"),
+ P_("Set a hint to the theme engine to draw rows in alternating colors"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (o_class,
PROP_ENABLE_SEARCH,
g_param_spec_boolean ("enable_search",
- _("Enable Search"),
- _("View allows user to search through columns interactively"),
+ P_("Enable Search"),
+ P_("View allows user to search through columns interactively"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (o_class,
PROP_SEARCH_COLUMN,
g_param_spec_int ("search_column",
- _("Search Column"),
- _("Model column to search through when searching through code"),
+ P_("Search Column"),
+ P_("Model column to search through when searching through code"),
-1,
G_MAXINT,
0,
@@ -606,8 +606,8 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
g_object_class_install_property (o_class,
PROP_FIXED_HEIGHT_MODE,
g_param_spec_boolean ("fixed_height_mode",
- _("Fixed Height Mode"),
- _("Speeds up GtkTreeView by assuming that all rows have the same height"),
+ P_("Fixed Height Mode"),
+ P_("Speeds up GtkTreeView by assuming that all rows have the same height"),
FALSE,
G_PARAM_READWRITE));
@@ -618,8 +618,8 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("expander_size",
- _("Expander Size"),
- _("Size of the expander arrow"),
+ P_("Expander Size"),
+ P_("Size of the expander arrow"),
0,
G_MAXINT,
_TREE_VIEW_EXPANDER_SIZE,
@@ -627,8 +627,8 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("vertical_separator",
- _("Vertical Separator Width"),
- _("Vertical space between cells. Must be an even number"),
+ P_("Vertical Separator Width"),
+ P_("Vertical space between cells. Must be an even number"),
0,
G_MAXINT,
_TREE_VIEW_VERTICAL_SEPARATOR,
@@ -636,8 +636,8 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("horizontal_separator",
- _("Horizontal Separator Width"),
- _("Horizontal space between cells. Must be an even number"),
+ P_("Horizontal Separator Width"),
+ P_("Horizontal space between cells. Must be an even number"),
0,
G_MAXINT,
_TREE_VIEW_HORIZONTAL_SEPARATOR,
@@ -645,29 +645,29 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("allow_rules",
- _("Allow Rules"),
- _("Allow drawing of alternating color rows"),
+ P_("Allow Rules"),
+ P_("Allow drawing of alternating color rows"),
TRUE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("indent_expanders",
- _("Indent Expanders"),
- _("Make the expanders indented"),
+ P_("Indent Expanders"),
+ P_("Make the expanders indented"),
TRUE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("even_row_color",
- _("Even Row Color"),
- _("Color to use for even rows"),
+ P_("Even Row Color"),
+ P_("Color to use for even rows"),
GDK_TYPE_COLOR,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boxed ("odd_row_color",
- _("Odd Row Color"),
- _("Color to use for odd rows"),
+ P_("Odd Row Color"),
+ P_("Color to use for odd rows"),
GDK_TYPE_COLOR,
G_PARAM_READABLE));
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c
index 6a5d80e4e6..15dab9faa5 100644
--- a/gtk/gtktreeviewcolumn.c
+++ b/gtk/gtktreeviewcolumn.c
@@ -219,24 +219,24 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
g_object_class_install_property (object_class,
PROP_VISIBLE,
g_param_spec_boolean ("visible",
- _("Visible"),
- _("Whether to display the column"),
+ P_("Visible"),
+ P_("Whether to display the column"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_RESIZABLE,
g_param_spec_boolean ("resizable",
- _("Resizable"),
- _("Column is user-resizable"),
+ P_("Resizable"),
+ P_("Column is user-resizable"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_WIDTH,
g_param_spec_int ("width",
- _("Width"),
- _("Current width of the column"),
+ P_("Width"),
+ P_("Current width of the column"),
0,
G_MAXINT,
0,
@@ -244,8 +244,8 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
g_object_class_install_property (object_class,
PROP_SIZING,
g_param_spec_enum ("sizing",
- _("Sizing"),
- _("Resize mode of the column"),
+ P_("Sizing"),
+ P_("Resize mode of the column"),
GTK_TYPE_TREE_VIEW_COLUMN_SIZING,
GTK_TREE_VIEW_COLUMN_AUTOSIZE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -253,8 +253,8 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
g_object_class_install_property (object_class,
PROP_FIXED_WIDTH,
g_param_spec_int ("fixed_width",
- _("Fixed Width"),
- _("Current fixed width of the column"),
+ P_("Fixed Width"),
+ P_("Current fixed width of the column"),
1,
G_MAXINT,
1, /* not useful */
@@ -263,8 +263,8 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
g_object_class_install_property (object_class,
PROP_MIN_WIDTH,
g_param_spec_int ("min_width",
- _("Minimum Width"),
- _("Minimum allowed width of the column"),
+ P_("Minimum Width"),
+ P_("Minimum allowed width of the column"),
-1,
G_MAXINT,
-1,
@@ -273,8 +273,8 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
g_object_class_install_property (object_class,
PROP_MAX_WIDTH,
g_param_spec_int ("max_width",
- _("Maximum Width"),
- _("Maximum allowed width of the column"),
+ P_("Maximum Width"),
+ P_("Maximum allowed width of the column"),
-1,
G_MAXINT,
-1,
@@ -283,24 +283,24 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
g_object_class_install_property (object_class,
PROP_TITLE,
g_param_spec_string ("title",
- _("Title"),
- _("Title to appear in column header"),
+ P_("Title"),
+ P_("Title to appear in column header"),
"",
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_EXPAND,
g_param_spec_boolean ("expand",
- _("Expand"),
- _("Column gets share of extra width allocated to the widget"),
+ P_("Expand"),
+ P_("Column gets share of extra width allocated to the widget"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_CLICKABLE,
g_param_spec_boolean ("clickable",
- _("Clickable"),
- _("Whether the header can be clicked"),
+ P_("Clickable"),
+ P_("Whether the header can be clicked"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -308,16 +308,16 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
g_object_class_install_property (object_class,
PROP_WIDGET,
g_param_spec_object ("widget",
- _("Widget"),
- _("Widget to put in column header button instead of column title"),
+ P_("Widget"),
+ P_("Widget to put in column header button instead of column title"),
GTK_TYPE_WIDGET,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_ALIGNMENT,
g_param_spec_float ("alignment",
- _("Alignment"),
- _("X Alignment of the column header text or widget"),
+ P_("Alignment"),
+ P_("X Alignment of the column header text or widget"),
0.0,
1.0,
0.5,
@@ -326,24 +326,24 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
g_object_class_install_property (object_class,
PROP_REORDERABLE,
g_param_spec_boolean ("reorderable",
- _("Reorderable"),
- _("Whether the column can be reordered around the headers"),
+ P_("Reorderable"),
+ P_("Whether the column can be reordered around the headers"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_SORT_INDICATOR,
g_param_spec_boolean ("sort_indicator",
- _("Sort indicator"),
- _("Whether to show a sort indicator"),
+ P_("Sort indicator"),
+ P_("Whether to show a sort indicator"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_SORT_ORDER,
g_param_spec_enum ("sort_order",
- _("Sort order"),
- _("Sort direction the sort indicator should indicate"),
+ P_("Sort order"),
+ P_("Sort direction the sort indicator should indicate"),
GTK_TYPE_SORT_TYPE,
GTK_SORT_ASCENDING,
G_PARAM_READABLE | G_PARAM_WRITABLE));
diff --git a/gtk/gtkuimanager.c b/gtk/gtkuimanager.c
index cd895b2a80..a3d78ca20c 100644
--- a/gtk/gtkuimanager.c
+++ b/gtk/gtkuimanager.c
@@ -214,16 +214,16 @@ gtk_ui_manager_class_init (GtkUIManagerClass *klass)
g_object_class_install_property (gobject_class,
PROP_ADD_TEAROFFS,
g_param_spec_boolean ("add_tearoffs",
- _("Add tearoffs to menus"),
- _("Whether tearoff menu items should be added to menus"),
+ P_("Add tearoffs to menus"),
+ P_("Whether tearoff menu items should be added to menus"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_UI,
g_param_spec_string ("ui",
- _("Merged UI definition"),
- _("An XML string describing the merged UI"),
+ P_("Merged UI definition"),
+ P_("An XML string describing the merged UI"),
NULL,
G_PARAM_READABLE));
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c
index 084a7a00b5..edbb45b834 100644
--- a/gtk/gtkviewport.c
+++ b/gtk/gtkviewport.c
@@ -131,24 +131,24 @@ gtk_viewport_class_init (GtkViewportClass *class)
g_object_class_install_property (gobject_class,
PROP_HADJUSTMENT,
g_param_spec_object ("hadjustment",
- _("Horizontal adjustment"),
- _("The GtkAdjustment that determines the values of the horizontal position for this viewport"),
+ P_("Horizontal adjustment"),
+ P_("The GtkAdjustment that determines the values of the horizontal position for this viewport"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_VADJUSTMENT,
g_param_spec_object ("vadjustment",
- _("Vertical adjustment"),
- _("The GtkAdjustment that determines the values of the vertical position for this viewport"),
+ P_("Vertical adjustment"),
+ P_("The GtkAdjustment that determines the values of the vertical position for this viewport"),
GTK_TYPE_ADJUSTMENT,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (gobject_class,
PROP_SHADOW_TYPE,
g_param_spec_enum ("shadow_type",
- _("Shadow type"),
- _("Determines how the shadowed box around the viewport is drawn"),
+ P_("Shadow type"),
+ P_("Determines how the shadowed box around the viewport is drawn"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_IN,
G_PARAM_READWRITE));
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index b6d45ea85f..a892d32832 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -403,23 +403,23 @@ gtk_widget_class_init (GtkWidgetClass *klass)
g_object_class_install_property (gobject_class,
PROP_NAME,
g_param_spec_string ("name",
- _("Widget name"),
- _("The name of the widget"),
+ P_("Widget name"),
+ P_("The name of the widget"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_PARENT,
g_param_spec_object ("parent",
- _("Parent widget"),
- _("The parent widget of this widget. Must be a Container widget"),
+ P_("Parent widget"),
+ P_("The parent widget of this widget. Must be a Container widget"),
GTK_TYPE_CONTAINER,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_WIDTH_REQUEST,
g_param_spec_int ("width_request",
- _("Width request"),
- _("Override for width request of the widget, or -1 if natural request should be used"),
+ P_("Width request"),
+ P_("Override for width request of the widget, or -1 if natural request should be used"),
-1,
G_MAXINT,
-1,
@@ -427,8 +427,8 @@ gtk_widget_class_init (GtkWidgetClass *klass)
g_object_class_install_property (gobject_class,
PROP_HEIGHT_REQUEST,
g_param_spec_int ("height_request",
- _("Height request"),
- _("Override for height request of the widget, or -1 if natural request should be used"),
+ P_("Height request"),
+ P_("Override for height request of the widget, or -1 if natural request should be used"),
-1,
G_MAXINT,
-1,
@@ -436,101 +436,101 @@ gtk_widget_class_init (GtkWidgetClass *klass)
g_object_class_install_property (gobject_class,
PROP_VISIBLE,
g_param_spec_boolean ("visible",
- _("Visible"),
- _("Whether the widget is visible"),
+ P_("Visible"),
+ P_("Whether the widget is visible"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SENSITIVE,
g_param_spec_boolean ("sensitive",
- _("Sensitive"),
- _("Whether the widget responds to input"),
+ P_("Sensitive"),
+ P_("Whether the widget responds to input"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_APP_PAINTABLE,
g_param_spec_boolean ("app_paintable",
- _("Application paintable"),
- _("Whether the application will paint directly on the widget"),
+ P_("Application paintable"),
+ P_("Whether the application will paint directly on the widget"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_CAN_FOCUS,
g_param_spec_boolean ("can_focus",
- _("Can focus"),
- _("Whether the widget can accept the input focus"),
+ P_("Can focus"),
+ P_("Whether the widget can accept the input focus"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_HAS_FOCUS,
g_param_spec_boolean ("has_focus",
- _("Has focus"),
- _("Whether the widget has the input focus"),
+ P_("Has focus"),
+ P_("Whether the widget has the input focus"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_IS_FOCUS,
g_param_spec_boolean ("is_focus",
- _("Is focus"),
- _("Whether the widget is the focus widget within the toplevel"),
+ P_("Is focus"),
+ P_("Whether the widget is the focus widget within the toplevel"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_CAN_DEFAULT,
g_param_spec_boolean ("can_default",
- _("Can default"),
- _("Whether the widget can be the default widget"),
+ P_("Can default"),
+ P_("Whether the widget can be the default widget"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_HAS_DEFAULT,
g_param_spec_boolean ("has_default",
- _("Has default"),
- _("Whether the widget is the default widget"),
+ P_("Has default"),
+ P_("Whether the widget is the default widget"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_RECEIVES_DEFAULT,
g_param_spec_boolean ("receives_default",
- _("Receives default"),
- _("If TRUE, the widget will receive the default action when it is focused"),
+ P_("Receives default"),
+ P_("If TRUE, the widget will receive the default action when it is focused"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_COMPOSITE_CHILD,
g_param_spec_boolean ("composite_child",
- _("Composite child"),
- _("Whether the widget is part of a composite widget"),
+ P_("Composite child"),
+ P_("Whether the widget is part of a composite widget"),
FALSE,
G_PARAM_READABLE));
g_object_class_install_property (gobject_class,
PROP_STYLE,
g_param_spec_object ("style",
- _("Style"),
- _("The style of the widget, which contains information about how it will look (colors etc)"),
+ P_("Style"),
+ P_("The style of the widget, which contains information about how it will look (colors etc)"),
GTK_TYPE_STYLE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_EVENTS,
g_param_spec_flags ("events",
- _("Events"),
- _("The event mask that decides what kind of GdkEvents this widget gets"),
+ P_("Events"),
+ P_("The event mask that decides what kind of GdkEvents this widget gets"),
GDK_TYPE_EVENT_MASK,
GDK_STRUCTURE_MASK,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_EXTENSION_EVENTS,
g_param_spec_enum ("extension_events",
- _("Extension events"),
- _("The mask that decides what kind of extension events this widget gets"),
+ P_("Extension events"),
+ P_("The mask that decides what kind of extension events this widget gets"),
GDK_TYPE_EXTENSION_MODE,
GDK_EXTENSION_EVENTS_NONE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_NO_SHOW_ALL,
g_param_spec_boolean ("no_show_all",
- _("No show all"),
- _("Whether gtk_widget_show_all() should not affect this widget"),
+ P_("No show all"),
+ P_("Whether gtk_widget_show_all() should not affect this widget"),
FALSE,
G_PARAM_READWRITE));
widget_signals[SHOW] =
@@ -1359,46 +1359,46 @@ gtk_widget_class_init (GtkWidgetClass *klass)
gtk_widget_class_install_style_property (klass,
g_param_spec_boolean ("interior_focus",
- _("Interior Focus"),
- _("Whether to draw the focus indicator inside widgets"),
+ P_("Interior Focus"),
+ P_("Whether to draw the focus indicator inside widgets"),
TRUE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (klass,
g_param_spec_int ("focus-line-width",
- _("Focus linewidth"),
- _("Width, in pixels, of the focus indicator line"),
+ P_("Focus linewidth"),
+ P_("Width, in pixels, of the focus indicator line"),
0, G_MAXINT, 1,
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (klass,
g_param_spec_string ("focus-line-pattern",
- _("Focus line dash pattern"),
- _("Dash pattern used to draw the focus indicator"),
+ P_("Focus line dash pattern"),
+ P_("Dash pattern used to draw the focus indicator"),
"\1\1",
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (klass,
g_param_spec_int ("focus-padding",
- _("Focus padding"),
- _("Width, in pixels, between focus indicator and the widget 'box'"),
+ P_("Focus padding"),
+ P_("Width, in pixels, between focus indicator and the widget 'box'"),
0, G_MAXINT, 1,
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (klass,
g_param_spec_boxed ("cursor-color",
- _("Cursor color"),
- _("Color with which to draw insertion cursor"),
+ P_("Cursor color"),
+ P_("Color with which to draw insertion cursor"),
GDK_TYPE_COLOR,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (klass,
g_param_spec_boxed ("secondary-cursor-color",
- _("Secondary cursor color"),
- _("Color with which to draw the secondary insertion cursor when editing mixed right-to-left and left-to-right text"),
+ P_("Secondary cursor color"),
+ P_("Color with which to draw the secondary insertion cursor when editing mixed right-to-left and left-to-right text"),
GDK_TYPE_COLOR,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (klass,
g_param_spec_float ("cursor-aspect-ratio",
- _("Cursor line aspect ratio"),
- _("Aspect ratio with which to draw insertion cursor"),
+ P_("Cursor line aspect ratio"),
+ P_("Aspect ratio with which to draw insertion cursor"),
0.0, 1.0, 0.04,
G_PARAM_READABLE));
}
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 0843554ba7..2fb60ba450 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -436,8 +436,8 @@ gtk_window_class_init (GtkWindowClass *klass)
g_object_class_install_property (gobject_class,
PROP_TYPE,
g_param_spec_enum ("type",
- _("Window Type"),
- _("The type of the window"),
+ P_("Window Type"),
+ P_("The type of the window"),
GTK_TYPE_WINDOW_TYPE,
GTK_WINDOW_TOPLEVEL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
@@ -445,57 +445,57 @@ gtk_window_class_init (GtkWindowClass *klass)
g_object_class_install_property (gobject_class,
PROP_TITLE,
g_param_spec_string ("title",
- _("Window Title"),
- _("The title of the window"),
+ P_("Window Title"),
+ P_("The title of the window"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ROLE,
g_param_spec_string ("role",
- _("Window Role"),
- _("Unique identifier for the window to be used when restoring a session"),
+ P_("Window Role"),
+ P_("Unique identifier for the window to be used when restoring a session"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ALLOW_SHRINK,
g_param_spec_boolean ("allow_shrink",
- _("Allow Shrink"),
+ P_("Allow Shrink"),
/* xgettext:no-c-format */
- _("If TRUE, the window has no mimimum size. Setting this to TRUE is 99% of the time a bad idea"),
+ P_("If TRUE, the window has no mimimum size. Setting this to TRUE is 99% of the time a bad idea"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ALLOW_GROW,
g_param_spec_boolean ("allow_grow",
- _("Allow Grow"),
- _("If TRUE, users can expand the window beyond its minimum size"),
+ P_("Allow Grow"),
+ P_("If TRUE, users can expand the window beyond its minimum size"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_RESIZABLE,
g_param_spec_boolean ("resizable",
- _("Resizable"),
- _("If TRUE, users can resize the window"),
+ P_("Resizable"),
+ P_("If TRUE, users can resize the window"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_MODAL,
g_param_spec_boolean ("modal",
- _("Modal"),
- _("If TRUE, the window is modal (other windows are not usable while this one is up)"),
+ P_("Modal"),
+ P_("If TRUE, the window is modal (other windows are not usable while this one is up)"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_WIN_POS,
g_param_spec_enum ("window_position",
- _("Window Position"),
- _("The initial position of the window"),
+ P_("Window Position"),
+ P_("The initial position of the window"),
GTK_TYPE_WINDOW_POSITION,
GTK_WIN_POS_NONE,
G_PARAM_READWRITE));
@@ -503,8 +503,8 @@ gtk_window_class_init (GtkWindowClass *klass)
g_object_class_install_property (gobject_class,
PROP_DEFAULT_WIDTH,
g_param_spec_int ("default_width",
- _("Default Width"),
- _("The default width of the window, used when initially showing the window"),
+ P_("Default Width"),
+ P_("The default width of the window, used when initially showing the window"),
-1,
G_MAXINT,
-1,
@@ -513,8 +513,8 @@ gtk_window_class_init (GtkWindowClass *klass)
g_object_class_install_property (gobject_class,
PROP_DEFAULT_HEIGHT,
g_param_spec_int ("default_height",
- _("Default Height"),
- _("The default height of the window, used when initially showing the window"),
+ P_("Default Height"),
+ P_("The default height of the window, used when initially showing the window"),
-1,
G_MAXINT,
-1,
@@ -523,48 +523,48 @@ gtk_window_class_init (GtkWindowClass *klass)
g_object_class_install_property (gobject_class,
PROP_DESTROY_WITH_PARENT,
g_param_spec_boolean ("destroy_with_parent",
- _("Destroy with Parent"),
- _("If this window should be destroyed when the parent is destroyed"),
+ P_("Destroy with Parent"),
+ P_("If this window should be destroyed when the parent is destroyed"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_ICON,
g_param_spec_object ("icon",
- _("Icon"),
- _("Icon for this window"),
+ P_("Icon"),
+ P_("Icon for this window"),
GDK_TYPE_PIXBUF,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SCREEN,
g_param_spec_object ("screen",
- _("Screen"),
- _("The screen where this window will be displayed"),
+ P_("Screen"),
+ P_("The screen where this window will be displayed"),
GDK_TYPE_SCREEN,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_IS_ACTIVE,
g_param_spec_boolean ("is_active",
- _("Is Active"),
- _("Whether the toplevel is the current active window"),
+ P_("Is Active"),
+ P_("Whether the toplevel is the current active window"),
FALSE,
G_PARAM_READABLE));
g_object_class_install_property (gobject_class,
PROP_HAS_TOPLEVEL_FOCUS,
g_param_spec_boolean ("has_toplevel_focus",
- _("Focus in Toplevel"),
- _("Whether the input focus is within this GtkWindow"),
+ P_("Focus in Toplevel"),
+ P_("Whether the input focus is within this GtkWindow"),
FALSE,
G_PARAM_READABLE));
g_object_class_install_property (gobject_class,
PROP_TYPE_HINT,
g_param_spec_enum ("type_hint",
- _("Type hint"),
- _("Hint to help the desktop environment understand what kind of window this is and how to treat it."),
+ P_("Type hint"),
+ P_("Hint to help the desktop environment understand what kind of window this is and how to treat it."),
GDK_TYPE_WINDOW_TYPE_HINT,
GDK_WINDOW_TYPE_HINT_NORMAL,
G_PARAM_READWRITE));
@@ -572,16 +572,16 @@ gtk_window_class_init (GtkWindowClass *klass)
g_object_class_install_property (gobject_class,
PROP_SKIP_TASKBAR_HINT,
g_param_spec_boolean ("skip_taskbar_hint",
- _("Skip taskbar"),
- _("TRUE if the window should not be in the task bar."),
+ P_("Skip taskbar"),
+ P_("TRUE if the window should not be in the task bar."),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SKIP_PAGER_HINT,
g_param_spec_boolean ("skip_pager_hint",
- _("Skip pager"),
- _("TRUE if the window should not be in the pager."),
+ P_("Skip pager"),
+ P_("TRUE if the window should not be in the pager."),
FALSE,
G_PARAM_READWRITE));
@@ -595,8 +595,8 @@ gtk_window_class_init (GtkWindowClass *klass)
g_object_class_install_property (gobject_class,
PROP_ACCEPT_FOCUS,
g_param_spec_boolean ("accept_focus",
- _("Accept focus"),
- _("TRUE if the window should receive the input focus."),
+ P_("Accept focus"),
+ P_("TRUE if the window should receive the input focus."),
TRUE,
G_PARAM_READWRITE));
@@ -610,8 +610,8 @@ gtk_window_class_init (GtkWindowClass *klass)
g_object_class_install_property (gobject_class,
PROP_DECORATED,
g_param_spec_boolean ("decorated",
- _("Decorated"),
- _("Whether the window should be decorated by the window manager"),
+ P_("Decorated"),
+ P_("Whether the window should be decorated by the window manager"),
TRUE,
G_PARAM_READWRITE));
@@ -626,8 +626,8 @@ gtk_window_class_init (GtkWindowClass *klass)
g_object_class_install_property (gobject_class,
PROP_GRAVITY,
g_param_spec_enum ("gravity",
- _("Gravity"),
- _("The window gravity of the window"),
+ P_("Gravity"),
+ P_("The window gravity of the window"),
GDK_TYPE_GRAVITY,
GDK_GRAVITY_NORTH_WEST,
G_PARAM_READWRITE));