Add Haitian Creole to supported languages

This commit is contained in:
Chris Garrity 2019-12-18 14:47:55 -05:00
parent 6ac5f0bc32
commit e49a40f855
2 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "scratch-l10n", "name": "scratch-l10n",
"version": "3.6.0", "version": "3.7.0",
"description": "Localization for the Scratch 3.0 components", "description": "Localization for the Scratch 3.0 components",
"main": "./dist/l10n.js", "main": "./dist/l10n.js",
"browser": "./src/index.js", "browser": "./src/index.js",

View file

@ -35,6 +35,7 @@ const locales = {
'it': {name: 'Italiano'}, 'it': {name: 'Italiano'},
'ka': {name: 'ქართული ენა'}, 'ka': {name: 'ქართული ენა'},
'sw': {name: 'Kiswahili'}, 'sw': {name: 'Kiswahili'},
'ht': {name: 'Kreyòl ayisyen'},
'ckb': {name: 'کوردیی ناوەندی'}, 'ckb': {name: 'کوردیی ناوەندی'},
'lv': {name: 'Latviešu'}, 'lv': {name: 'Latviešu'},
'lt': {name: 'Lietuvių'}, 'lt': {name: 'Lietuvių'},
@ -71,6 +72,11 @@ const customLocales = {
locale: 'ab', locale: 'ab',
parentLocale: 'az' parentLocale: 'az'
}, },
// haitian creole is not in react-intl locales
'ht': {
locale: 'ht',
parentLocale: 'fr'
},
'rap': { 'rap': {
locale: 'rap', locale: 'rap',
parentLocale: 'es' parentLocale: 'es'