mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 11:36:38 +08:00
feat:personal changes
This commit is contained in:
parent
17d6f3d715
commit
57dc81d39c
@ -1,5 +1,5 @@
|
|||||||
export const OWNER = "Yidadaa";
|
export const OWNER = "EricYangXD";
|
||||||
export const REPO = "ChatGPT-Next-Web";
|
export const REPO = "ChatGPT-Next";
|
||||||
export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
|
export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
|
||||||
export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;
|
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`;
|
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();
|
const lang = getLanguage();
|
||||||
|
|
||||||
if (lang.includes("zh") || lang.includes("cn")) {
|
// if (lang.includes("zh") || lang.includes("cn")) {
|
||||||
return "cn";
|
// return "cn";
|
||||||
} else if (lang.includes("tw")) {
|
// } else if (lang.includes("tw")) {
|
||||||
return "tw";
|
// return "tw";
|
||||||
} else if (lang.includes("es")) {
|
// } else if (lang.includes("es")) {
|
||||||
return "es";
|
// return "es";
|
||||||
} else if (lang.includes("it")) {
|
// } else if (lang.includes("it")) {
|
||||||
return "it";
|
// return "it";
|
||||||
} else {
|
// } else {
|
||||||
return "en";
|
// return "en";
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
return "en";
|
||||||
}
|
}
|
||||||
|
|
||||||
export function changeLang(lang: Lang) {
|
export function changeLang(lang: Lang) {
|
||||||
|
@ -123,8 +123,8 @@ const DEFAULT_CONFIG: ChatConfig = {
|
|||||||
historyMessageCount: 4,
|
historyMessageCount: 4,
|
||||||
compressMessageLengthThreshold: 1000,
|
compressMessageLengthThreshold: 1000,
|
||||||
sendBotMessages: true as boolean,
|
sendBotMessages: true as boolean,
|
||||||
submitKey: SubmitKey.CtrlEnter as SubmitKey,
|
submitKey: SubmitKey.Enter as SubmitKey,
|
||||||
avatar: "1f603",
|
avatar: "1F92B",
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
theme: Theme.Auto as Theme,
|
theme: Theme.Auto as Theme,
|
||||||
tightBorder: false,
|
tightBorder: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user