[buoh/cleanups: 2/3] Fix internationalization



commit f95e879ef579fd235637d70ae54741e56a99b50c
Author: Jan Tojnar <jtojnar gmail com>
Date:   Sun Sep 2 13:52:08 2018 +0200

    Fix internationalization
    
    When porting to meson, I forgot to remove the ENABLE_NLS check, compiling
    without localization support.

 src/main.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 4ba952d..dc94ea9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,12 +34,10 @@ main (gint argc, gchar **argv)
 {
         Buoh *buoh;
 
-#ifdef ENABLE_NLS
         /* Initialize the i18n stuff */
         bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR);
         bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
         textdomain (GETTEXT_PACKAGE);
-#endif
 
         gtk_init (&argc, &argv);
 


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