Language description updated
This commit is contained in:
parent
47c15d330f
commit
aeba70f2a6
2 changed files with 20 additions and 20 deletions
|
@ -405,35 +405,35 @@ class L10n
|
||||||
'be' => 'беларуская мова',
|
'be' => 'беларуская мова',
|
||||||
'bn' => 'বাংলা',
|
'bn' => 'বাংলা',
|
||||||
'cy' => 'Cymraeg',
|
'cy' => 'Cymraeg',
|
||||||
'el-monoton' => 'Ελληνικά',
|
'el-monoton' => 'ελληνικά',
|
||||||
'eu' => 'euskara',
|
'eu' => 'euskara, euskera',
|
||||||
'fa' => 'فارسی',
|
'fa' => 'فارسی',
|
||||||
'ga' => 'Gaeilge',
|
'ga' => 'Gaeilge',
|
||||||
'gl' => 'Galego',
|
'gl' => 'galego',
|
||||||
'he' => 'עברית',
|
'he' => 'עברית',
|
||||||
'hi' => 'हिन्दी',
|
'hi' => 'हिन्दी, हिंदी',
|
||||||
'hr' => 'Hrvatski',
|
'hr' => 'hrvatski jezik',
|
||||||
'hy' => 'Հայերեն',
|
'hy' => 'Հայերեն',
|
||||||
'id' => 'bahasa Indonesia',
|
'id' => 'Bahasa Indonesia',
|
||||||
'jv' => 'Basa Jawa',
|
'jv' => 'basa Jawa',
|
||||||
'ka' => 'ქართული',
|
'ka' => 'ქართული',
|
||||||
'ko' => '한국인',
|
'ko' => '한국어, 조선어',
|
||||||
'lt' => 'lietuvių',
|
'lt' => 'lietuvių kalba',
|
||||||
'lv' => 'latviešu',
|
'lv' => 'latviešu valoda',
|
||||||
'ms-Latn' => 'Bahasa Melayu',
|
'ms-Latn' => 'bahasa Melayu, بهاس ملايو',
|
||||||
'sr-Cyrl' => 'српски језик',
|
'sr-Cyrl' => 'српски језик',
|
||||||
'sk' => 'slovenský',
|
'sk' => 'slovenčina, slovenský jazyk',
|
||||||
'sl' => 'Slovenščina',
|
'sl' => 'slovenski jezik, slovenščina',
|
||||||
'sq' => 'Shqip',
|
'sq' => 'Shqip',
|
||||||
'sw' => 'Kiswahili',
|
'sw' => 'Kiswahili',
|
||||||
'ta' => 'தமிழ்',
|
'ta' => 'தமிழ்',
|
||||||
'th' => 'แบบไทย',
|
'th' => 'ไทย',
|
||||||
'tl' => 'Wikang Tagalog',
|
'tl' => 'Wikang Tagalog, ᜏᜒᜃᜅ᜔ ᜆᜄᜎᜓᜄ᜔',
|
||||||
'tr' => 'Türkçe',
|
'tr' => 'Türkçe',
|
||||||
'pt-PT' => 'Português',
|
'pt-PT' => 'português',
|
||||||
'uk' => 'Українська',
|
'uk' => 'українська мова',
|
||||||
'uz' => 'Ўзбек',
|
'uz' => 'Oʻzbek, Ўзбек, أۇزبېك',
|
||||||
'vi' => 'Tiếng Việt',
|
'vi' => 'Việt Nam',
|
||||||
'zh-hant' => '繁體',
|
'zh-hant' => '繁體',
|
||||||
];
|
];
|
||||||
$langs = array_merge($additional_langs, $langs);
|
$langs = array_merge($additional_langs, $langs);
|
||||||
|
|
|
@ -2134,7 +2134,7 @@ class Item
|
||||||
|
|
||||||
$used_languages = '';
|
$used_languages = '';
|
||||||
foreach (json_decode($item['language'], true) as $language => $reliability) {
|
foreach (json_decode($item['language'], true) as $language => $reliability) {
|
||||||
$used_languages .= $iso639->languageByCode1($language) . ' (' . $language . "): " . number_format($reliability, 5) . '\n';
|
$used_languages .= $iso639->nativeByCode1(substr($language, 0, 2)) . ' (' . $iso639->languageByCode1(substr($language, 0, 2)) . ' - ' . $language . "): " . number_format($reliability, 5) . '\n';
|
||||||
}
|
}
|
||||||
$used_languages = DI::l10n()->t('Detected languages in this post:\n%s', $used_languages);
|
$used_languages = DI::l10n()->t('Detected languages in this post:\n%s', $used_languages);
|
||||||
return $used_languages;
|
return $used_languages;
|
||||||
|
|
Loading…
Reference in a new issue