summaryrefslogtreecommitdiffstats
path: root/src/i18n.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/i18n.h')
-rw-r--r--src/i18n.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/i18n.h b/src/i18n.h
new file mode 100644
index 0000000..d4a8474
--- /dev/null
+++ b/src/i18n.h
@@ -0,0 +1,9 @@
+/*
+ * gettext support macros
+ */
+
+#include <glib.h>
+#include <glib/gi18n.h>
+
+#define P_(String) gettext(String)
+#define PL_(StringS, StringP, N) ngettext(StringS, StringP, N)