mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
Moves supported languages to the general part
This commit is contained in:
parent
7ae59a53ed
commit
eaff54c4e3
1 changed files with 4 additions and 4 deletions
|
@ -409,16 +409,16 @@ class L10n
|
||||||
{
|
{
|
||||||
$additional_langs = [
|
$additional_langs = [
|
||||||
'af', 'az', 'az-Cyrl', 'az-Latn', 'be', 'bn', 'bs', 'bs-Cyrl', 'bs-Latn',
|
'af', 'az', 'az-Cyrl', 'az-Latn', 'be', 'bn', 'bs', 'bs-Cyrl', 'bs-Latn',
|
||||||
'cy', 'da', 'el', 'el-monoton', 'el-polyton', 'en', 'eu',
|
'cy', 'da', 'el', 'el-monoton', 'el-polyton', 'en', 'eu', 'fa', 'fi',
|
||||||
'fa', 'fi', 'ga', 'gl', 'he', 'hi', 'hr', 'hy', 'id', 'in', 'iw', 'jv', 'jw',
|
'ga', 'gl', 'gu', 'he', 'hi', 'hr', 'hy', 'id', 'in', 'iu', 'iw', 'jv', 'jw',
|
||||||
'ka', 'ko', 'lt', 'lv', 'mo', 'ms', 'ms-Arab', 'ms-Latn', 'nb', 'nn', 'no',
|
'ka', 'km', 'ko', 'lt', 'lv', 'mo', 'ms', 'ms-Arab', 'ms-Latn', 'nb', 'nn', 'no',
|
||||||
'pt', 'pt-PT', 'pt-BR', 'ro', 'sa', 'sk', 'sl', 'sq', 'sr', 'sr-Cyrl', 'sr-Latn', 'sw',
|
'pt', 'pt-PT', 'pt-BR', 'ro', 'sa', 'sk', 'sl', 'sq', 'sr', 'sr-Cyrl', 'sr-Latn', 'sw',
|
||||||
'ta', 'th', 'tl', 'tr', 'ug', 'uk', 'uz', 'vi', 'zh', 'zh-Hant', 'zh-Hans',
|
'ta', 'th', 'tl', 'tr', 'ug', 'uk', 'uz', 'vi', 'zh', 'zh-Hant', 'zh-Hans',
|
||||||
];
|
];
|
||||||
|
|
||||||
if (in_array('cld2', get_loaded_extensions())) {
|
if (in_array('cld2', get_loaded_extensions())) {
|
||||||
$additional_langs = array_merge($additional_langs,
|
$additional_langs = array_merge($additional_langs,
|
||||||
['sd', 'si', 'yi', 'km', 'iu', 'lo', 'dv', 'gu', 'kn', 'te', 'ml', 'or', 'pa', 'iu']);
|
['dv', 'kn', 'lo', 'ml', 'or', 'pa', 'sd', 'si', 'te', 'yi']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$langs = array_merge($additional_langs, array_keys($this->getAvailableLanguages()));
|
$langs = array_merge($additional_langs, array_keys($this->getAvailableLanguages()));
|
||||||
|
|
Loading…
Reference in a new issue