Skip to content

Commit

Permalink
i18n: update Chinese (zh) localization strings (#1827)
Browse files Browse the repository at this point in the history
* style: add a space between Chinese and alphanumeric characters

在中文和英文、数字之间添加空格,保持中文界面的字符串样式统一

Signed-off-by: WhiteBottle <[email protected]>

* style: use fullwidth punctuation in Chinese localization

使用全角标点符号,同时增补/删去部分标点符号,保持中文界面的字符串样式统一

Signed-off-by: WhiteBottle <[email protected]>

* fix: standardize spelling of proper nouns and terms and correct typos

规范部分专有名词、术语的拼写与用法,订正错别字

Signed-off-by: WhiteBottle <[email protected]>

---------

Signed-off-by: WhiteBottle <[email protected]>
  • Loading branch information
WhiteBottle committed Jun 24, 2024
1 parent 9d29b47 commit d902d29
Show file tree
Hide file tree
Showing 7 changed files with 157 additions and 157 deletions.
10 changes: 5 additions & 5 deletions packages/web/i18n/zh/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Apps Share": "应用分享",
"Basic Settings": "基本信息",
"Chat Debug": "调试预览",
"Chat Logs Tips": "日志会记录该应用的在线、分享和 API(需填写 chatId) 对话记录",
"Chat Logs Tips": "日志会记录该应用的在线、分享和 API需填写 chatId对话记录",
"Chat logs": "对话日志",
"Confirm Del App Tip": "确认删除该应用及其所有聊天记录?",
"Confirm copy app tip": "系统将为您创建一个相同配置应用,但权限不会进行复制,请确认!",
Expand All @@ -16,7 +16,7 @@
"Copy one app": "创建副本",
"Create bot": "应用",
"Create copy success": "创建副本成功",
"Create one ai app": "创建一个AI应用",
"Create one ai app": "创建一个 AI 应用",
"Current settings": "当前配置",
"Dataset Quote Template": "知识库问答模式",
"Edit app": "编辑应用",
Expand Down Expand Up @@ -68,13 +68,13 @@
},
"type": {
"All": "全部",
"Create http plugin tip": "通过 OpenAPI schema 批量创建插件,兼容 GPTs 格式。",
"Create http plugin tip": "通过 OpenAPI Schema 批量创建插件,兼容 GPTs 格式。",
"Create one plugin tip": "可以自定义输入和输出的工作流,通常用于封装重复使用的工作流",
"Create plugin bot": "创建插件",
"Create simple bot": "创建简易应用",
"Create simple bot tip": "通过填表单形式,创建简单的AI应用,适合新手",
"Create simple bot tip": "通过填表单形式,创建简单的 AI 应用,适合新手",
"Create workflow bot": "创建工作流",
"Create workflow tip": "通过低代码的方式,构建逻辑复杂的多轮对话AI应用,推荐高级玩家使用",
"Create workflow tip": "通过低代码的方式,构建逻辑复杂的多轮对话 AI 应用,推荐高级玩家使用",
"Http plugin": "HTTP 插件",
"Plugin": "插件",
"Simple bot": "简易应用",
Expand Down
2 changes: 1 addition & 1 deletion packages/web/i18n/zh/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"Input guide": "输入引导",
"Input guide lexicon": "词库",
"Input guide tip": "可以配置一些预设的问题。在用户输入问题时,会从这些预设问题中获取相关问题进行提示。",
"Insert input guide, Some data already exists": "有重复数据,已自动过滤,共插入: {{len}} 条数据",
"Insert input guide, Some data already exists": "有重复数据已自动过滤共插入 {{len}} 条数据",
"New input guide lexicon": "新词库"
}
276 changes: 138 additions & 138 deletions packages/web/i18n/zh/common.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions packages/web/i18n/zh/dataset.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"Confirm to rebuild embedding tip": "确认为知识库切换索引?\n切换索引是一个非常重量的操作,需要对您知识库内所有数据进行重新索引,时间可能较长,请确保账号内剩余积分充足。\n\n此外,你还需要注意修改选择该知识库的应用,避免它们与其他索引模型知识库混用。",
"External File": "外部文件库",
"External file Dataset Desc": "可以从外部文件库导入文件构建知识库,文件不会进行二次存储",
"External id": "文件阅读ID",
"External id": "文件阅读 ID",
"External read url": "外部预览地址",
"External read url tip": "可以配置你文件库的阅读地址。便于对用户进行阅读鉴权操作。目前可以使用 {{fileId}} 变量来指代外部文件ID",
"External url": "文件访问URL",
"External read url tip": "可以配置你文件库的阅读地址。便于对用户进行阅读鉴权操作。目前可以使用 {{fileId}} 变量来指代外部文件 ID",
"External url": "文件访问 URL",
"Folder Dataset": "文件夹",
"Rebuild embedding start tip": "切换索引模型任务已开始",
"Rebuilding index count": "重建中索引数量: {{count}}",
"Rebuilding index count": "重建中索引数量{{count}}",
"The knowledge base has indexes that are being trained or being rebuilt": "知识库有训练中或正在重建的索引",
"Website Dataset": "Web 站点同步",
"Website Dataset Desc": "Web 站点同步允许你直接使用一个网页链接构建知识库",
Expand Down
10 changes: 5 additions & 5 deletions packages/web/i18n/zh/file.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"Select and drag file tip": "点击或拖动文件到此处上传",
"Select failed": "选择文件异常",
"Select file amount limit": "最多选择 {{max}} 个文件",
"Select file amount limit 100": "每次最多选择100个文件",
"Some file count exceeds limit": "超出{{maxCount}}个文件,已自动截取",
"Some file size exceeds limit": "部分文件超出: {{maxSize}},已被过滤",
"Select file amount limit 100": "每次最多选择 100 个文件",
"Some file count exceeds limit": "超出 {{maxCount}} 个文件,已自动截取",
"Some file size exceeds limit": "部分文件超出 {{maxSize}},已被过滤",
"Support file type": "支持 {{fileType}} 类型文件",
"Support max count": "最多支持 {{maxCount}} 个文件",
"Support max size": "单个文件最大 {{maxSize}}",
"Support max count": "最多支持 {{maxCount}} 个文件",
"Support max size": "单个文件最大 {{maxSize}}",
"Upload failed": "上传异常"
}
6 changes: 3 additions & 3 deletions packages/web/i18n/zh/publish.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"Create API Key": "创建新 Key",
"Create API Key": "创建新 key",
"Create Link": "创建链接",
"Default Response": "默认回复",
"Delete Link": "删除链接",
"Edit API Key": "编辑 Key 信息",
"Edit API Key": "编辑 key 信息",
"Edit IFrame Link": "更新嵌入链接",
"Edit Link": "编辑",
"Edit Share Window": "更新分享窗口",
Expand All @@ -13,7 +13,7 @@
"QPM is empty": "QPM 不能为空",
"app key tips": "这些 key 已有当前应用标识,具体使用可参考文档",
"key alias": "key 的别名,仅用于展示",
"key tips": "你可以使用 API 秘钥访问一些特定的接口(无法访问应用,访问应用需使用应用内的API Key)",
"key tips": "你可以使用 API 秘钥访问一些特定的接口无法访问应用,访问应用需使用应用内的 API key)",
"token auth": "身份验证",
"token auth Tips": "身份校验服务器地址,如填写该值,每次对话前都会向指定服务器发送一个请求,进行身份校验",
"token auth use cases": "查看身份验证使用说明"
Expand Down
2 changes: 1 addition & 1 deletion packages/web/i18n/zh/workflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"Select value": "选择值"
},
"response": {
"Code log": "Log日志",
"Code log": "Log 日志",
"Custom inputs": "自定义输入",
"Custom outputs": "自定义输出",
"Error": "错误信息"
Expand Down

0 comments on commit d902d29

Please sign in to comment.