diff --git a/package.json b/package.json index 4b79afe4..c337e178 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vocechat-web", - "version": "0.3.29", + "version": "0.3.30", "private": true, "homepage": "https://voce.chat", "dependencies": { diff --git a/public/locales/en/setting.json b/public/locales/en/setting.json index f982cda1..6ea0288d 100644 --- a/public/locales/en/setting.json +++ b/public/locales/en/setting.json @@ -91,6 +91,7 @@ "webhook_tip_title": "Webhooks can receive messages in a channel and should a URL provided by you.", "webhook_tip_desc": "Please provide a webhook URL that will return 200.", "manage": "Manage", + "how_to_use": "How To Use", "manage_desc": "You can delete a bot anytime, the bot user will be removed immediately and all APIs will be nullified.", "create_title": "Create Bot", "create_desc": "Give your bot a name. You can also add an endpoint webhook URL to receive data.", diff --git a/public/locales/zh/setting.json b/public/locales/zh/setting.json index 1b9ad960..4649e46c 100644 --- a/public/locales/zh/setting.json +++ b/public/locales/zh/setting.json @@ -89,6 +89,7 @@ "webhook_tip_title": "Webhook是一个用以接收VoceChat推送数据的URL地址", "webhook_tip_desc": "请提供一个有效的Webhook URL:GET 请求响应 200即为有效。我们会使用POST推送数据。", "manage": "管理", + "how_to_use": "使用文档", "manage_desc": "机器人一旦删除,所有与其相关的接口也立即失效,包括Webhook。", "create_title": "创建机器人", "create_desc": "给你的机器人一个名字,同时也可以设置Webhook URL,用以接收推送的数据。", diff --git a/src/common/component/ServerVersionChecker.tsx b/src/common/component/ServerVersionChecker.tsx index e18169f9..6d928ee4 100644 --- a/src/common/component/ServerVersionChecker.tsx +++ b/src/common/component/ServerVersionChecker.tsx @@ -11,8 +11,10 @@ const ServerVersionChecker = ({ version, children }: PropsWithChildren) = if (!isSuccess) return null; const res = compareVersion(currentVersion, version); if (res < 0) return
- 🚨 Server version:{version} needed at least, your current version:{currentVersion}, please upgrade the Server! - How to Update VoceChat Server + Server version:{version} needed at least 🚨 + Your current version:{currentVersion} + Please upgrade the Server! + How to Update VoceChat Server 📖
; return children; }; diff --git a/src/routes/setting/BotConfig/TestAPIKeyModal.tsx b/src/routes/setting/BotConfig/TestAPIKeyModal.tsx index a8afe27a..f15508a0 100644 --- a/src/routes/setting/BotConfig/TestAPIKeyModal.tsx +++ b/src/routes/setting/BotConfig/TestAPIKeyModal.tsx @@ -50,7 +50,7 @@ const TestAPIKeyModal = ({ closeModal }: Props) => { return (