mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-13 21:43:42 +08:00
init
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
import cn from "./cn";
|
||||
import en from "./en";
|
||||
import pt from "./pt";
|
||||
import tw from "./tw";
|
||||
import id from "./id";
|
||||
import fr from "./fr";
|
||||
import es from "./es";
|
||||
import it from "./it";
|
||||
import tr from "./tr";
|
||||
import jp from "./jp";
|
||||
import de from "./de";
|
||||
import vi from "./vi";
|
||||
import ru from "./ru";
|
||||
import no from "./no";
|
||||
import cs from "./cs";
|
||||
import ko from "./ko";
|
||||
import ar from "./ar";
|
||||
import bn from "./bn";
|
||||
// import pt from "./pt";
|
||||
// import tw from "./tw";
|
||||
// import id from "./id";
|
||||
// import fr from "./fr";
|
||||
// import es from "./es";
|
||||
// import it from "./it";
|
||||
// import tr from "./tr";
|
||||
// import jp from "./jp";
|
||||
// import de from "./de";
|
||||
// import vi from "./vi";
|
||||
// import ru from "./ru";
|
||||
// import no from "./no";
|
||||
// import cs from "./cs";
|
||||
// import ko from "./ko";
|
||||
// import ar from "./ar";
|
||||
// import bn from "./bn";
|
||||
import { merge } from "../utils/merge";
|
||||
|
||||
import type { LocaleType } from "./cn";
|
||||
@@ -24,22 +24,22 @@ export type { LocaleType, PartialLocaleType } from "./cn";
|
||||
const ALL_LANGS = {
|
||||
cn,
|
||||
en,
|
||||
tw,
|
||||
pt,
|
||||
jp,
|
||||
ko,
|
||||
id,
|
||||
fr,
|
||||
es,
|
||||
it,
|
||||
tr,
|
||||
de,
|
||||
vi,
|
||||
ru,
|
||||
cs,
|
||||
no,
|
||||
ar,
|
||||
bn,
|
||||
// tw,
|
||||
// pt,
|
||||
// jp,
|
||||
// ko,
|
||||
// id,
|
||||
// fr,
|
||||
// es,
|
||||
// it,
|
||||
// tr,
|
||||
// de,
|
||||
// vi,
|
||||
// ru,
|
||||
// cs,
|
||||
// no,
|
||||
// ar,
|
||||
// bn,
|
||||
};
|
||||
|
||||
export type Lang = keyof typeof ALL_LANGS;
|
||||
@@ -49,22 +49,22 @@ export const AllLangs = Object.keys(ALL_LANGS) as Lang[];
|
||||
export const ALL_LANG_OPTIONS: Record<Lang, string> = {
|
||||
cn: "简体中文",
|
||||
en: "English",
|
||||
pt: "Português",
|
||||
tw: "繁體中文",
|
||||
jp: "日本語",
|
||||
ko: "한국어",
|
||||
id: "Indonesia",
|
||||
fr: "Français",
|
||||
es: "Español",
|
||||
it: "Italiano",
|
||||
tr: "Türkçe",
|
||||
de: "Deutsch",
|
||||
vi: "Tiếng Việt",
|
||||
ru: "Русский",
|
||||
cs: "Čeština",
|
||||
no: "Nynorsk",
|
||||
ar: "العربية",
|
||||
bn: "বাংলা",
|
||||
// pt: "Português",
|
||||
// tw: "繁體中文",
|
||||
// jp: "日本語",
|
||||
// ko: "한국어",
|
||||
// id: "Indonesia",
|
||||
// fr: "Français",
|
||||
// es: "Español",
|
||||
// it: "Italiano",
|
||||
// tr: "Türkçe",
|
||||
// de: "Deutsch",
|
||||
// vi: "Tiếng Việt",
|
||||
// ru: "Русский",
|
||||
// cs: "Čeština",
|
||||
// no: "Nynorsk",
|
||||
// ar: "العربية",
|
||||
// bn: "বাংলা",
|
||||
};
|
||||
|
||||
const LANG_KEY = "lang";
|
||||
|
Reference in New Issue
Block a user