enable and credit new Finnish translation

This commit is contained in:
El RIDO
2022-04-05 07:22:07 +02:00
parent 21400d4928
commit f0d0daffcc
6 changed files with 15 additions and 15 deletions

View File

@@ -305,7 +305,7 @@ class I18n
/**
* determines the plural form to use based on current language and given number
*
* From: https://localization-guide.readthedocs.org/en/latest/l10n/pluralforms.html
* From: https://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html
*
* @access protected
* @static
@@ -336,7 +336,7 @@ class I18n
return $n % 10 == 1 && $n % 100 != 11 ? 0 : ($n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
case 'sl':
return $n % 100 == 1 ? 1 : ($n % 100 == 2 ? 2 : ($n % 100 == 3 || $n % 100 == 4 ? 3 : 0));
// bg, ca, de, en, es, et, hu, it, nl, no, pt
// bg, ca, de, en, es, et, fi, hu, it, nl, no, pt
default:
return $n != 1 ? 1 : 0;
}