Choosing correct Occitan plural formula, added unit tests for Occitan and Chinese, corrected casing of languages in unit test

This commit is contained in:
El RIDO 2017-01-08 07:56:56 +01:00
parent 20fea819cb
commit f79c00378b
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
9 changed files with 57 additions and 35 deletions

View file

@ -295,6 +295,7 @@ class I18n
{
switch (self::$_language) {
case 'fr':
case 'oc':
case 'zh':
return $n > 1 ? 1 : 0;
case 'pl':