From 035c6ab8de3788f4c7ac4d0f36715066373ef9d0 Mon Sep 17 00:00:00 2001 From: josc146 Date: Mon, 22 May 2023 10:08:38 +0800 Subject: [PATCH] typo --- frontend/src/_locales/zh-hans/main.json | 2 +- frontend/src/pages/Chat.tsx | 2 +- frontend/src/pages/Configs.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/_locales/zh-hans/main.json b/frontend/src/_locales/zh-hans/main.json index 6f259e6..5fc37ce 100644 --- a/frontend/src/_locales/zh-hans/main.json +++ b/frontend/src/_locales/zh-hans/main.json @@ -71,7 +71,7 @@ "Copy": "复制", "Read Aloud": "朗读", "Hello! I'm RWKV, an open-source and commercially available large language model.": "你好! 我是RWKV, 一个开源可商用的大语言模型.", - "This tool’s API is compatible with OpenAI API. It can be used with any ChatGPT tool you like. Go to the settings of some ChatGPT tool, replace the 'https://api.openai.com' part in the API address with '": "本工具的API与OpenAI API兼容. 因此可以配合任意你喜欢的ChatGPT工具使用. 打开某个ChatGPT工具的设置, 将API地址中的'https://api.openai.com'部分替换为'", + "This tool's API is compatible with OpenAI API. It can be used with any ChatGPT tool you like. Go to the settings of some ChatGPT tool, replace the 'https://api.openai.com' part in the API address with '": "本工具的API与OpenAI API兼容. 因此可以配合任意你喜欢的ChatGPT工具使用. 打开某个ChatGPT工具的设置, 将API地址中的'https://api.openai.com'部分替换为'", "New Version Available": "新版本可用", "Update": "更新", "Please click the button in the top right corner to start the model": "请点击右上角的按钮启动模型", diff --git a/frontend/src/pages/Chat.tsx b/frontend/src/pages/Chat.tsx index f603197..89a2f38 100644 --- a/frontend/src/pages/Chat.tsx +++ b/frontend/src/pages/Chat.tsx @@ -323,7 +323,7 @@ export const Chat: FC = observer(() => { - {t('This tool’s API is compatible with OpenAI API. It can be used with any ChatGPT tool you like. Go to the settings of some ChatGPT tool, replace the \'https://api.openai.com\' part in the API address with \'') + `http://127.0.0.1:${port}` + '\'.'} + {t('This tool\'s API is compatible with OpenAI API. It can be used with any ChatGPT tool you like. Go to the settings of some ChatGPT tool, replace the \'https://api.openai.com\' part in the API address with \'') + `http://127.0.0.1:${port}` + '\'.'} diff --git a/frontend/src/pages/Configs.tsx b/frontend/src/pages/Configs.tsx index 301ccfc..1b741cc 100644 --- a/frontend/src/pages/Configs.tsx +++ b/frontend/src/pages/Configs.tsx @@ -633,7 +633,7 @@ export const Configs: FC = observer(() => {
{