[gnome-mud] Always enable NLS



commit 864e31472f3299a2825a5d30b9518251fe94af9c
Author: Mart Raudsepp <leio gentoo org>
Date:   Sat Jan 5 01:44:38 2019 +0200

    Always enable NLS

 meson.build     | 1 -
 src/gnome-mud.c | 2 --
 2 files changed, 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 5b4f130..692b51e 100644
--- a/meson.build
+++ b/meson.build
@@ -55,7 +55,6 @@ foreach define: set_defines
   config_h.set_quoted(define[0], define[1])
 endforeach
 
-config_h.set('ENABLE_NLS', true) # FIXME: remove conditionals from source code
 config_h.set('ENABLE_GST', libgst_dep.found())
 config_h.set('ENABLE_MCCP', libz_dep.found())
 config_h.set('ENABLE_DEBUG_LOGGER', get_option('debug-logger'))
diff --git a/src/gnome-mud.c b/src/gnome-mud.c
index 7dd2f9d..40b1bc7 100644
--- a/src/gnome-mud.c
+++ b/src/gnome-mud.c
@@ -43,12 +43,10 @@ main (gint argc, char *argv[])
     GString *dir;
     GSettings *global_settings;
 
-#ifdef ENABLE_NLS
     /* Initialize internationalization */
     bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
     bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
     textdomain(GETTEXT_PACKAGE);
-#endif
 
     /* Set up schema version */
     global_settings = g_settings_new("org.gnome.MUD");


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