fixup: translation context

This commit is contained in:
Yifei Zhang
2023-04-02 18:02:03 +00:00
parent b85245e317
commit e3c3cd3d18
6 changed files with 25 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import ES from "./es";
export type { LocaleType } from "./cn";
export const AllLangs = ["en", "cn", "tw", "es"] as const;
export const AllLangs = ["cn", "tw", "en", "es"] as const;
type Lang = (typeof AllLangs)[number];
const LANG_KEY = "lang";