summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/i18n.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/i18n.h b/src/i18n.h
index fbe5186..4d8ee76 100644
--- a/src/i18n.h
+++ b/src/i18n.h
@@ -1,3 +1,11 @@
+#ifdef ENABLE_NLS
+
#include <libintl.h>
#define _(msgid) gettext(msgid)
+
+#else
+
+#define _(msgid) (msgid)
+
+#endif