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-accounts.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-accounts.c')
-rw-r--r-- | src/empathy-accounts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c index 7b2964c4b..8feb346e5 100644 --- a/src/empathy-accounts.c +++ b/src/empathy-accounts.c @@ -195,6 +195,7 @@ local_cmdline (GApplication *app, optcontext = g_option_context_new (N_("- Empathy Accounts")); g_option_context_add_group (optcontext, gtk_get_option_group (TRUE)); g_option_context_add_main_entries (optcontext, options, GETTEXT_PACKAGE); + g_option_context_set_translation_domain (optcontext, GETTEXT_PACKAGE); argv = *arguments; for (i = 0; argv[i] != NULL; i++) @@ -223,6 +224,7 @@ main (int argc, char *argv[]) gint retval; empathy_init (); + textdomain (GETTEXT_PACKAGE); gtk_init (&argc, &argv); empathy_gtk_init (); @@ -232,7 +234,6 @@ main (int argc, char *argv[]) /* Make empathy and empathy-accounts appear as the same app in gnome-shell */ gdk_set_program_class ("Empathy"); gtk_window_set_default_icon_name ("empathy"); - textdomain (GETTEXT_PACKAGE); app = gtk_application_new (EMPATHY_ACCOUNTS_DBUS_NAME, G_APPLICATION_HANDLES_COMMAND_LINE); |