aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/dino_i18n.h
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-04-12 22:42:23 +0200
committerfiaxh <git@mx.ax.lt>2017-04-13 14:13:57 +0200
commite3b69538bacd14283374f5e7619db610cafd81d6 (patch)
treeac3e1d04ee05355bdb995e1ffea55c5720e1dffb /libdino/src/dino_i18n.h
parenta37b5ac823cc5daefac6ab33a16d6f44c747ba9c (diff)
downloaddino-e3b69538bacd14283374f5e7619db610cafd81d6.tar.gz
dino-e3b69538bacd14283374f5e7619db610cafd81d6.zip
gettext improvements (more strings, times, plural, de lang)
Diffstat (limited to 'libdino/src/dino_i18n.h')
-rw-r--r--libdino/src/dino_i18n.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdino/src/dino_i18n.h b/libdino/src/dino_i18n.h
index e1a65f41..bf6e1347 100644
--- a/libdino/src/dino_i18n.h
+++ b/libdino/src/dino_i18n.h
@@ -3,6 +3,7 @@
#include<libintl.h>
-#define dino_gettext(String) ((char *) dgettext (GETTEXT_PACKAGE, String))
+#define dino_gettext(MsgId) ((char *) dgettext (GETTEXT_PACKAGE, MsgId))
+#define dino_ngettext(MsgId, MsgIdPlural, Int) ((char *) dngettext (GETTEXT_PACKAGE, MsgId, MsgIdPlural, Int))
#endif \ No newline at end of file