summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r--gtk/gtkentry.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index b4dae1f31c..931606d047 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -443,8 +443,8 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_CURSOR_POSITION,
g_param_spec_int ("cursor_position",
- _("Cursor Position"),
- _("The current position of the insertion cursor in chars"),
+ P_("Cursor Position"),
+ P_("The current position of the insertion cursor in chars"),
0,
MAX_SIZE,
0,
@@ -453,8 +453,8 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_SELECTION_BOUND,
g_param_spec_int ("selection_bound",
- _("Selection Bound"),
- _("The position of the opposite end of the selection from the cursor in chars"),
+ P_("Selection Bound"),
+ P_("The position of the opposite end of the selection from the cursor in chars"),
0,
MAX_SIZE,
0,
@@ -463,16 +463,16 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_EDITABLE,
g_param_spec_boolean ("editable",
- _("Editable"),
- _("Whether the entry contents can be edited"),
+ P_("Editable"),
+ P_("Whether the entry contents can be edited"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_MAX_LENGTH,
g_param_spec_int ("max_length",
- _("Maximum length"),
- _("Maximum number of characters for this entry. Zero if no maximum"),
+ P_("Maximum length"),
+ P_("Maximum number of characters for this entry. Zero if no maximum"),
0,
MAX_SIZE,
0,
@@ -480,39 +480,39 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_VISIBILITY,
g_param_spec_boolean ("visibility",
- _("Visibility"),
- _("FALSE displays the \"invisible char\" instead of the actual text (password mode)"),
+ P_("Visibility"),
+ P_("FALSE displays the \"invisible char\" instead of the actual text (password mode)"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_HAS_FRAME,
g_param_spec_boolean ("has_frame",
- _("Has Frame"),
- _("FALSE removes outside bevel from entry"),
+ P_("Has Frame"),
+ P_("FALSE removes outside bevel from entry"),
TRUE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_INVISIBLE_CHAR,
g_param_spec_unichar ("invisible_char",
- _("Invisible character"),
- _("The character to use when masking entry contents (in \"password mode\")"),
+ P_("Invisible character"),
+ P_("The character to use when masking entry contents (in \"password mode\")"),
'*',
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_ACTIVATES_DEFAULT,
g_param_spec_boolean ("activates_default",
- _("Activates default"),
- _("Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed"),
+ P_("Activates default"),
+ P_("Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed"),
FALSE,
G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (gobject_class,
PROP_WIDTH_CHARS,
g_param_spec_int ("width_chars",
- _("Width in chars"),
- _("Number of characters to leave space for in the entry"),
+ P_("Width in chars"),
+ P_("Number of characters to leave space for in the entry"),
-1,
G_MAXINT,
-1,
@@ -521,8 +521,8 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_SCROLL_OFFSET,
g_param_spec_int ("scroll_offset",
- _("Scroll offset"),
- _("Number of pixels of the entry scrolled off the screen to the left"),
+ P_("Scroll offset"),
+ P_("Number of pixels of the entry scrolled off the screen to the left"),
0,
G_MAXINT,
0,
@@ -531,8 +531,8 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_install_property (gobject_class,
PROP_TEXT,
g_param_spec_string ("text",
- _("Text"),
- _("The contents of the entry"),
+ P_("Text"),
+ P_("The contents of the entry"),
"",
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -763,8 +763,8 @@ gtk_entry_class_init (GtkEntryClass *class)
"toggle_overwrite", 0);
gtk_settings_install_property (g_param_spec_boolean ("gtk-entry-select-on-focus",
- _("Select on focus"),
- _("Whether to select the contents of an entry when it is focused"),
+ P_("Select on focus"),
+ P_("Whether to select the contents of an entry when it is focused"),
TRUE,
G_PARAM_READWRITE));
}