mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 09:49:14 +02:00
Choosing correct Occitan plural formula, added unit tests for Occitan and Chinese, corrected casing of languages in unit test
This commit is contained in:
parent
20fea819cb
commit
f79c00378b
9 changed files with 57 additions and 35 deletions
|
@ -295,6 +295,7 @@ class I18n
|
|||
{
|
||||
switch (self::$_language) {
|
||||
case 'fr':
|
||||
case 'oc':
|
||||
case 'zh':
|
||||
return $n > 1 ? 1 : 0;
|
||||
case 'pl':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue