Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/i18n/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import zh_HK from './zh_HK.json';
import zh_MS from './zh_MS.json';
import zh_HX from './zh_HX.json';
import zh_Meme from './zh_Meme.json';
import zh_Google from './zh_Google.json';

const resources = { zh_CN, en_US, zh_HK, zh_HX, zh_Meme, zh_MS } as const;
const resources = { zh_CN, en_US, zh_HK, zh_HX, zh_Meme, zh_MS,zh_Google } as const;
export type Lang = keyof typeof resources;

const STORAGE_KEY = "language";
Expand All @@ -18,6 +19,7 @@ const LANG_NAME: any = {
"zh_HX": "文言 (華夏)",
"zh_Meme": "中文 (神人)",
"zh_MS": "中文 (巨硬)",
"zh_Google": "中文 (咕噜咕噜)",
"en_US": "English (US)",
}

Expand Down
Loading