mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 13:42:30 -05:00
commit
dbc4a67b26
2 changed files with 23 additions and 42 deletions
12
src/index.js
12
src/index.js
|
@ -25,16 +25,16 @@ import it from 'react-intl/locale-data/it';
|
|||
import ja from 'react-intl/locale-data/ja';
|
||||
import ko from 'react-intl/locale-data/ko';
|
||||
import lt from 'react-intl/locale-data/lt';
|
||||
import lv from 'react-intl/locale-data/lv';
|
||||
// import lv from 'react-intl/locale-data/lv';
|
||||
import nl from 'react-intl/locale-data/nl';
|
||||
import nb from 'react-intl/locale-data/nb';
|
||||
import nn from 'react-intl/locale-data/nn';
|
||||
// import nn from 'react-intl/locale-data/nn';
|
||||
import pl from 'react-intl/locale-data/pl';
|
||||
import pt from 'react-intl/locale-data/pt';
|
||||
import ro from 'react-intl/locale-data/ro';
|
||||
import ru from 'react-intl/locale-data/ru';
|
||||
import sl from 'react-intl/locale-data/sl';
|
||||
import sk from 'react-intl/locale-data/sk';
|
||||
// import sk from 'react-intl/locale-data/sk';
|
||||
import sr from 'react-intl/locale-data/sr';
|
||||
import sv from 'react-intl/locale-data/sv';
|
||||
import th from 'react-intl/locale-data/th';
|
||||
|
@ -103,14 +103,14 @@ let localeData = [].concat(
|
|||
ja,
|
||||
ko,
|
||||
lt,
|
||||
lv,
|
||||
// lv,
|
||||
nl,
|
||||
nb,
|
||||
nn,
|
||||
// nn,
|
||||
pl,
|
||||
pt,
|
||||
sl,
|
||||
sk,
|
||||
// sk,
|
||||
sr,
|
||||
sv,
|
||||
ro,
|
||||
|
|
|
@ -30,15 +30,15 @@ const locales = {
|
|||
'zu': {name: 'isiZulu'},
|
||||
'is': {name: 'Íslenska'},
|
||||
'it': {name: 'Italiano'},
|
||||
'lv': {name: 'Latviešu'},
|
||||
// 'lv': {name: 'Latviešu'}, // restore when reviewed
|
||||
'lt': {name: 'Lietuvių'},
|
||||
'mi': {name: 'Maori'},
|
||||
'hu': {name: 'Magyar'},
|
||||
'mi': {name: 'Māori'},
|
||||
'nl': {name: 'Nederlands'},
|
||||
'ja': {name: '日本語'},
|
||||
'ja-Hira': {name: 'にほんご'},
|
||||
'hu': {name: 'Magyar'},
|
||||
'nb': {name: 'Norsk Bokmål'},
|
||||
'nn': {name: 'Norsk Nynorsk'},
|
||||
// 'nn': {name: 'Norsk Nynorsk'}, // restore when reviewed
|
||||
'th': {name: 'ไทย'},
|
||||
'pl': {name: 'Polski'},
|
||||
'pt': {name: 'Português'},
|
||||
|
@ -46,7 +46,7 @@ const locales = {
|
|||
'ro': {name: 'Română'},
|
||||
'ru': {name: 'Русский'},
|
||||
'sr': {name: 'Српски'},
|
||||
'sk': {name: 'Slovenčina'},
|
||||
// 'sk': {name: 'Slovenčina'}, // restore when reviewed
|
||||
'sl': {name: 'Slovenščina'},
|
||||
'fi': {name: 'Suomi'},
|
||||
'sv': {name: 'Svenska'},
|
||||
|
@ -99,75 +99,56 @@ const isRtl = locale => {
|
|||
return rtlLocales.indexOf(locale) !== -1;
|
||||
};
|
||||
|
||||
|
||||
// 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: 'العربية'},
|
||||
'an': {name: 'Aragonés'},
|
||||
'ast': {name: 'Asturianu'},
|
||||
'am': {name: 'አማርኛ'},
|
||||
'az': {name: 'Azeri'},
|
||||
'id': {name: 'Bahasa Indonesia'},
|
||||
'ms': {name: 'Bahasa Melayu'},
|
||||
'be': {name: 'Беларуская'},
|
||||
'bg': {name: 'Български'},
|
||||
'ca': {name: 'Català'},
|
||||
'cs': {name: 'Česky'},
|
||||
'cy': {name: 'Cymraeg'},
|
||||
'da': {name: 'Dansk'},
|
||||
'de': {name: 'Deutsch'},
|
||||
'yum': {name: 'Edible Scratch'},
|
||||
'et': {name: 'Eesti'},
|
||||
'el': {name: 'Ελληνικά'},
|
||||
'en': {name: 'English'},
|
||||
'eo': {name: 'Esperanto'},
|
||||
'es': {name: 'Español'},
|
||||
'es-419': {name: 'Español Latinoamericano'},
|
||||
'eu': {name: 'Euskara'},
|
||||
'fa': {name: 'فارسی'},
|
||||
'fr': {name: 'Français'},
|
||||
'fur': {name: 'Furlan'},
|
||||
'ga': {name: 'Gaeilge'},
|
||||
'gd': {name: 'Gàidhlig'},
|
||||
'gl': {name: 'Galego'},
|
||||
'ko': {name: '한국어'},
|
||||
'hy': {name: 'Հայերեն'},
|
||||
'he': {name: 'עִבְרִית'},
|
||||
'hi': {name: 'हिन्दी'},
|
||||
'hr': {name: 'Hrvatski'},
|
||||
'zu': {name: 'isiZulu'},
|
||||
'is': {name: 'Íslenska'},
|
||||
'it': {name: 'Italiano'},
|
||||
'kn': {name: 'ಭಾಷೆ-ಹೆಸರು'},
|
||||
'rw': {name: 'Kinyarwanda'},
|
||||
'ht': {name: 'Kreyòl'},
|
||||
'ku': {name: 'Kurdî'},
|
||||
'la': {name: 'Latina'},
|
||||
'lv': {name: 'Latviešu'},
|
||||
// 'lv': {name: 'Latviešu'}, // uncomment when reviewed
|
||||
'lt': {name: 'Lietuvių'},
|
||||
'mk': {name: 'Македонски'},
|
||||
'hu': {name: 'Magyar'},
|
||||
'ml': {name: 'മലയാളം'},
|
||||
'mt': {name: 'Malti'},
|
||||
'cat': {name: 'Meow'},
|
||||
'mr': {name: 'मराठी'},
|
||||
'mn': {name: 'Монгол хэл'},
|
||||
'my': {name: 'မြန်မာဘာသာ'},
|
||||
'mi': {name: 'Māori'},
|
||||
'nl': {name: 'Nederlands'},
|
||||
'ja': {name: '日本語'},
|
||||
'ja-Hira': {name: 'にほんご'},
|
||||
'nb': {name: 'Norsk Bokmål'},
|
||||
'nn': {name: 'Norsk Nynorsk'},
|
||||
'uz': {name: 'Oʻzbekcha'},
|
||||
// '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: 'Русский'},
|
||||
'sc': {name: 'Sardu'},
|
||||
'sq': {name: 'Shqip'},
|
||||
'sk': {name: 'Slovenčina'},
|
||||
'sl': {name: 'Slovenščina'},
|
||||
'sr': {name: 'Српски'},
|
||||
// 'sk': {name: 'Slovenčina'}, // uncomment when reviewed
|
||||
'sl': {name: 'Slovenščina'},
|
||||
'fi': {name: 'Suomi'},
|
||||
'sv': {name: 'Svenska'},
|
||||
'te': {name: 'తెలుగు'},
|
||||
'vi': {name: 'Tiếng Việt'},
|
||||
'tr': {name: 'Türkçe'},
|
||||
'uk': {name: 'Українська'},
|
||||
|
|
Loading…
Reference in a new issue