aboutsummaryrefslogtreecommitdiffstats
path: root/common/simple-gettext.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-05-04 09:22:18 +0000
committerWerner Koch <[email protected]>2007-05-04 09:22:18 +0000
commit3c351d0232d39e8496bd6a06abf0640896352aea (patch)
treeafafa3eea6f93b7e78ec302749d097c3448a371f /common/simple-gettext.c
parent* packet.h, mainproc.c (reset_literals_seen): New function to reset (diff)
downloadgnupg-3c351d0232d39e8496bd6a06abf0640896352aea.tar.gz
gnupg-3c351d0232d39e8496bd6a06abf0640896352aea.zip
UTF-8 Fixes
Diffstat (limited to 'common/simple-gettext.c')
-rw-r--r--common/simple-gettext.c9
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;