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:
committed by
Matthias Clasen
parent
fb526d239a
commit
07d4d314b6
@ -130,8 +130,8 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_PIXBUF,
|
||||
g_param_spec_object ("pixbuf",
|
||||
_("Pixbuf Object"),
|
||||
_("The pixbuf to render"),
|
||||
P_("Pixbuf Object"),
|
||||
P_("The pixbuf to render"),
|
||||
GDK_TYPE_PIXBUF,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_WRITABLE));
|
||||
@ -139,8 +139,8 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_PIXBUF_EXPANDER_OPEN,
|
||||
g_param_spec_object ("pixbuf_expander_open",
|
||||
_("Pixbuf Expander Open"),
|
||||
_("Pixbuf for open expander"),
|
||||
P_("Pixbuf Expander Open"),
|
||||
P_("Pixbuf for open expander"),
|
||||
GDK_TYPE_PIXBUF,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_WRITABLE));
|
||||
@ -148,8 +148,8 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_PIXBUF_EXPANDER_CLOSED,
|
||||
g_param_spec_object ("pixbuf_expander_closed",
|
||||
_("Pixbuf Expander Closed"),
|
||||
_("Pixbuf for closed expander"),
|
||||
P_("Pixbuf Expander Closed"),
|
||||
P_("Pixbuf for closed expander"),
|
||||
GDK_TYPE_PIXBUF,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_WRITABLE));
|
||||
@ -157,16 +157,16 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_STOCK_ID,
|
||||
g_param_spec_string ("stock_id",
|
||||
_("Stock ID"),
|
||||
_("The stock ID of the stock icon to render"),
|
||||
P_("Stock ID"),
|
||||
P_("The stock ID of the stock icon to render"),
|
||||
NULL,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_STOCK_SIZE,
|
||||
g_param_spec_enum ("stock_size",
|
||||
_("Size"),
|
||||
_("The size of the rendered icon"),
|
||||
P_("Size"),
|
||||
P_("The size of the rendered icon"),
|
||||
GTK_TYPE_ICON_SIZE,
|
||||
GTK_ICON_SIZE_MENU,
|
||||
G_PARAM_READWRITE));
|
||||
@ -174,8 +174,8 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_STOCK_DETAIL,
|
||||
g_param_spec_string ("stock_detail",
|
||||
_("Detail"),
|
||||
_("Render detail to pass to the theme engine"),
|
||||
P_("Detail"),
|
||||
P_("Render detail to pass to the theme engine"),
|
||||
NULL,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user