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