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-debugger.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-debugger.c')
-rw-r--r-- | src/empathy-debugger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-debugger.c b/src/empathy-debugger.c index c63a5b57b..d4ce3273a 100644 --- a/src/empathy-debugger.c +++ b/src/empathy-debugger.c @@ -74,7 +74,7 @@ command_line_cb (GApplication *application, optcontext = g_option_context_new (N_("- Empathy Debugger")); 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 = g_application_command_line_get_arguments (command_line, &argc); if (!g_option_context_parse (optcontext, &argc, &argv, &error)) @@ -103,6 +103,7 @@ main (int argc, gtk_init (&argc, &argv); empathy_gtk_init (); + textdomain (GETTEXT_PACKAGE); app = gtk_application_new (EMPATHY_DEBUGGER_DBUS_NAME, G_APPLICATION_HANDLES_COMMAND_LINE); @@ -114,7 +115,6 @@ main (int argc, /* Make empathy and empathy-debugger appear as the same app in gnome-shell */ gdk_set_program_class ("Empathy"); gtk_window_set_default_icon_name ("empathy"); - textdomain (GETTEXT_PACKAGE); retval = g_application_run (G_APPLICATION (app), argc, argv); |