Bug 596125 — Property string fixes

This commit is contained in:
Philip Withnall 2010-08-10 09:23:49 +01:00
parent fb48e023d2
commit 3eb197b51f
15 changed files with 30 additions and 30 deletions

View File

@ -89,7 +89,7 @@ gtk_cell_renderer_spin_class_init (GtkCellRendererSpinClass *klass)
PROP_ADJUSTMENT,
g_param_spec_object ("adjustment",
P_("Adjustment"),
P_("The adjustment that holds the value of the spinbutton."),
P_("The adjustment that holds the value of the spin button"),
GTK_TYPE_ADJUSTMENT,
GTK_PARAM_READWRITE));

View File

@ -238,7 +238,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
PROP_SINGLE_PARAGRAPH_MODE,
g_param_spec_boolean ("single-paragraph-mode",
P_("Single Paragraph Mode"),
P_("Whether or not to keep all text in a single paragraph"),
P_("Whether to keep all text in a single paragraph"),
FALSE,
GTK_PARAM_READWRITE));

View File

@ -157,7 +157,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
g_object_class_install_property (gobject_class,
PROP_USE_ALPHA,
g_param_spec_boolean ("use-alpha", P_("Use alpha"),
P_("Whether or not to give the color an alpha value"),
P_("Whether to give the color an alpha value"),
FALSE,
GTK_PARAM_READWRITE));

View File

@ -832,8 +832,8 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_INVISIBLE_CHAR_SET,
g_param_spec_boolean ("invisible-char-set",
P_("Invisible char set"),
P_("Whether the invisible char has been set"),
P_("Invisible character set"),
P_("Whether the invisible character has been set"),
FALSE,
GTK_PARAM_READWRITE));

View File

@ -838,7 +838,7 @@ gtk_file_chooser_class_init (gpointer g_iface)
*/
g_object_interface_install_property (g_iface,
g_param_spec_boolean ("create-folders",
P_("Allow folders creation"),
P_("Allow folder creation"),
P_("Whether a file chooser not in open mode "
"will offer the user to create new folders."),
TRUE,

View File

@ -618,14 +618,14 @@ gtk_notebook_class_init (GtkNotebookClass *class)
PROP_SHOW_TABS,
g_param_spec_boolean ("show-tabs",
P_("Show Tabs"),
P_("Whether tabs should be shown or not"),
P_("Whether tabs should be shown"),
TRUE,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SHOW_BORDER,
g_param_spec_boolean ("show-border",
P_("Show Border"),
P_("Whether the border should be shown or not"),
P_("Whether the border should be shown"),
TRUE,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
@ -682,14 +682,14 @@ gtk_notebook_class_init (GtkNotebookClass *class)
CHILD_PROP_TAB_EXPAND,
g_param_spec_boolean ("tab-expand",
P_("Tab expand"),
P_("Whether to expand the child's tab or not"),
P_("Whether to expand the child's tab"),
FALSE,
GTK_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_TAB_FILL,
g_param_spec_boolean ("tab-fill",
P_("Tab fill"),
P_("Whether the child's tab should fill the allocated area or not"),
P_("Whether the child's tab should fill the allocated area"),
TRUE,
GTK_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
@ -703,7 +703,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
CHILD_PROP_REORDERABLE,
g_param_spec_boolean ("reorderable",
P_("Tab reorderable"),
P_("Whether the tab is reorderable by user action or not"),
P_("Whether the tab is reorderable by user action"),
FALSE,
GTK_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,

View File

@ -167,7 +167,7 @@ gtk_plug_class_init (GtkPlugClass *class)
PROP_EMBEDDED,
g_param_spec_boolean ("embedded",
P_("Embedded"),
P_("Whether or not the plug is embedded"),
P_("Whether the plug is embedded"),
FALSE,
GTK_PARAM_READABLE));

View File

@ -329,7 +329,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
g_object_class_install_property (object_class,
PROP_MANUAL_CAPABILITIES,
g_param_spec_flags ("manual-capabilities",
P_("Manual Capabilites"),
P_("Manual Capabilities"),
P_("Capabilities the application can handle"),
GTK_TYPE_PRINT_CAPABILITIES,
0,

View File

@ -178,13 +178,13 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
GTK_PARAM_READWRITE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("xspacing",
P_("XSpacing"),
P_("X spacing"),
P_("Extra spacing applied to the width of a progress bar."),
0, G_MAXINT, 7,
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("yspacing",
P_("YSpacing"),
P_("Y spacing"),
P_("Extra spacing applied to the height of a progress bar."),
0, G_MAXINT, 7,
G_PARAM_READWRITE));
@ -198,7 +198,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("min-horizontal-bar-width",
P_("Min horizontal bar width"),
P_("Minimum horizontal bar width"),
P_("The minimum horizontal width of the progress bar"),
1, G_MAXINT, MIN_HORIZONTAL_BAR_WIDTH,
G_PARAM_READWRITE));
@ -211,7 +211,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("min-horizontal-bar-height",
P_("Min horizontal bar height"),
P_("Minimum horizontal bar height"),
P_("Minimum horizontal height of the progress bar"),
1, G_MAXINT, MIN_HORIZONTAL_BAR_HEIGHT,
G_PARAM_READWRITE));
@ -224,7 +224,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("min-vertical-bar-width",
P_("Min vertical bar width"),
P_("Minimum vertical bar width"),
P_("The minimum vertical width of the progress bar"),
1, G_MAXINT, MIN_VERTICAL_BAR_WIDTH,
G_PARAM_READWRITE));
@ -237,7 +237,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("min-vertical-bar-height",
P_("Min vertical bar height"),
P_("Minimum vertical bar height"),
P_("The minimum vertical height of the progress bar"),
1, G_MAXINT, MIN_VERTICAL_BAR_HEIGHT,
G_PARAM_READWRITE));

View File

@ -229,7 +229,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
PROP_ADJUSTMENT,
g_param_spec_object ("adjustment",
P_("Adjustment"),
P_("The adjustment that holds the value of the spinbutton"),
P_("The adjustment that holds the value of the spin button"),
GTK_TYPE_ADJUSTMENT,
GTK_PARAM_READWRITE));

View File

@ -289,7 +289,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
PROP_BLINKING,
g_param_spec_boolean ("blinking",
P_("Blinking"),
P_("Whether or not the status icon is blinking"),
P_("Whether the status icon is blinking"),
FALSE,
GTK_PARAM_READWRITE));
@ -297,7 +297,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
PROP_VISIBLE,
g_param_spec_boolean ("visible",
P_("Visible"),
P_("Whether or not the status icon is visible"),
P_("Whether the status icon is visible"),
TRUE,
GTK_PARAM_READWRITE));
@ -313,7 +313,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
PROP_EMBEDDED,
g_param_spec_boolean ("embedded",
P_("Embedded"),
P_("Whether or not the status icon is embedded"),
P_("Whether the status icon is embedded"),
FALSE,
GTK_PARAM_READABLE));

View File

@ -123,7 +123,7 @@ gtk_toggle_action_class_init (GtkToggleActionClass *klass)
/**
* GtkToggleAction:active:
*
* If the toggle action should be active in or not.
* Whether the toggle action should be active.
*
* Since: 2.10
*/
@ -131,7 +131,7 @@ gtk_toggle_action_class_init (GtkToggleActionClass *klass)
PROP_ACTIVE,
g_param_spec_boolean ("active",
P_("Active"),
P_("If the toggle action should be active in or not"),
P_("Whether the toggle action should be active"),
FALSE,
GTK_PARAM_READWRITE));
/**

View File

@ -113,7 +113,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
PROP_ACTIVE,
g_param_spec_boolean ("active",
P_("Active"),
P_("If the toggle button should be pressed in or not"),
P_("If the toggle button should be pressed in"),
FALSE,
GTK_PARAM_READWRITE));

View File

@ -102,7 +102,7 @@ gtk_toggle_tool_button_class_init (GtkToggleToolButtonClass *klass)
/**
* GtkToggleToolButton:active:
*
* If the toggle tool button should be pressed in or not.
* If the toggle tool button should be pressed in.
*
* Since: 2.8
*/
@ -110,7 +110,7 @@ gtk_toggle_tool_button_class_init (GtkToggleToolButtonClass *klass)
PROP_ACTIVE,
g_param_spec_boolean ("active",
P_("Active"),
P_("If the toggle button should be pressed in or not"),
P_("If the toggle button should be pressed in"),
FALSE,
GTK_PARAM_READWRITE));

View File

@ -789,7 +789,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
/**
* GtkWidget:double-buffered
*
* Whether or not the widget is double buffered.
* Whether the widget is double buffered.
*
* Since: 2.18
*/
@ -797,7 +797,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
PROP_DOUBLE_BUFFERED,
g_param_spec_boolean ("double-buffered",
P_("Double Buffered"),
P_("Whether or not the widget is double buffered"),
P_("Whether the widget is double buffered"),
TRUE,
GTK_PARAM_READWRITE));