From e49a40f8558c4a8f21e77a3469fef998c1a16755 Mon Sep 17 00:00:00 2001 From: Chris Garrity Date: Wed, 18 Dec 2019 14:47:55 -0500 Subject: [PATCH] Add Haitian Creole to supported languages --- package.json | 2 +- src/supported-locales.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 87df5e9a..f5ff0a9f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scratch-l10n", - "version": "3.6.0", + "version": "3.7.0", "description": "Localization for the Scratch 3.0 components", "main": "./dist/l10n.js", "browser": "./src/index.js", diff --git a/src/supported-locales.js b/src/supported-locales.js index a7e29ec3..faaef18c 100644 --- a/src/supported-locales.js +++ b/src/supported-locales.js @@ -35,6 +35,7 @@ const locales = { 'it': {name: 'Italiano'}, 'ka': {name: 'ქართული ენა'}, 'sw': {name: 'Kiswahili'}, + 'ht': {name: 'Kreyòl ayisyen'}, 'ckb': {name: 'کوردیی ناوەندی'}, 'lv': {name: 'Latviešu'}, 'lt': {name: 'Lietuvių'}, @@ -71,6 +72,11 @@ const customLocales = { locale: 'ab', parentLocale: 'az' }, + // haitian creole is not in react-intl locales + 'ht': { + locale: 'ht', + parentLocale: 'fr' + }, 'rap': { locale: 'rap', parentLocale: 'es'