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

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