aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-encoding-menu.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-03-05 04:27:03 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-03-05 04:27:03 +0800
commitb13ca3fa01c8663acbf1015a13ba4fbc61b993ed (patch)
tree8ecdc2ff6e65755f125f1b23e49feeb62c411a6e /src/ephy-encoding-menu.c
parent59112c5d1ecefa9108e83135ecac07f9d7263657 (diff)
downloadgsoc2013-epiphany-b13ca3fa01c8663acbf1015a13ba4fbc61b993ed.tar
gsoc2013-epiphany-b13ca3fa01c8663acbf1015a13ba4fbc61b993ed.tar.gz
gsoc2013-epiphany-b13ca3fa01c8663acbf1015a13ba4fbc61b993ed.tar.bz2
gsoc2013-epiphany-b13ca3fa01c8663acbf1015a13ba4fbc61b993ed.tar.lz
gsoc2013-epiphany-b13ca3fa01c8663acbf1015a13ba4fbc61b993ed.tar.xz
gsoc2013-epiphany-b13ca3fa01c8663acbf1015a13ba4fbc61b993ed.tar.zst
gsoc2013-epiphany-b13ca3fa01c8663acbf1015a13ba4fbc61b993ed.zip
Translate menus
2003-03-04 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyAboutRedirector.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozillaPrivate.cpp: * lib/egg/egg-action-group.c: * src/ephy-encoding-menu.c: (build_group), (build_charset): Translate menus * src/ephy-automation.c: (impl_ephy_automation_loadurl): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: Make -f work
Diffstat (limited to 'src/ephy-encoding-menu.c')
-rw-r--r--src/ephy-encoding-menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c
index 95b3ed050..b97011bac 100644
--- a/src/ephy-encoding-menu.c
+++ b/src/ephy-encoding-menu.c
@@ -27,6 +27,8 @@
#include "ephy-shell.h"
#include "ephy-debug.h"
+#include <libgnome/gnome-i18n.h>
+
/**
* Private data
*/
@@ -188,7 +190,7 @@ build_group (EggActionGroup *action_group, GString *xml_string, const char *grou
action = g_object_new (EGG_TYPE_ACTION,
"name", verb,
- "label", group,
+ "label", _(group),
NULL);
egg_action_group_add_action (action_group, action);
g_object_unref (action);
@@ -214,7 +216,7 @@ build_charset (EggActionGroup *action_group,
verb = g_strdup_printf ("Charset%d", index);
action = g_object_new (EGG_TYPE_ACTION,
"name", verb,
- "label", info->title,
+ "label", _(info->title),
NULL);
g_signal_connect_closure
(action, "activate",