Added correct(??) BCP47 codes

This commit is contained in:
MoltenCoffee 2020-09-08 10:35:24 +02:00
parent 1ba9538bc7
commit da1ec3f429
No known key found for this signature in database
GPG Key ID: 0AD7E41F85508887

View File

@ -6,19 +6,19 @@ import { enUS, nl, zhCN } from 'date-fns/locale';
export const messages = { export const messages = {
en: enMessages, en: enMessages,
nl: nlMessages, 'nl-NL': nlMessages,
'zh-CN': zhCNMessages, 'zh-CN': zhCNMessages,
}; };
export const dateLocales = { export const dateLocales = {
en: enUS, en: enUS,
nl: nl, 'nl-NL': nl,
'zh-CN': zhCN, 'zh-CN': zhCN,
}; };
export const menuOptions = [ export const menuOptions = [
{ label: 'English', value: 'en', display: 'EN' }, { label: 'English', value: 'en', display: 'EN' },
{ label: 'Nederlands', value: 'nl', display: 'NL' }, { label: 'Nederlands', value: 'nl-NL', display: 'NL' },
{ label: '中文 (Chinese Simplified)', value: 'zh-CN', display: '中文' }, { label: '中文 (Chinese Simplified)', value: 'zh-CN', display: '中文' },
]; ];