From b0a1720fcbb55cac52926c703df9528bd05e4b7f Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Fri, 22 Jun 2007 19:10:30 +0000 Subject: Use g_option_group_set_translation_domain to translate commandline 2007-06-22 Gabor Kelemen * src/ephy-main.c: Use g_option_group_set_translation_domain to translate commandline options. Fixes bug #450146 svn path=/trunk/; revision=7090 --- ChangeLog | 5 +++++ src/ephy-main.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 35dfea360..78379feb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-22 Gabor Kelemen + + * src/ephy-main.c: Use g_option_group_set_translation_domain to + translate commandline options. Fixes bug #450146 + 2007-06-07 Diego Escalante Urrelo * 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); -- cgit