diff --git a/src/views/i18n/zh.json b/src/views/i18n/zh.json index b5c1758..34e5ed4 100644 --- a/src/views/i18n/zh.json +++ b/src/views/i18n/zh.json @@ -28,5 +28,24 @@ "Singapore Node": "新加坡区节点", "China Node": "中国区节点", "Custom": "自定义", - "Custom API Base of Devchat": "自定义 DevChat API 地址" + "Custom API Base of Devchat": "自定义 DevChat API 地址", + "API Base of Devchat": "DevChat API 地址", + "the base URL for the API": "API 的基础 URL", + "Access Key of OpenAI": "OpenAI 访问密钥", + "Your Access Key": "你的访问密钥", + "please keep this secret": "请不要泄露给他人", + "API Base of OpenAI": "OpenAI API 地址", + "Access Key of Devchat": "DevChat 访问密钥", + "Model Config": "模型配置", + "Leave it blank if you won't use this llm model": "如果你不使用这个 LLM 模型,请不要配置", + "the maximum number of tokens that can be used in the input": "输入中可以使用的最大令牌数", + "Provider": "提供商", + "select the provider for the model": "选择模型的提供商", + "Language": "语言", + "Select your preferred language": "选择你的首选语言", + "Python for chat": "聊天用的 Python", + "Python for commands": "命令用的 Python", + "Please enter the path of your python": "请输入你的 Python 路径", + "Cancel": "取消", + "Save": "保存" } diff --git a/src/views/pages/Config.tsx b/src/views/pages/Config.tsx index afdf089..b27f5e0 100644 --- a/src/views/pages/Config.tsx +++ b/src/views/pages/Config.tsx @@ -313,9 +313,8 @@ const Config = function () { @@ -329,9 +328,8 @@ const Config = function () { p={10} > @@ -415,7 +414,7 @@ const Config = function () { }} >