mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 05:32:34 -05:00
Add Rapa Nui and Uzbek
This commit is contained in:
parent
de8cb2ff72
commit
2949bb326b
3 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "scratch-l10n",
|
||||
"version": "3.2.0",
|
||||
"version": "3.3.0",
|
||||
"description": "Localization for the Scratch 3.0 components",
|
||||
"main": "./dist/l10n.js",
|
||||
"browser": "./src/index.js",
|
||||
|
|
|
@ -48,6 +48,7 @@ import sv from 'react-intl/locale-data/sv';
|
|||
import th from 'react-intl/locale-data/th';
|
||||
import tr from 'react-intl/locale-data/tr';
|
||||
import uk from 'react-intl/locale-data/uk';
|
||||
import uz from 'react-intl/locale-data/uz';
|
||||
import vi from 'react-intl/locale-data/vi';
|
||||
import zh from 'react-intl/locale-data/zh';
|
||||
import zu from 'react-intl/locale-data/zu';
|
||||
|
@ -131,6 +132,7 @@ let localeData = [].concat(
|
|||
th,
|
||||
tr,
|
||||
uk,
|
||||
uz,
|
||||
vi,
|
||||
zh,
|
||||
zu
|
||||
|
|
|
@ -43,10 +43,12 @@ const locales = {
|
|||
'ja-Hira': {name: 'にほんご'},
|
||||
'nb': {name: 'Norsk Bokmål'},
|
||||
'nn': {name: 'Norsk Nynorsk'},
|
||||
'uz': {name: 'Oʻzbekcha'},
|
||||
'th': {name: 'ไทย'},
|
||||
'pl': {name: 'Polski'},
|
||||
'pt': {name: 'Português'},
|
||||
'pt-br': {name: 'Português Brasileiro'},
|
||||
'rap': {name: 'Rapa Nui'},
|
||||
'ro': {name: 'Română'},
|
||||
'ru': {name: 'Русский'},
|
||||
'sr': {name: 'Српски'},
|
||||
|
@ -66,6 +68,10 @@ const customLocales = {
|
|||
locale: 'ab',
|
||||
parentLocale: 'az'
|
||||
},
|
||||
'rap': {
|
||||
locale: 'rap',
|
||||
parentLocale: 'es'
|
||||
},
|
||||
// TODO: replace zh-cn, zh-tw with zh-Hans and zh-Hant
|
||||
'zh-cn': {
|
||||
locale: 'zh-cn',
|
||||
|
|
Loading…
Reference in a new issue