feat(ui): antd i18n
This commit is contained in:
@@ -3,12 +3,15 @@ import { Resource } from "i18next";
|
||||
import zh from "./zh";
|
||||
import en from "./en";
|
||||
|
||||
export const LOCALE_ZH_NAME = "zh" as const;
|
||||
export const LOCALE_EN_NAME = "en" as const;
|
||||
|
||||
const resources: Resource = {
|
||||
zh: {
|
||||
[LOCALE_ZH_NAME]: {
|
||||
name: "简体中文",
|
||||
translation: zh,
|
||||
},
|
||||
en: {
|
||||
[LOCALE_EN_NAME]: {
|
||||
name: "English",
|
||||
translation: en,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user