summaryrefslogtreecommitdiff
path: root/gtk/gtkaccellabel.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-02-27 23:16:48 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-02-27 23:16:48 +0000
commit485c2a5350c14c947691db75a4b8b01cff47505b (patch)
treeb8c0fb0f3935014ca6c144460f4637e3ca4f7fb8 /gtk/gtkaccellabel.c
parent9cbf37990b543d07a63971b6a3b9d02b3ded7046 (diff)
downloadgtk+-485c2a5350c14c947691db75a4b8b01cff47505b.tar.gz
Mark <Control>, <Shift>, <Release>, <Alt> for translation.
Wed Feb 27 18:01:03 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccellabel.c (gtk_accelerator_name) po/POTFILES.in: Mark <Control>, <Shift>, <Release>, <Alt> for translation. * gtk/gtkfontsel.c: Mark PREVIEW_TEXT for translation. (Vlad Harchev, #53223)
Diffstat (limited to 'gtk/gtkaccellabel.c')
-rw-r--r--gtk/gtkaccellabel.c21
1 files changed, 18 insertions, 3 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index 0d3548d559..e81de1067a 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -108,9 +108,24 @@ gtk_accel_label_class_init (GtkAccelLabelClass *class)
class->signal_quote1 = g_strdup ("<:");
class->signal_quote2 = g_strdup (":>");
- class->mod_name_shift = g_strdup ("Shift");
- class->mod_name_control = g_strdup ("Ctrl");
- class->mod_name_alt = g_strdup ("Alt");
+ /* This is the text that should appear next to menu accelerators
+ * that use the shift key. If the text on this key isn't typically
+ * translated on keyboards used for your language, don't translate
+ * this.
+ */
+ class->mod_name_shift = g_strdup (_("Shift"));
+ /* This is the text that should appear next to menu accelerators
+ * that use the control key. If the text on this key isn't typically
+ * translated on keyboards used for your language, don't translate
+ * this.
+ */
+ class->mod_name_control = g_strdup (_("Ctrl"));
+ /* This is the text that should appear next to menu accelerators
+ * that use the alt key. If the text on this key isn't typically
+ * translated on keyboards used for your language, don't translate
+ * this.
+ */
+ class->mod_name_alt = g_strdup (_("Alt"));
class->mod_separator = g_strdup ("+");
class->accel_seperator = g_strdup (" / ");
class->latin1_to_char = TRUE;