From 74a834dc733cb43ed7e77cc456e78ca2d706e6c1 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 20 Nov 2017 10:31:31 -0500 Subject: src/i18n.h: New header --- (limited to 'src') 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 +#include + +#define P_(String) gettext(String) +#define PL_(StringS, StringP, N) ngettext(StringS, StringP, N) diff --git a/src/local.mk b/src/local.mk index e259c4a..ee0be5e 100644 --- a/src/local.mk +++ b/src/local.mk @@ -3,6 +3,7 @@ marquee_SOURCES += \ %reldir%/application.h \ %reldir%/download.c \ %reldir%/download.h \ + %reldir%/i18n.h \ %reldir%/main.c \ %reldir%/notebook.c \ %reldir%/notebook.h \ -- cgit v0.9.1