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_().
This commit is contained in:
Matthias Clasen
2004-01-16 23:10:05 +00:00
committed by Matthias Clasen
parent fb526d239a
commit 07d4d314b6
94 changed files with 1258 additions and 1177 deletions

View File

@ -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,