mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 12:34:39 +02:00
Capitalize language names fx. shown in /settings/channels
This commit is contained in:
parent
d1b8f31fe8
commit
e61e10c8cb
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ class L10n
|
|||
|
||||
foreach ($this->getDetectableLanguages() as $code) {
|
||||
$code = $this->toISO6391($code);
|
||||
$native = $iso639->nativeByCode1($code);
|
||||
$native = ucfirst($iso639->nativeByCode1($code));
|
||||
$language = $iso639->languageByCode1($code);
|
||||
if ($native != $language && $international) {
|
||||
$languages[$code] = $this->t('%s (%s)', $native, $language);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue