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-call.c | |
parent | 5deac54272ed93cf9811af2dc79658b21bb8c705 (diff) | |
download | gsoc2013-empathy-9923159863e58051f64cc7a60b3fa16184526db8.tar gsoc2013-empathy-9923159863e58051f64cc7a60b3fa16184526db8.tar.gz gsoc2013-empathy-9923159863e58051f64cc7a60b3fa16184526db8.tar.bz2 gsoc2013-empathy-9923159863e58051f64cc7a60b3fa16184526db8.tar.lz gsoc2013-empathy-9923159863e58051f64cc7a60b3fa16184526db8.tar.xz 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-call.c')
-rw-r--r-- | src/empathy-call.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-call.c b/src/empathy-call.c index 5c3633be5..e19b1d05f 100644 --- a/src/empathy-call.c +++ b/src/empathy-call.c @@ -203,6 +203,7 @@ main (int argc, clutter_get_option_group_without_init ()); g_option_context_add_group (optcontext, gtk_clutter_get_option_group ()); g_option_context_add_main_entries (optcontext, options, GETTEXT_PACKAGE); + g_option_context_set_translation_domain (optcontext, GETTEXT_PACKAGE); if (!g_option_context_parse (optcontext, &argc, &argv, &error)) { g_print ("%s\nRun '%s --help' to see a full list of available command " @@ -217,12 +218,12 @@ main (int argc, clutter_gst_init (&argc, &argv); empathy_gtk_init (); + textdomain (GETTEXT_PACKAGE); g_set_application_name (_("Empathy Audio/Video Client")); /* Make empathy and empathy-call appear as the same app in gnome-shell */ gdk_set_program_class ("Empathy"); gtk_window_set_default_icon_name ("empathy"); - textdomain (GETTEXT_PACKAGE); gtk_settings = gtk_settings_get_default (); g_object_set (G_OBJECT (gtk_settings), "gtk-application-prefer-dark-theme", |