call Translation.Get & GetC directly instead of calling Translation.GetN with default of plural=1

* add correct Arabic pluralform rules to test
This commit is contained in:
Chris Vaughn
2020-04-16 17:29:45 -05:00
parent 362a1d6915
commit 192fa01364
2 changed files with 27 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
msgid ""
msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5);\n"
msgid "Alcohol & Tobacco"
msgstr "الكحول والتبغ"