aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@gnome.hu>2007-06-23 03:10:30 +0800
committerGabor Keleman <kelemeng@src.gnome.org>2007-06-23 03:10:30 +0800
commitb0a1720fcbb55cac52926c703df9528bd05e4b7f (patch)
treeceabc8fad232a392b078c892bcb626200d2031c0
parent6ecb9db9e4f568b79123977da9eec079d771cadb (diff)
downloadgsoc2013-epiphany-b0a1720fcbb55cac52926c703df9528bd05e4b7f.tar.gz
gsoc2013-epiphany-b0a1720fcbb55cac52926c703df9528bd05e4b7f.tar.zst
gsoc2013-epiphany-b0a1720fcbb55cac52926c703df9528bd05e4b7f.zip
Use g_option_group_set_translation_domain to translate commandline
2007-06-22 Gabor Kelemen <kelemeng@gnome.hu> * src/ephy-main.c: Use g_option_group_set_translation_domain to translate commandline options. Fixes bug #450146 svn path=/trunk/; revision=7090
-rw-r--r--ChangeLog5
-rw-r--r--src/ephy-main.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 35dfea360..78379feb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-22 Gabor Kelemen <kelemeng@gnome.hu>
+
+ * src/ephy-main.c: Use g_option_group_set_translation_domain to
+ translate commandline options. Fixes bug #450146
+
2007-06-07 Diego Escalante Urrelo <diegoe@gnome.org>
* embed/mozilla/GtkNSSSecurityWarningDialogs.cpp:
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 828365dd8..b3f0dc30c 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -504,6 +504,9 @@ main (int argc,
N_("GNOME Web Browser"),
N_("GNOME Web Browser options"),
NULL, NULL);
+
+ g_option_group_set_translation_domain (option_group, GETTEXT_PACKAGE);
+
g_option_group_add_entries (option_group, option_entries);
g_option_context_set_main_group (option_context, option_group);