diff options
Diffstat (limited to 'common/simple-gettext.c')
-rw-r--r-- | common/simple-gettext.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/simple-gettext.c b/common/simple-gettext.c index 56a305fd8..6661b2d12 100644 --- a/common/simple-gettext.c +++ b/common/simple-gettext.c @@ -419,6 +419,15 @@ gettext( const char *msgid ) return msgid; } + +const char * +ngettext (const char *msgid1, const char *msgid2, unsigned long int n) +{ + /* We use the simple Germanic plural rule. */ + return gettext (n==1? msgid1 : msgid2); +} + + #if 0 unsigned int cp1, cp2; |