diff options
author | Gabor Kelemen <kelemeng@gnome.hu> | 2012-05-03 03:31:41 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-05-03 17:50:07 +0800 |
commit | 9923159863e58051f64cc7a60b3fa16184526db8 (patch) | |
tree | 9b49946aab72391b6d306a1bfce34dbb2f42476c /src/empathy.c | |
parent | 5deac54272ed93cf9811af2dc79658b21bb8c705 (diff) | |
download | gsoc2013-empathy-9923159863e58051f64cc7a60b3fa16184526db8.tar.gz gsoc2013-empathy-9923159863e58051f64cc7a60b3fa16184526db8.tar.zst gsoc2013-empathy-9923159863e58051f64cc7a60b3fa16184526db8.zip |
Fix localization of --help outputs and application names
https://bugzilla.gnome.org/show_bug.cgi?id=675246
Diffstat (limited to 'src/empathy.c')
-rw-r--r-- | src/empathy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy.c b/src/empathy.c index 4db2cbb62..548a5e79f 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -439,6 +439,7 @@ empathy_app_local_command_line (GApplication *app, /* We create a group so that GOptionArgFuncs get the user data */ group = g_option_group_new ("empathy", NULL, NULL, app, NULL); + g_option_group_set_translation_domain (group, GETTEXT_PACKAGE); g_option_group_add_entries (group, options); optcontext = g_option_context_new (N_("- Empathy IM Client")); @@ -734,10 +735,10 @@ empathy_app_constructed (GObject *object) EmpathyApp *self = (EmpathyApp *) object; gboolean chatroom_manager_ready; + textdomain (GETTEXT_PACKAGE); g_set_application_name (_(PACKAGE_NAME)); gtk_window_set_default_icon_name ("empathy"); - textdomain (GETTEXT_PACKAGE); #ifdef ENABLE_DEBUG /* Set up debug sender */ |