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 = {
en: enMessages,
nl: nlMessages,
'nl-NL': nlMessages,
'zh-CN': zhCNMessages,
};
export const dateLocales = {
en: enUS,
nl: nl,
'nl-NL': nl,
'zh-CN': zhCN,
};
export const menuOptions = [
{ 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: '中文' },
];