=?utf-8?q?=5Balmanah=5D_Bug_671801_=E2=80=94_i18n_doesn=27t_work?=



commit 542a426082f89e965a22af6e97c4ce06beefa45e
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sat Mar 24 23:00:12 2012 +0000

    Bug 671801 â i18n doesn't work
    
    Commit 01084bd42ad2747cc582274a3988f17bcf23d6f3 removed AM_GNU_GETTEXT,
    meaning that ENABLE_NLS was *never* defined. This effectively disabled i18n
    for everyone.
    
    Closes: https://bugzilla.gnome.org/show_bug.cgi?id=671801

 src/application.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/application.c b/src/application.c
index 10c770d..1f6855b 100644
--- a/src/application.c
+++ b/src/application.c
@@ -94,11 +94,9 @@ constructed (GObject *object)
 	g_application_set_flags (G_APPLICATION (object), G_APPLICATION_HANDLES_COMMAND_LINE);
 
 	/* Localisation */
-#ifdef ENABLE_NLS
 	bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 	textdomain (GETTEXT_PACKAGE);
-#endif
 
 	g_set_application_name (_("Almanah Diary"));
 	gtk_window_set_default_icon_name ("almanah");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]