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
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':