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

@ -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));