feat: close #1478 new chat use global config as default

This commit is contained in:
Yidadaa
2023-05-20 00:39:52 +08:00
parent 203ac0970d
commit b1ba3df989
19 changed files with 97 additions and 223 deletions

View File

@@ -69,21 +69,6 @@ const cn = {
Lang: {
Name: "Language", // ATTENTION: if you wanna add a new translation, please do not translate this value, leave it as `Language`
All: "所有语言",
Options: {
cn: "简体中文",
en: "English",
tw: "繁體中文",
fr: "Français",
es: "Español",
it: "Italiano",
tr: "Türkçe",
jp: "日本語",
de: "Deutsch",
vi: "Tiếng Việt",
ru: "Русский",
cs: "Čeština",
ko: "한국어",
},
},
Avatar: "头像",
FontSize: {
@@ -220,6 +205,11 @@ const cn = {
Config: {
Avatar: "角色头像",
Name: "角色名称",
Sync: {
Title: "使用全局设置",
SubTitle: "当前对话是否使用全局模型设置",
Confirm: "当前对话的自定义设置将会被自动覆盖,确认启用全局设置?",
},
},
},
NewChat: {
@@ -247,5 +237,6 @@ type DeepPartial<T> = T extends object
}
: T;
export type LocaleType = DeepPartial<typeof cn>;
export type RequiredLocaleType = typeof cn;
export default cn;