summaryrefslogtreecommitdiff
path: root/tests/testsrc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-03 18:14:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-03 18:14:54 +0300
commitb9f034639f3371187a95c9a6ed859948fcccd72a (patch)
tree95605e7f7514b1b2132b05503dd4303ef0586d9f /tests/testsrc
parent00a41b3346a0e6aadad025a90b0089a01aa7df3e (diff)
downloadmplint-b9f034639f3371187a95c9a6ed859948fcccd72a.tar.gz
mplint-b9f034639f3371187a95c9a6ed859948fcccd72a.tar.bz2
mplint-b9f034639f3371187a95c9a6ed859948fcccd72a.tar.xz
mplint-b9f034639f3371187a95c9a6ed859948fcccd72a.zip
Add basic support for checking plurals in po files.
Diffstat (limited to 'tests/testsrc')
-rw-r--r--tests/testsrc/bad/uk.po9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/testsrc/bad/uk.po b/tests/testsrc/bad/uk.po
index c9c6c77..1aef374 100644
--- a/tests/testsrc/bad/uk.po
+++ b/tests/testsrc/bad/uk.po
@@ -3701,6 +3701,15 @@ msgstr ""
msgid "unnamed"
msgstr ""
+#. TRANSLATORS: This sentence may be translated differently
+#. for different grammatical numbers (singular, plural, ...)
+#: src/localplayer.cpp:922
+#, c-format
+msgid "You picked up %d [@@%d|%s@@]1."
+msgid_plural "You picked up %d [@@%d|%s@@]1."
+msgstr[0] "You picked up %d [@@%d|%s@@]1"
+msgstr[1] ""
+
#~ msgid "no"
#~ msgstr "ні"