[gnome-calendar/gnome-3-26] project: Fix missing translations



commit a1abf4c6579fd4d15e3e65f908aa9e49cdadf251
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]