mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 19:16:37 +08:00
feat:personal changes
This commit is contained in:
parent
17d6f3d715
commit
57dc81d39c
@ -1,5 +1,5 @@
|
||||
export const OWNER = "Yidadaa";
|
||||
export const REPO = "ChatGPT-Next-Web";
|
||||
export const OWNER = "EricYangXD";
|
||||
export const REPO = "ChatGPT-Next";
|
||||
export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
|
||||
export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;
|
||||
export const UPDATE_URL = `${REPO_URL}#%E4%BF%9D%E6%8C%81%E6%9B%B4%E6%96%B0-keep-updated`;
|
||||
|
@ -42,17 +42,19 @@ export function getLang(): Lang {
|
||||
|
||||
const lang = getLanguage();
|
||||
|
||||
if (lang.includes("zh") || lang.includes("cn")) {
|
||||
return "cn";
|
||||
} else if (lang.includes("tw")) {
|
||||
return "tw";
|
||||
} else if (lang.includes("es")) {
|
||||
return "es";
|
||||
} else if (lang.includes("it")) {
|
||||
return "it";
|
||||
} else {
|
||||
return "en";
|
||||
}
|
||||
// if (lang.includes("zh") || lang.includes("cn")) {
|
||||
// return "cn";
|
||||
// } else if (lang.includes("tw")) {
|
||||
// return "tw";
|
||||
// } else if (lang.includes("es")) {
|
||||
// return "es";
|
||||
// } else if (lang.includes("it")) {
|
||||
// return "it";
|
||||
// } else {
|
||||
// return "en";
|
||||
// }
|
||||
|
||||
return "en";
|
||||
}
|
||||
|
||||
export function changeLang(lang: Lang) {
|
||||
|
@ -123,8 +123,8 @@ const DEFAULT_CONFIG: ChatConfig = {
|
||||
historyMessageCount: 4,
|
||||
compressMessageLengthThreshold: 1000,
|
||||
sendBotMessages: true as boolean,
|
||||
submitKey: SubmitKey.CtrlEnter as SubmitKey,
|
||||
avatar: "1f603",
|
||||
submitKey: SubmitKey.Enter as SubmitKey,
|
||||
avatar: "1F92B",
|
||||
fontSize: 14,
|
||||
theme: Theme.Auto as Theme,
|
||||
tightBorder: false,
|
||||
|
Loading…
Reference in New Issue
Block a user