From 07d4d314b6e45daeb1bd22538aa7f057bcd37a65 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 16 Jan 2004 23:10:05 +0000 Subject: The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and Fri Jan 16 23:59:01 2004 Matthias Clasen 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_(). --- gtk/gtkframe.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'gtk/gtkframe.c') 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)); -- cgit v1.2.1