mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
Added correct(??) BCP47 codes
This commit is contained in:
parent
1ba9538bc7
commit
da1ec3f429
@ -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: '中文' },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user