Skip to content

Commit 9617df0

Browse files
I18n: improve Chinese translation (open-webui#20613)
* i18n: improve zh-CN translation * i18n: improve zh-TW translation
1 parent 01d5f42 commit 9617df0

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

src/lib/i18n/locales/zh-CN/translation.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"Activate this command by typing \"/{{COMMAND}}\" to chat input.": "在对话框中输入 \"/{{COMMAND}}\" 激活此命令",
4848
"Active": "在线",
4949
"Active Users": "当前在线用户",
50-
"Activity": "",
50+
"Activity": "活动",
5151
"Add": "添加",
5252
"Add a model ID": "添加模型 ID",
5353
"Add a short description about what this model does": "添加有关该模型能力的简短描述",
@@ -221,7 +221,7 @@
221221
"Button ID": "按钮 ID",
222222
"Button Label": "按钮文本",
223223
"Button Prompt": "点击按钮后执行的提示词",
224-
"by {{name}}": "",
224+
"by {{name}}": "由 {{name}} 提供",
225225
"By {{name}}": "由 {{name}} 提供",
226226
"Bypass Embedding and Retrieval": "绕过嵌入和检索",
227227
"Bypass Web Loader": "绕过网页加载器",
@@ -303,7 +303,7 @@
303303
"Code Block": "代码块",
304304
"Code Editor": "代码编辑器",
305305
"Code execution": "代码执行",
306-
"Code Execution": "",
306+
"Code Execution": "代码执行",
307307
"Code Execution Engine": "代码执行引擎",
308308
"Code Execution Timeout": "代码执行超时",
309309
"Code formatted successfully": "代码格式化成功",
@@ -367,7 +367,7 @@
367367
"Copy link": "复制链接",
368368
"Copy Link": "复制链接",
369369
"Copy to clipboard": "复制到剪贴板",
370-
"Copy URL": "",
370+
"Copy URL": "复制 URL",
371371
"Copying to clipboard was successful!": "成功复制到剪贴板!",
372372
"CORS must be properly configured by the provider to allow requests from Open WebUI.": "为允许 Open WebUI 发出的请求,提供商必须正确配置 CORS",
373373
"Create": "创建",
@@ -391,7 +391,7 @@
391391
"Created At": "创建于",
392392
"Created by": "作者",
393393
"Created by you": "由您创建",
394-
"Created on {{date}}": "",
394+
"Created on {{date}}": "创建于 {{date}}",
395395
"CSV Import": "通过 CSV 文件导入",
396396
"Ctrl+Enter to Send": "Ctrl+Enter 发送",
397397
"Current Model": "当前模型",
@@ -447,7 +447,7 @@
447447
"delete this link": "此处删除这个链接",
448448
"Delete tool?": "要删除此工具吗?",
449449
"Delete User": "删除用户",
450-
"Deleted": "",
450+
"Deleted": "删除成功",
451451
"Deleted {{deleteModelTag}}": "已删除 {{deleteModelTag}}",
452452
"Deleted {{name}}": "已删除 {{name}}",
453453
"Deleted User": "已删除用户",
@@ -498,7 +498,7 @@
498498
"Document Intelligence endpoint required.": "Document Intelligence 接口地址是必填项。",
499499
"Document Intelligence Model": "Document Intelligence 模型",
500500
"Documentation": "帮助文档",
501-
"Documents": "",
501+
"Documents": "文档",
502502
"does not make any external connections, and your data stays securely on your locally hosted server.": "不会与外部建立任何连接,您的数据会安全地存储在本地托管的服务器上。",
503503
"Domain Filter List": "域名过滤列表",
504504
"don't fetch random pipelines from sources you don't trust.": "请勿从未经验证或不可信的来源获取 Pipelines。",
@@ -522,7 +522,7 @@
522522
"e.g. 60": "例如:60",
523523
"e.g. A filter to remove profanity from text": "例如:一个用于剔除文本中不当内容的过滤器",
524524
"e.g. about the Roman Empire": "例如:关于罗马帝国的趣闻",
525-
"e.g. alloy, echo, shimmer": "",
525+
"e.g. alloy, echo, shimmer": "例如:alloy, echo, shimmer",
526526
"e.g. en": "例如:en",
527527
"e.g. My Filter": "例如:我的过滤器",
528528
"e.g. My Tools": "例如:我的工具",
@@ -786,7 +786,7 @@
786786
"File": "文件",
787787
"File added successfully.": "文件成功添加",
788788
"File content updated successfully.": "文件内容成功更新",
789-
"File Context": "",
789+
"File Context": "文件上下文",
790790
"File Mode": "文件模式",
791791
"File not found.": "文件未找到。",
792792
"File removed successfully.": "文件成功删除",
@@ -923,7 +923,7 @@
923923
"Image Prompt Generation": "图像提示词生成",
924924
"Image Prompt Generation Prompt": "用于生成图像提示词的提示词",
925925
"Image Size": "图片尺寸",
926-
"Images": "",
926+
"Images": "图片",
927927
"Import": "导入",
928928
"Import Chats": "导入对话记录",
929929
"Import Config from JSON File": "从 JSON 文件中导入配置信息",
@@ -942,7 +942,7 @@
942942
"Influences how quickly the algorithm responds to feedback from the generated text. A lower learning rate will result in slower adjustments, while a higher learning rate will make the algorithm more responsive.": "影响算法对生成文本反馈的响应速度。较低的学习率会导致调整过程较慢,而较高的学习率将使算法反应更灵敏。",
943943
"Info": "信息",
944944
"Initials": "姓名缩写",
945-
"Inject file content into conversation context": "",
945+
"Inject file content into conversation context": "将文件内容注入为对话上下文",
946946
"Inject the entire content as context for comprehensive processing, this is recommended for complex queries.": "注入整个内容作为上下文进行综合处理,适用于复杂查询",
947947
"Input": "输入",
948948
"Input Key (e.g. text, unet_name, steps)": "输入键名(例如:text, unet_name, steps)",
@@ -1156,11 +1156,11 @@
11561156
"New Password": "新密码",
11571157
"New Prompt": "创建提示词",
11581158
"New Temporary Chat": "创建临时对话",
1159-
"New Tool": "新工具",
1160-
"New Webhook": "",
1159+
"New Tool": "新建工具",
1160+
"New Webhook": "新建 Webhook",
11611161
"new-channel": "新频道",
11621162
"Next message": "下一条消息",
1163-
"No activity data": "",
1163+
"No activity data": "没有活动数据",
11641164
"No authentication": "无身份验证",
11651165
"No chats found": "未找到对话记录",
11661166
"No chats found for this user.": "未找到此用户的对话记录",
@@ -1199,7 +1199,7 @@
11991199
"No users were found.": "未找到用户",
12001200
"No valves": "没有配置项",
12011201
"No valves to update": "没有需要更新的配置项",
1202-
"No webhooks yet": "",
1202+
"No webhooks yet": "没有 Webhook",
12031203
"Node Ids": "节点 ID",
12041204
"None": "",
12051205
"Not factually correct": "与事实不符",
@@ -1308,7 +1308,7 @@
13081308
"Pipe": "Pipe",
13091309
"Pipeline deleted successfully": "Pipeline 删除成功",
13101310
"Pipeline downloaded successfully": "Pipeline 下载成功",
1311-
"Pipelines": "",
1311+
"Pipelines": "Pipelines",
13121312
"Pipelines are a plugin system with arbitrary code execution —": "Pipelines 是具有任意代码执行风险的插件系统 —",
13131313
"Pipelines Not Detected": "未检测到 Pipeline",
13141314
"Pipelines Valves": "Pipeline 配置项",
@@ -1805,7 +1805,7 @@
18051805
"User location successfully retrieved.": "成功检索到用户位置",
18061806
"User menu": "用户菜单",
18071807
"User ratings (thumbs up/down)": "用户评分(赞/踩)",
1808-
"User Status": "",
1808+
"User Status": "用户状态",
18091809
"User Webhooks": "用户 Webhook",
18101810
"Username": "用户名",
18111811
"users": "用户",
@@ -1846,9 +1846,9 @@
18461846
"Web Search Engine": "联网搜索引擎",
18471847
"Web Search in Chat": "在对话时进行联网搜索",
18481848
"Web Search Query Generation": "联网搜索关键词生成",
1849-
"Webhook Name": "",
1849+
"Webhook Name": "Webhook 名称",
18501850
"Webhook URL": "Webhook URL",
1851-
"Webhooks": "",
1851+
"Webhooks": "Webhook",
18521852
"Webpage URLs": "网页链接",
18531853
"WebUI Settings": "WebUI 设置",
18541854
"WebUI URL": "WebUI URL",

src/lib/i18n/locales/zh-TW/translation.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"Activate this command by typing \"/{{COMMAND}}\" to chat input.": "在對話輸入框中輸入 \"/{{COMMAND}}\" 來啟用此命令。",
4848
"Active": "線上",
4949
"Active Users": "活躍使用者",
50-
"Activity": "",
50+
"Activity": "活動",
5151
"Add": "新增",
5252
"Add a model ID": "新增模型 ID",
5353
"Add a short description about what this model does": "新增這個模型的簡短描述",
@@ -221,7 +221,7 @@
221221
"Button ID": "按鈕 ID",
222222
"Button Label": "按鈕文字",
223223
"Button Prompt": "點擊按鈕後執行的提示詞",
224-
"by {{name}}": "",
224+
"by {{name}}": "由 {{name}} 提供",
225225
"By {{name}}": "由 {{name}} 製作",
226226
"Bypass Embedding and Retrieval": "繞過嵌入與檢索",
227227
"Bypass Web Loader": "繞過網頁載入器",
@@ -303,7 +303,7 @@
303303
"Code Block": "程式碼區塊",
304304
"Code Editor": "程式碼編輯器",
305305
"Code execution": "程式碼執行",
306-
"Code Execution": "",
306+
"Code Execution": "程式碼執行",
307307
"Code Execution Engine": "程式碼執行引擎",
308308
"Code Execution Timeout": "程式執行超時",
309309
"Code formatted successfully": "成功格式化程式碼",
@@ -367,7 +367,7 @@
367367
"Copy link": "複製連結",
368368
"Copy Link": "複製連結",
369369
"Copy to clipboard": "複製到剪貼簿",
370-
"Copy URL": "",
370+
"Copy URL": "複製 URL",
371371
"Copying to clipboard was successful!": "成功複製到剪貼簿!",
372372
"CORS must be properly configured by the provider to allow requests from Open WebUI.": "CORS 必須由供應商正確設定,以允許來自 Open WebUI 的請求。",
373373
"Create": "建立",
@@ -391,7 +391,7 @@
391391
"Created At": "建立於",
392392
"Created by": "建立者",
393393
"Created by you": "由您建立",
394-
"Created on {{date}}": "",
394+
"Created on {{date}}": "建立於 {{date}}",
395395
"CSV Import": "CSV 匯入",
396396
"Ctrl+Enter to Send": "使用 Ctrl+Enter 傳送",
397397
"Current Model": "目前模型",
@@ -447,7 +447,7 @@
447447
"delete this link": "刪除此連結",
448448
"Delete tool?": "刪除工具?",
449449
"Delete User": "刪除使用者",
450-
"Deleted": "",
450+
"Deleted": "刪除成功",
451451
"Deleted {{deleteModelTag}}": "已刪除 {{deleteModelTag}}",
452452
"Deleted {{name}}": "已刪除 {{name}}",
453453
"Deleted User": "刪除使用者?",
@@ -498,7 +498,7 @@
498498
"Document Intelligence endpoint required.": "需要提供 Document Intelligence 端點。",
499499
"Document Intelligence Model": "Document Intelligence 模型",
500500
"Documentation": "說明檔案",
501-
"Documents": "",
501+
"Documents": "文件",
502502
"does not make any external connections, and your data stays securely on your locally hosted server.": "不會建立任何外部連線,而且您的資料會安全地儲存在您本機伺服器上。",
503503
"Domain Filter List": "網域篩選列表",
504504
"don't fetch random pipelines from sources you don't trust.": "請勿從您無法信任的來源擷取任意管線。",
@@ -522,7 +522,7 @@
522522
"e.g. 60": "例如:60",
523523
"e.g. A filter to remove profanity from text": "例如:用來移除不雅詞彙的過濾器",
524524
"e.g. about the Roman Empire": "例如:關於羅馬帝國的事蹟",
525-
"e.g. alloy, echo, shimmer": "",
525+
"e.g. alloy, echo, shimmer": "例如:alloy, echo, shimmer",
526526
"e.g. en": "例如:en",
527527
"e.g. My Filter": "例如:我的篩選器",
528528
"e.g. My Tools": "例如:我的工具",
@@ -786,7 +786,7 @@
786786
"File": "檔案",
787787
"File added successfully.": "成功新增檔案。",
788788
"File content updated successfully.": "成功更新檔案內容。",
789-
"File Context": "",
789+
"File Context": "檔案上下文",
790790
"File Mode": "檔案模式",
791791
"File not found.": "未找到檔案。",
792792
"File removed successfully.": "成功移除檔案。",
@@ -923,7 +923,7 @@
923923
"Image Prompt Generation": "圖片提示詞生成",
924924
"Image Prompt Generation Prompt": "生成圖片提示詞的提示詞",
925925
"Image Size": "圖片尺寸",
926-
"Images": "",
926+
"Images": "圖片",
927927
"Import": "匯入",
928928
"Import Chats": "匯入對話紀錄",
929929
"Import Config from JSON File": "從 JSON 檔案匯入設定",
@@ -942,7 +942,7 @@
942942
"Influences how quickly the algorithm responds to feedback from the generated text. A lower learning rate will result in slower adjustments, while a higher learning rate will make the algorithm more responsive.": "影響演算法對生成文字回饋的反應速度。較低的學習率會導致調整速度較慢,而較高的學習率會使演算法反應更靈敏。",
943943
"Info": "資訊",
944944
"Initials": "姓名縮寫",
945-
"Inject file content into conversation context": "",
945+
"Inject file content into conversation context": "將文件內容注入為對話上下文",
946946
"Inject the entire content as context for comprehensive processing, this is recommended for complex queries.": "將完整內容注入為上下文以進行全面處理,建議用於複雜查詢。",
947947
"Input": "輸入",
948948
"Input Key (e.g. text, unet_name, steps)": "輸入鍵名(例如:text, unet_name, steps)",
@@ -1157,10 +1157,10 @@
11571157
"New Prompt": "新增提示詞",
11581158
"New Temporary Chat": "新增臨時對話",
11591159
"New Tool": "新增工具",
1160-
"New Webhook": "",
1160+
"New Webhook": "新增 Webhook",
11611161
"new-channel": "新頻道",
11621162
"Next message": "下一條訊息",
1163-
"No activity data": "",
1163+
"No activity data": "沒有活動數據",
11641164
"No authentication": "無身份驗證",
11651165
"No chats found": "未找到對話記錄",
11661166
"No chats found for this user.": "未找到此使用者的對話記錄。",
@@ -1199,7 +1199,7 @@
11991199
"No users were found.": "未找到任何使用者",
12001200
"No valves": "沒有設定項目",
12011201
"No valves to update": "設定項目可更新",
1202-
"No webhooks yet": "",
1202+
"No webhooks yet": "尚無 Webhook",
12031203
"Node Ids": "節點 ID",
12041204
"None": "",
12051205
"Not factually correct": "與事實不符",
@@ -1308,7 +1308,7 @@
13081308
"Pipe": "Pipe",
13091309
"Pipeline deleted successfully": "成功刪除管線",
13101310
"Pipeline downloaded successfully": "成功下載管線",
1311-
"Pipelines": "",
1311+
"Pipelines": "管線",
13121312
"Pipelines are a plugin system with arbitrary code execution —": "管線是具任意程式碼執行風險的外掛系統 —",
13131313
"Pipelines Not Detected": "未偵測到管線",
13141314
"Pipelines Valves": "管線設定項目",
@@ -1805,7 +1805,7 @@
18051805
"User location successfully retrieved.": "成功取得使用者位置。",
18061806
"User menu": "使用者選單",
18071807
"User ratings (thumbs up/down)": "使用者評分(讚/踩)",
1808-
"User Status": "",
1808+
"User Status": "使用者狀態",
18091809
"User Webhooks": "使用者 Webhooks",
18101810
"Username": "使用者名稱",
18111811
"users": "使用者",
@@ -1846,9 +1846,9 @@
18461846
"Web Search Engine": "網頁搜尋引擎",
18471847
"Web Search in Chat": "在對話中進行網頁搜尋",
18481848
"Web Search Query Generation": "網頁搜尋查詢生成",
1849-
"Webhook Name": "",
1849+
"Webhook Name": "Webhook 名稱",
18501850
"Webhook URL": "Webhook URL",
1851-
"Webhooks": "",
1851+
"Webhooks": "Webhook",
18521852
"Webpage URLs": "網頁連結",
18531853
"WebUI Settings": "WebUI 設定",
18541854
"WebUI URL": "WebUI URL",

0 commit comments

Comments
 (0)