first commit

This commit is contained in:
sofio
2026-02-03 15:47:03 +08:00
parent 94b39b2099
commit e87c9006a8
52 changed files with 5762 additions and 119 deletions

9
src/i18n/config.ts Normal file
View File

@@ -0,0 +1,9 @@
export const locales = ["zh", "zh-Hant", "en"] as const;
export type Locale = (typeof locales)[number];
export const defaultLocale: Locale = "zh";
export const localeNames: Record<Locale, string> = {
zh: "简",
"zh-Hant": "繁",
en: "EN",
};