[emerillon] Fix i18n of command line help output



commit c078d25d21fcaba41a190e114395733ed2668af3
Author: Å?ukasz JernaÅ? <deejay1 srem org>
Date:   Wed May 12 11:53:04 2010 +0200

    Fix i18n of command line help output

 emerillon/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/emerillon/main.c b/emerillon/main.c
index b1109f5..819307f 100644
--- a/emerillon/main.c
+++ b/emerillon/main.c
@@ -88,8 +88,9 @@ parse_options (int *argc,
   g_option_context_add_group (context, gtk_get_option_group (TRUE));
   g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
 
-  position_group = g_option_group_new (_("position"), _("Specifies the default position"),
+  position_group = g_option_group_new ("position", _("Specifies the default position"),
                                        _("Show position options"), NULL, NULL);
+  g_option_group_set_translation_domain (position_group, GETTEXT_PACKAGE);
   g_option_group_add_entries (position_group, position_entries);
   g_option_group_set_parse_hooks (position_group, NULL, parse_position_options);
   g_option_context_add_group (context, position_group);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]