mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-03 01:29:56 +00:00
21 lines
378 B
TypeScript
21 lines
378 B
TypeScript
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 = {
|
|
[LOCALE_ZH_NAME]: {
|
|
name: "简体中文",
|
|
translation: zh,
|
|
},
|
|
[LOCALE_EN_NAME]: {
|
|
name: "English",
|
|
translation: en,
|
|
},
|
|
};
|
|
|
|
export default resources;
|