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
@ -393,8 +393,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_PAGE,
|
||||
g_param_spec_int ("page",
|
||||
_("Page"),
|
||||
_("The index of the current page"),
|
||||
P_("Page"),
|
||||
P_("The index of the current page"),
|
||||
0,
|
||||
G_MAXINT,
|
||||
0,
|
||||
@ -402,16 +402,16 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_TAB_POS,
|
||||
g_param_spec_enum ("tab_pos",
|
||||
_("Tab Position"),
|
||||
_("Which side of the notebook holds the tabs"),
|
||||
P_("Tab Position"),
|
||||
P_("Which side of the notebook holds the tabs"),
|
||||
GTK_TYPE_POSITION_TYPE,
|
||||
GTK_POS_TOP,
|
||||
G_PARAM_READWRITE));
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_TAB_BORDER,
|
||||
g_param_spec_uint ("tab_border",
|
||||
_("Tab Border"),
|
||||
_("Width of the border around the tab labels"),
|
||||
P_("Tab Border"),
|
||||
P_("Width of the border around the tab labels"),
|
||||
0,
|
||||
G_MAXUINT,
|
||||
2,
|
||||
@ -419,8 +419,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_TAB_HBORDER,
|
||||
g_param_spec_uint ("tab_hborder",
|
||||
_("Horizontal Tab Border"),
|
||||
_("Width of the horizontal border of tab labels"),
|
||||
P_("Horizontal Tab Border"),
|
||||
P_("Width of the horizontal border of tab labels"),
|
||||
0,
|
||||
G_MAXUINT,
|
||||
2,
|
||||
@ -428,8 +428,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_TAB_VBORDER,
|
||||
g_param_spec_uint ("tab_vborder",
|
||||
_("Vertical Tab Border"),
|
||||
_("Width of the vertical border of tab labels"),
|
||||
P_("Vertical Tab Border"),
|
||||
P_("Width of the vertical border of tab labels"),
|
||||
0,
|
||||
G_MAXUINT,
|
||||
2,
|
||||
@ -437,79 +437,79 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_SHOW_TABS,
|
||||
g_param_spec_boolean ("show_tabs",
|
||||
_("Show Tabs"),
|
||||
_("Whether tabs should be shown or not"),
|
||||
P_("Show Tabs"),
|
||||
P_("Whether tabs should be shown or not"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_SHOW_BORDER,
|
||||
g_param_spec_boolean ("show_border",
|
||||
_("Show Border"),
|
||||
_("Whether the border should be shown or not"),
|
||||
P_("Show Border"),
|
||||
P_("Whether the border should be shown or not"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_SCROLLABLE,
|
||||
g_param_spec_boolean ("scrollable",
|
||||
_("Scrollable"),
|
||||
_("If TRUE, scroll arrows are added if there are too many tabs to fit"),
|
||||
P_("Scrollable"),
|
||||
P_("If TRUE, scroll arrows are added if there are too many tabs to fit"),
|
||||
FALSE,
|
||||
G_PARAM_READWRITE));
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_ENABLE_POPUP,
|
||||
g_param_spec_boolean ("enable_popup",
|
||||
_("Enable Popup"),
|
||||
_("If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page"),
|
||||
P_("Enable Popup"),
|
||||
P_("If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page"),
|
||||
FALSE,
|
||||
G_PARAM_READWRITE));
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_HOMOGENEOUS,
|
||||
g_param_spec_boolean ("homogeneous",
|
||||
_("Homogeneous"),
|
||||
_("Whether tabs should have homogeneous sizes"),
|
||||
P_("Homogeneous"),
|
||||
P_("Whether tabs should have homogeneous sizes"),
|
||||
FALSE,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
gtk_container_class_install_child_property (container_class,
|
||||
CHILD_PROP_TAB_LABEL,
|
||||
g_param_spec_string ("tab_label",
|
||||
_("Tab label"),
|
||||
_("The string displayed on the childs tab label"),
|
||||
P_("Tab label"),
|
||||
P_("The string displayed on the childs tab label"),
|
||||
NULL,
|
||||
G_PARAM_READWRITE));
|
||||
gtk_container_class_install_child_property (container_class,
|
||||
CHILD_PROP_MENU_LABEL,
|
||||
g_param_spec_string ("menu_label",
|
||||
_("Menu label"),
|
||||
_("The string displayed in the childs menu entry"),
|
||||
P_("Menu label"),
|
||||
P_("The string displayed in the childs menu entry"),
|
||||
NULL,
|
||||
G_PARAM_READWRITE));
|
||||
gtk_container_class_install_child_property (container_class,
|
||||
CHILD_PROP_POSITION,
|
||||
g_param_spec_int ("position",
|
||||
_("Position"),
|
||||
_("The index of the child in the parent"),
|
||||
P_("Position"),
|
||||
P_("The index of the child in the parent"),
|
||||
-1, G_MAXINT, 0,
|
||||
G_PARAM_READWRITE));
|
||||
gtk_container_class_install_child_property (container_class,
|
||||
CHILD_PROP_TAB_EXPAND,
|
||||
g_param_spec_boolean ("tab_expand",
|
||||
_("Tab expand"),
|
||||
_("Whether to expand the childs tab or not"),
|
||||
P_("Tab expand"),
|
||||
P_("Whether to expand the childs tab or not"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
gtk_container_class_install_child_property (container_class,
|
||||
CHILD_PROP_TAB_FILL,
|
||||
g_param_spec_boolean ("tab_fill",
|
||||
_("Tab fill"),
|
||||
_("Wheather the childs tab should fill the allocated area or not"),
|
||||
P_("Tab fill"),
|
||||
P_("Wheather the childs tab should fill the allocated area or not"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
gtk_container_class_install_child_property (container_class,
|
||||
CHILD_PROP_TAB_PACK,
|
||||
g_param_spec_enum ("tab_pack",
|
||||
_("Tab pack type"),
|
||||
_("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
|
||||
P_("Tab pack type"),
|
||||
P_("A GtkPackType indicating whether the child is packed with reference to the start or end of the parent"),
|
||||
GTK_TYPE_PACK_TYPE, GTK_PACK_START,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
@ -524,8 +524,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
*/
|
||||
gtk_widget_class_install_style_property (widget_class,
|
||||
g_param_spec_boolean ("has_secondary backward_stepper",
|
||||
_("Secondary backward stepper"),
|
||||
_("Display a second backward arrow button on the opposite end of the tab area"),
|
||||
P_("Secondary backward stepper"),
|
||||
P_("Display a second backward arrow button on the opposite end of the tab area"),
|
||||
FALSE,
|
||||
|
||||
G_PARAM_READABLE));
|
||||
@ -541,8 +541,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
*/
|
||||
gtk_widget_class_install_style_property (widget_class,
|
||||
g_param_spec_boolean ("has_secondary_forward_stepper",
|
||||
_("Secondary forward stepper"),
|
||||
_("Display a second forward arrow button on the opposite end of the tab area"),
|
||||
P_("Secondary forward stepper"),
|
||||
P_("Display a second forward arrow button on the opposite end of the tab area"),
|
||||
FALSE,
|
||||
|
||||
G_PARAM_READABLE));
|
||||
@ -557,8 +557,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
*/
|
||||
gtk_widget_class_install_style_property (widget_class,
|
||||
g_param_spec_boolean ("has_backward_stepper",
|
||||
_("Backward stepper"),
|
||||
_("Display the standard backward arrow button"),
|
||||
P_("Backward stepper"),
|
||||
P_("Display the standard backward arrow button"),
|
||||
TRUE,
|
||||
|
||||
G_PARAM_READABLE));
|
||||
@ -573,8 +573,8 @@ gtk_notebook_class_init (GtkNotebookClass *class)
|
||||
*/
|
||||
gtk_widget_class_install_style_property (widget_class,
|
||||
g_param_spec_boolean ("has_forward_stepper",
|
||||
_("Forward stepper"),
|
||||
_("Display the standard forward arrow button"),
|
||||
P_("Forward stepper"),
|
||||
P_("Display the standard forward arrow button"),
|
||||
TRUE,
|
||||
|
||||
G_PARAM_READABLE));
|
||||
|
Reference in New Issue
Block a user