[gnome-calendar] project: Fix missing translations



commit 3d2ca6149015f59a80e8bc906a06c778449746e5
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Mon Sep 18 20:48:16 2017 +0200

    project: Fix missing translations
    
    Gettext support in autotools does define ENABLE_NLS macro to 1 in
    the autoconf generated configuration file. Due to the migration to
    the meson build system, the procedure that defines This macro is
    missing.
    
    There is no reason to really disable i18n, so this fix removes the
    condition that binds the text domain.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=787815

 src/main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 7b0397b..d08d142 100644
--- a/src/main.c
+++ b/src/main.c
@@ -29,11 +29,9 @@ main (int   argc,
 {
   g_autoptr (GcalApplication) app;
 
-#ifdef ENABLE_NLS
   bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
-#endif
 
   app = gcal_application_new ();
 


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