From 0300664fb3283a4d3cf9cb6e015cc378e0afae26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E5=BA=86=E6=89=8D=E4=B8=A8=E9=9D=99=E8=A7=85?= Date: Sat, 6 Jan 2024 02:08:15 +0800 Subject: [PATCH] Fix error message for chat (#32) --- ...zhishuyun-hub-05ca1ef1-da93-471f-94f7-69d1c39f2067.json | 7 +++++++ src/i18n/zh/chat/message.ts | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 change/@zhishuyun-hub-05ca1ef1-da93-471f-94f7-69d1c39f2067.json diff --git a/change/@zhishuyun-hub-05ca1ef1-da93-471f-94f7-69d1c39f2067.json b/change/@zhishuyun-hub-05ca1ef1-da93-471f-94f7-69d1c39f2067.json new file mode 100644 index 0000000..eb42d7a --- /dev/null +++ b/change/@zhishuyun-hub-05ca1ef1-da93-471f-94f7-69d1c39f2067.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix error message for chat", + "packageName": "@zhishuyun/hub", + "email": "cqc@germey.cn", + "dependentChangeType": "patch" +} diff --git a/src/i18n/zh/chat/message.ts b/src/i18n/zh/chat/message.ts index 4d22682..6fc6a63 100644 --- a/src/i18n/zh/chat/message.ts +++ b/src/i18n/zh/chat/message.ts @@ -20,11 +20,12 @@ export default { errorApiError: '回答失败,请稍后重试', errorBadRequest: '请求内容不规范,请重新提问', errorNoConversation: '对话内容不存在或者已经过期,请发起新的会话', - confirmDelete: '确定删除', + errorContentTooLarge: '问题内容过长,请缩短后重试', + errorTooManyRequests: '您的操作过于频繁,请稍后重试', errorUsedUp: '您的套餐次数已经用完,请购买更多次数继续使用', errorUnknown: '服务器出现未知错误,请稍后重试或联系客服', errorTimeout: '回答问题超时,请稍后重试', errorNotApplied: '您尚未申请该服务,请先申请再继续提问', - howToUse: '按 Shift+Enter 键可以换行', - noConversations: '没有历史会话,请先发起一个新的会话' + confirmDelete: '确定删除', + howToUse: '按 Shift+Enter 键可以换行' };