update lang.js

This commit is contained in:
Jonathan Land 2020-12-04 13:13:18 +02:00
parent 610ab801d0
commit 9b4feb51ae

View File

@ -8,6 +8,7 @@ import {
es, es,
fi, fi,
fr, fr,
he,
hi, hi,
id, id,
ja, ja,
@ -49,6 +50,7 @@ import csMessages from 'lang-compiled/cs-CZ.json';
import plMessages from 'lang-compiled/pl-PL.json'; import plMessages from 'lang-compiled/pl-PL.json';
import taMessages from 'lang-compiled/ta-IN.json'; import taMessages from 'lang-compiled/ta-IN.json';
import hiMessages from 'lang-compiled/hi-IN.json'; import hiMessages from 'lang-compiled/hi-IN.json';
import heMessages from 'lang-compiled/he-IL.json';
export const messages = { export const messages = {
'en-US': enMessages, 'en-US': enMessages,
@ -76,6 +78,7 @@ export const messages = {
'pl-PL': plMessages, 'pl-PL': plMessages,
'ta-IN': taMessages, 'ta-IN': taMessages,
'hi-IN': hiMessages, 'hi-IN': hiMessages,
'he-IL': heMessages,
}; };
export const dateLocales = { export const dateLocales = {
@ -104,6 +107,7 @@ export const dateLocales = {
'pl-PL': pl, 'pl-PL': pl,
'ta-In': ta, 'ta-In': ta,
'hi-IN': hi, 'hi-IN': hi,
'he-IL': he,
}; };
export const menuOptions = [ export const menuOptions = [
@ -132,6 +136,7 @@ export const menuOptions = [
{ label: 'தமிழ்', value: 'ta-IN', display: 'ta' }, { label: 'தமிழ்', value: 'ta-IN', display: 'ta' },
{ label: 'Türkçe', value: 'tr-TR', display: 'tr' }, { label: 'Türkçe', value: 'tr-TR', display: 'tr' },
{ label: 'українська', value: 'uk-UA', display: 'uk' }, { label: 'українська', value: 'uk-UA', display: 'uk' },
{ label: 'עברית', value: 'he-IL', display: 'he' },
]; ];
export function dateFormat(date, str, locale) { export function dateFormat(date, str, locale) {