mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 05:32:34 -05:00
import māori locale-data
as of react-intl 2.8.0 māori (mi) locale data is included in `react-intl/locale-data`. Use that instead of a custom locale. Also remove unnecessary `es-419` custom locale, `es-419` is already included in the default `es.js` locale-data.
This commit is contained in:
parent
fdc097667b
commit
ec799e327a
2 changed files with 3 additions and 8 deletions
|
@ -32,6 +32,7 @@ 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 mi from 'react-intl/locale-data/mi';
|
||||
import nl from 'react-intl/locale-data/nl';
|
||||
import nb from 'react-intl/locale-data/nb';
|
||||
import nn from 'react-intl/locale-data/nn';
|
||||
|
@ -113,6 +114,7 @@ let localeData = [].concat(
|
|||
ko,
|
||||
lt,
|
||||
lv,
|
||||
mi,
|
||||
nl,
|
||||
nb,
|
||||
nn,
|
||||
|
|
|
@ -65,14 +65,7 @@ const customLocales = {
|
|||
locale: 'ab',
|
||||
parentLocale: 'az'
|
||||
},
|
||||
'es-419': {
|
||||
locale: 'es-419',
|
||||
parentLocale: 'es'
|
||||
},
|
||||
'mi': {
|
||||
locale: 'mi',
|
||||
parentLocale: 'en'
|
||||
},
|
||||
// TODO: replace zh-cn, zh-tw with zh-Hans and zh-Hant
|
||||
'zh-cn': {
|
||||
locale: 'zh-cn',
|
||||
parentLocale: 'zh'
|
||||
|
|
Loading…
Reference in a new issue