This is for consistency with system-wide gettext.h which is used
by some 3rd party libs. system-wide gettext uses `#if ENABLE_NLS`,
not #ifdef
bundle_dir = Glib::path_get_dirname (exec_dir);
-#ifdef ENABLE_NLS
+#if ENABLE_NLS
if (!ARDOUR::translations_are_enabled ()) {
localedir = "/this/cannot/exist";
} else {
}
#endif
-#ifdef ENABLE_NLS
+#if ENABLE_NLS
if (!ARDOUR::translations_are_enabled ()) {
localedir = "/this/cannot/exist";
} else {
#define _LIBGETTEXT_H 1
/* NLS can be disabled through the configure --disable-nls option. */
-#ifdef ENABLE_NLS
+#if ENABLE_NLS
/* Get declarations of GNU message catalog functions. */
# include <libintl.h>
fftwf_make_planner_thread_safe ();
#endif
-#ifdef ENABLE_NLS
+#if ENABLE_NLS
/* initialize C locale to user preference */
if (ARDOUR::translations_are_enabled ()) {
setlocale (LC_ALL, "");
windows_vst_gui_init (&argc, &argv);
#endif
-#ifdef ENABLE_NLS
+#if ENABLE_NLS
cerr << "bind txt domain [" << PACKAGE << "] to " << localedir << endl;
(void) bindtextdomain (PACKAGE, localedir.c_str());
));
-#ifdef ENABLE_NLS
+#if ENABLE_NLS
add_option (_("General/Translation"), new OptionEditorHeading (_("Internationalization")));