gtsoft-snail-job-admin/src/locales/naive.ts
2024-03-21 10:57:53 +08:00

13 lines
335 B
TypeScript

import { dateEnUS, dateZhCN, enUS, zhCN } from 'naive-ui';
import type { NDateLocale, NLocale } from 'naive-ui';
export const naiveLocales: Record<App.I18n.LangType, NLocale> = {
'zh-CN': zhCN,
'en-US': enUS
};
export const naiveDateLocales: Record<App.I18n.LangType, NDateLocale> = {
'zh-CN': dateZhCN,
'en-US': dateEnUS
};