Merge remote-tracking branch 'upstream/main' into dev

# Conflicts:
#	app/locales/index.ts
This commit is contained in:
sijinhui
2024-01-05 21:57:26 +08:00
18 changed files with 485 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ import en from "./en";
// import ko from "./ko";
// import ar from "./ar";
// import bn from "./bn";
// import sk from "./sk";
import { merge } from "../utils/merge";
import type { LocaleType } from "./cn";
@@ -40,6 +41,7 @@ const ALL_LANGS = {
// no,
// ar,
// bn,
// sk,
};
export type Lang = keyof typeof ALL_LANGS;
@@ -65,6 +67,7 @@ export const ALL_LANG_OPTIONS: Record<Lang, string> = {
// no: "Nynorsk",
// ar: "العربية",
// bn: "বাংলা",
// sk: "Slovensky",
};
const LANG_KEY = "lang";