empathy r2373 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2373 - trunk/src
- Date: Mon, 2 Feb 2009 20:10:11 +0000 (UTC)
Author: xclaesse
Date: Mon Feb 2 20:10:10 2009
New Revision: 2373
URL: http://svn.gnome.org/viewvc/empathy?rev=2373&view=rev
Log:
Fix some i18n issues in main().
Thanks to Christian Persch, fix bug #569901.
Modified:
trunk/src/empathy.c
Modified: trunk/src/empathy.c
==============================================================================
--- trunk/src/empathy.c (original)
+++ trunk/src/empathy.c Mon Feb 2 20:10:10 2009
@@ -430,14 +430,17 @@
/* Init */
g_thread_init (NULL);
+ empathy_init ();
+
if (!gtk_init_with_args (&argc, &argv,
- _("- Empathy Instant Messenger"),
+ N_("- Empathy Instant Messenger"),
options, GETTEXT_PACKAGE, &error)) {
g_warning ("Error in empathy init: %s", error->message);
return EXIT_FAILURE;
}
+
empathy_gtk_init ();
- g_set_application_name (PACKAGE_NAME);
+ g_set_application_name (_(PACKAGE_NAME));
gtk_window_set_default_icon_name ("empathy");
textdomain (GETTEXT_PACKAGE);
@@ -533,7 +536,7 @@
chatroom_manager = empathy_chatroom_manager_dup_singleton (NULL);
empathy_chatroom_manager_observe (chatroom_manager, dispatcher);
- notify_init (PACKAGE_NAME);
+ notify_init (_(PACKAGE_NAME));
gtk_main ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]