mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Added Dutch language
This commit is contained in:
parent
8df3c21ada
commit
d8d15a6d7c
2 changed files with 241 additions and 1 deletions
|
|
@ -1,20 +1,24 @@
|
|||
import enMessages from 'lang-compiled/en.json';
|
||||
import nlMessages from 'lang-compiled/nl.json';
|
||||
import zhCNMessages from 'lang-compiled/zh-CN.json';
|
||||
import { format } from 'date-fns';
|
||||
import { enUS, zhCN } from 'date-fns/locale';
|
||||
import { enUS, nl, zhCN } from 'date-fns/locale';
|
||||
|
||||
export const messages = {
|
||||
en: enMessages,
|
||||
nl: nlMessages,
|
||||
'zh-CN': zhCNMessages,
|
||||
};
|
||||
|
||||
export const dateLocales = {
|
||||
en: enUS,
|
||||
nl: nl,
|
||||
'zh-CN': zhCN,
|
||||
};
|
||||
|
||||
export const menuOptions = [
|
||||
{ label: 'English', value: 'en', display: 'EN' },
|
||||
{ label: 'Nederlands', value: 'nl', display: 'NL' },
|
||||
{ label: '中文 (Chinese Simplified)', value: 'zh-CN', display: '中文' },
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue