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

@@ -1,7 +1,7 @@
import { SubmitKey } from "../store/config";
import type { LocaleType } from "./index";
import { RequiredLocaleType } from "./index";
const en: LocaleType = {
const en: RequiredLocaleType = {
WIP: "Coming Soon...",
Error: {
Unauthorized:
@@ -71,21 +71,6 @@ const en: LocaleType = {
Lang: {
Name: "Language", // ATTENTION: if you wanna add a new translation, please do not translate this value, leave it as `Language`
All: "All Languages",
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: "Avatar",
FontSize: {
@@ -223,6 +208,11 @@ const en: LocaleType = {
Config: {
Avatar: "Bot Avatar",
Name: "Bot Name",
Sync: {
Title: "Use Global Config",
SubTitle: "Use global config in this chat",
Confirm: "Confirm to override custom config with global config?",
},
},
},
NewChat: {