summaryrefslogtreecommitdiff
path: root/gtk/gtkscale.c
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/gtkscale.c
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/gtkscale.c')
-rw-r--r--gtk/gtkscale.c20
1 files changed, 10 insertions, 10 deletions
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,