Updating I18n.php to add Corsican as new locale

This commit is contained in:
Patriccollu 2022-02-24 20:05:19 +01:00 committed by GitHub
parent 004e2dd75c
commit 30c0d22468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,6 +317,7 @@ class I18n
switch (self::$_language) {
case 'cs':
return $n == 1 ? 0 : ($n >= 2 && $n <= 4 ? 1 : 2);
case 'co':
case 'fr':
case 'oc':
case 'zh':