summaryrefslogtreecommitdiff
path: root/src/utils/gettext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/gettext.h')
-rw-r--r--src/utils/gettext.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utils/gettext.h b/src/utils/gettext.h
index fa9a62a6d..0a15aa724 100644
--- a/src/utils/gettext.h
+++ b/src/utils/gettext.h
@@ -40,6 +40,15 @@
#define _(s) (const_cast <char*>(s))
#define N_(s) (const_cast <char*>(s))
+char* ngettext(char* msgid, char* msgid_plural, unsigned long int n);
+
+char* ngettext(char* msgid, char* msgid_plural, unsigned long int n)
+{
+ if(n > 1)
+ return msgid_plural;
+ return msgid;
+}
+
#endif
#endif // UTILS_GETTEXT_H