Reformatted code
This commit is contained in:
parent
4df7faef6d
commit
98c4a22580
1 changed files with 8 additions and 1 deletions
|
@ -398,7 +398,14 @@ class L10n
|
||||||
// Persian is manually added to language detection until a persian translation is provided for the interface, at
|
// Persian is manually added to language detection until a persian translation is provided for the interface, at
|
||||||
// which point it will be automatically available through `getAvailableLanguages()` and this should be removed.
|
// which point it will be automatically available through `getAvailableLanguages()` and this should be removed.
|
||||||
// Additionally Portuguese, Ukrainian, traditional Chinese and Welsh are added to that list.
|
// Additionally Portuguese, Ukrainian, traditional Chinese and Welsh are added to that list.
|
||||||
$langs = array_merge(['cy' => 'Cymraeg', 'uk' => 'Українська', 'pt-PT' => 'Português', 'zh-hant' => '繁體', 'fa' => 'فارسی'], $langs);
|
$additional_langs = [
|
||||||
|
'cy' => 'Cymraeg',
|
||||||
|
'uk' => 'Українська',
|
||||||
|
'pt-PT' => 'Português',
|
||||||
|
'zh-hant' => '繁體',
|
||||||
|
'fa' => 'فارسی'
|
||||||
|
];
|
||||||
|
$langs = array_merge($additional_langs, $langs);
|
||||||
ksort($langs);
|
ksort($langs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue