diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-10-27 03:07:16 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-10-27 03:07:16 +0000 |
commit | b478870c5f8b42e44ab1bb581c8d05932abdc390 (patch) | |
tree | 20732b4c1337f82abd3287c6e5d18ad19eac52ff /gtk/gtkaccellabel.c | |
parent | 5cfd038335400f6c6fbc7751b685537e52ea8cd4 (diff) | |
download | gtk+-b478870c5f8b42e44ab1bb581c8d05932abdc390.tar.gz |
More conversion to C_()
svn path=/trunk/; revision=21717
Diffstat (limited to 'gtk/gtkaccellabel.c')
-rw-r--r-- | gtk/gtkaccellabel.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c index c4296055b3..1c71935708 100644 --- a/gtk/gtkaccellabel.c +++ b/gtk/gtkaccellabel.c @@ -733,13 +733,9 @@ _gtk_accel_label_class_get_accelerator_label (GtkAccelLabelClass *klass, g_string_append_c (gstring, g_ascii_toupper (tmp[0])); else { - gchar msg[128]; - gchar *str; - - strcpy (msg, "keyboard label|"); - g_strlcat (msg, tmp, 128); - str = _(msg); - if (str == msg) + const gchar *str; + str = g_dpgettext2 (GETTEXT_PACKAGE, "keyboard label", tmp); + if (str == tmp) { g_string_append (gstring, tmp); substitute_underscores (gstring->str); |