aboutsummaryrefslogtreecommitdiffstats
path: root/i18n.h
diff options
context:
space:
mode:
Diffstat (limited to 'i18n.h')
-rw-r--r--i18n.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/i18n.h b/i18n.h
new file mode 100644
index 00000000..dd08e601
--- /dev/null
+++ b/i18n.h
@@ -0,0 +1,11 @@
+/* Dummy header for libintl.h */
+
+#ifdef ENABLE_NLS
+#undef __OPTIMIZE__
+#include <libintl.h>
+#define _(String) gettext((String))
+#define N_(String) (String)
+#else
+#define _(String) (String)
+#define N_(String) (String)
+#endif