mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 21:52:35 -05:00
Add fully reviewed languages
Adding Bulgarian, Latvian, Nynorsk, and Slovak. Removing the obsolete `wwwLocales` export.
This commit is contained in:
parent
59490c7df4
commit
324f606a19
1 changed files with 5 additions and 61 deletions
|
@ -9,6 +9,7 @@ const locales = {
|
||||||
'am': {name: 'አማርኛ'},
|
'am': {name: 'አማርኛ'},
|
||||||
'az': {name: 'Azeri'},
|
'az': {name: 'Azeri'},
|
||||||
'id': {name: 'Bahasa Indonesia'},
|
'id': {name: 'Bahasa Indonesia'},
|
||||||
|
'bg': {name: 'български'},
|
||||||
'ca': {name: 'Català'},
|
'ca': {name: 'Català'},
|
||||||
'cs': {name: 'Česky'},
|
'cs': {name: 'Česky'},
|
||||||
'cy': {name: 'Cymraeg'},
|
'cy': {name: 'Cymraeg'},
|
||||||
|
@ -30,7 +31,7 @@ const locales = {
|
||||||
'zu': {name: 'isiZulu'},
|
'zu': {name: 'isiZulu'},
|
||||||
'is': {name: 'Íslenska'},
|
'is': {name: 'Íslenska'},
|
||||||
'it': {name: 'Italiano'},
|
'it': {name: 'Italiano'},
|
||||||
// 'lv': {name: 'Latviešu'}, // restore when reviewed
|
'lv': {name: 'Latviešu'},
|
||||||
'lt': {name: 'Lietuvių'},
|
'lt': {name: 'Lietuvių'},
|
||||||
'hu': {name: 'Magyar'},
|
'hu': {name: 'Magyar'},
|
||||||
'mi': {name: 'Māori'},
|
'mi': {name: 'Māori'},
|
||||||
|
@ -38,7 +39,7 @@ const locales = {
|
||||||
'ja': {name: '日本語'},
|
'ja': {name: '日本語'},
|
||||||
'ja-Hira': {name: 'にほんご'},
|
'ja-Hira': {name: 'にほんご'},
|
||||||
'nb': {name: 'Norsk Bokmål'},
|
'nb': {name: 'Norsk Bokmål'},
|
||||||
// 'nn': {name: 'Norsk Nynorsk'}, // restore when reviewed
|
'nn': {name: 'Norsk Nynorsk'},
|
||||||
'th': {name: 'ไทย'},
|
'th': {name: 'ไทย'},
|
||||||
'pl': {name: 'Polski'},
|
'pl': {name: 'Polski'},
|
||||||
'pt': {name: 'Português'},
|
'pt': {name: 'Português'},
|
||||||
|
@ -46,7 +47,7 @@ const locales = {
|
||||||
'ro': {name: 'Română'},
|
'ro': {name: 'Română'},
|
||||||
'ru': {name: 'Русский'},
|
'ru': {name: 'Русский'},
|
||||||
'sr': {name: 'Српски'},
|
'sr': {name: 'Српски'},
|
||||||
// 'sk': {name: 'Slovenčina'}, // restore when reviewed
|
'sk': {name: 'Slovenčina'},
|
||||||
'sl': {name: 'Slovenščina'},
|
'sl': {name: 'Slovenščina'},
|
||||||
'fi': {name: 'Suomi'},
|
'fi': {name: 'Suomi'},
|
||||||
'sv': {name: 'Svenska'},
|
'sv': {name: 'Svenska'},
|
||||||
|
@ -99,61 +100,4 @@ const isRtl = locale => {
|
||||||
return rtlLocales.indexOf(locale) !== -1;
|
return rtlLocales.indexOf(locale) !== -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export {locales as default, customLocales, localeMap, rtlLocales, isRtl};
|
||||||
// wwwLocales is deprecated. Remove it once we know it's no longer used.
|
|
||||||
// For now it's just identical.
|
|
||||||
const wwwLocales = {
|
|
||||||
'ab': {name: 'Аҧсшәа'},
|
|
||||||
'ar': {name: 'العربية'},
|
|
||||||
'am': {name: 'አማርኛ'},
|
|
||||||
'az': {name: 'Azeri'},
|
|
||||||
'id': {name: 'Bahasa Indonesia'},
|
|
||||||
'ca': {name: 'Català'},
|
|
||||||
'cs': {name: 'Česky'},
|
|
||||||
'cy': {name: 'Cymraeg'},
|
|
||||||
'da': {name: 'Dansk'},
|
|
||||||
'de': {name: 'Deutsch'},
|
|
||||||
'et': {name: 'Eesti'},
|
|
||||||
'el': {name: 'Ελληνικά'},
|
|
||||||
'en': {name: 'English'},
|
|
||||||
'es': {name: 'Español'},
|
|
||||||
'es-419': {name: 'Español Latinoamericano'},
|
|
||||||
'eu': {name: 'Euskara'},
|
|
||||||
'fr': {name: 'Français'},
|
|
||||||
'ga': {name: 'Gaeilge'},
|
|
||||||
'gd': {name: 'Gàidhlig'},
|
|
||||||
'gl': {name: 'Galego'},
|
|
||||||
'ko': {name: '한국어'},
|
|
||||||
'he': {name: 'עִבְרִית'},
|
|
||||||
'hr': {name: 'Hrvatski'},
|
|
||||||
'zu': {name: 'isiZulu'},
|
|
||||||
'is': {name: 'Íslenska'},
|
|
||||||
'it': {name: 'Italiano'},
|
|
||||||
// 'lv': {name: 'Latviešu'}, // uncomment when reviewed
|
|
||||||
'lt': {name: 'Lietuvių'},
|
|
||||||
'hu': {name: 'Magyar'},
|
|
||||||
'mi': {name: 'Māori'},
|
|
||||||
'nl': {name: 'Nederlands'},
|
|
||||||
'ja': {name: '日本語'},
|
|
||||||
'ja-Hira': {name: 'にほんご'},
|
|
||||||
'nb': {name: 'Norsk Bokmål'},
|
|
||||||
// 'nn': {name: 'Norsk Nynorsk'}, // uncomment when reviewed
|
|
||||||
'th': {name: 'ไทย'},
|
|
||||||
'pl': {name: 'Polski'},
|
|
||||||
'pt': {name: 'Português'},
|
|
||||||
'pt-br': {name: 'Português Brasileiro'},
|
|
||||||
'ro': {name: 'Română'},
|
|
||||||
'ru': {name: 'Русский'},
|
|
||||||
'sr': {name: 'Српски'},
|
|
||||||
// 'sk': {name: 'Slovenčina'}, // uncomment when reviewed
|
|
||||||
'sl': {name: 'Slovenščina'},
|
|
||||||
'fi': {name: 'Suomi'},
|
|
||||||
'sv': {name: 'Svenska'},
|
|
||||||
'vi': {name: 'Tiếng Việt'},
|
|
||||||
'tr': {name: 'Türkçe'},
|
|
||||||
'uk': {name: 'Українська'},
|
|
||||||
'zh-cn': {name: '简体中文'},
|
|
||||||
'zh-tw': {name: '繁體中文'}
|
|
||||||
};
|
|
||||||
|
|
||||||
export {locales as default, customLocales, localeMap, rtlLocales, isRtl, wwwLocales};
|
|
||||||
|
|
Loading…
Reference in a new issue