Skip to content

Commit fa84ff5

Browse files
ShirasawaSamatjbck
andauthored
I18n: improve Chinese translation (open-webui#20902)
* i18n: improve zh-CN translation * i18n: improve zh-TW translation --------- Co-authored-by: Tim Baek <[email protected]>
1 parent 66359d5 commit fa84ff5

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

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

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@
216216
"Boosting or penalizing specific tokens for constrained responses. Bias values will be clamped between -100 and 100 (inclusive). (Default: none)": "为受限响应提升或惩罚特定标记。偏置值将被限制在 -100 到 100(包括两端)之间。(默认:无)",
217217
"Brave": "Brave",
218218
"Brave Search API Key": "Brave Search 接口密钥",
219+
"Browse and query knowledge bases": "浏览和查询知识库",
219220
"Builtin Tools": "内置工具",
220221
"Bullet List": "无序列表",
221222
"Button ID": "按钮 ID",
@@ -254,6 +255,7 @@
254255
"Chat Controls": "对话高级设置",
255256
"Chat Conversation": "对话内容",
256257
"Chat direction": "对话显示方向",
258+
"Chat History": "对话历史记录",
257259
"Chat ID": "对话 ID",
258260
"Chat moved successfully": "移动对话成功",
259261
"Chat Overview": "对话概述",
@@ -366,6 +368,7 @@
366368
"Copy Last Response": "复制最后一个回答",
367369
"Copy link": "复制链接",
368370
"Copy Link": "复制链接",
371+
"Copy Prompt": "复制提示词",
369372
"Copy to clipboard": "复制到剪贴板",
370373
"Copy URL": "复制 URL",
371374
"Copying to clipboard was successful!": "成功复制到剪贴板!",
@@ -720,6 +723,7 @@
720723
"Example: sAMAccountName or uid or userPrincipalName": "例如:sAMAccountName 或 uid 或 userPrincipalName",
721724
"Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "已达到最大授权人数,请联系支持人员提升授权人数",
722725
"Exclude": "排除",
726+
"Execute code": "执行代码",
723727
"Execute code for analysis": "执行代码进行分析",
724728
"Executing **{{NAME}}**...": "正在执行 **{{NAME}}**...",
725729
"Expand": "展开",
@@ -854,10 +858,12 @@
854858
"General": "通用",
855859
"Generate": "生成",
856860
"Generate an image": "生成图像",
861+
"Generate and edit images": "生成和编辑图像",
857862
"Generate Message Pair": "生成消息对",
858863
"Generated Image": "已生成图像",
859864
"Generating search query": "生成搜索查询",
860865
"Generating...": "生成中...",
866+
"Get current time and perform date/time calculations": "获取当前时间并进行计算",
861867
"Get information on {{name}} in the UI": "在界面中获取 {{name}} 的信息",
862868
"Get started": "开始使用",
863869
"Get started with {{WEBUI_NAME}}": "开始使用 {{WEBUI_NAME}}",
@@ -1121,6 +1127,7 @@
11211127
"Model name already exists, please choose a different one": "模型名称已存在,请使用不同的名称",
11221128
"Model Name is required.": "模型名称是必填项。",
11231129
"Model names and usage frequency": "模型名称与使用频率",
1130+
"Model not found": "未找到模型",
11241131
"Model not selected": "未选择模型",
11251132
"Model Params": "模型参数",
11261133
"Model Permissions": "模型权限",
@@ -1279,6 +1286,8 @@
12791286
"Output Format": "输出格式",
12801287
"Overview": "概述",
12811288
"page": "",
1289+
"Page": "页模式",
1290+
"Page mode creates one document per page. Single mode combines all pages into one document for better chunking across page boundaries.": "页模式将为每个页面创建一个文档;单文档模式则将所有页面合并为一个文档,以便更好地进行跨页分块。",
12821291
"Paginate": "分页",
12831292
"Parameters": "参数",
12841293
"Parent message not found": "未找到父消息",
@@ -1288,6 +1297,7 @@
12881297
"Paste Large Text as File": "粘贴大文本为文件",
12891298
"PDF document (.pdf)": "PDF 文档 (.pdf)",
12901299
"PDF Extract Images (OCR)": "PDF 图像提取(使用文字识别)",
1300+
"PDF Loader Mode": "PDF 加载模式",
12911301
"pending": "待激活",
12921302
"Pending": "待激活",
12931303
"Pending User Overlay Content": "待激活用户界面内容",
@@ -1433,8 +1443,6 @@
14331443
"Retrieved 1 source": "检索到 1 个引用来源",
14341444
"Rich Text Input for Chat": "富文本对话框",
14351445
"Role": "角色",
1436-
"Rosé Pine": "玫瑰松木",
1437-
"Rosé Pine Dawn": "玫瑰松木·晨曦",
14381446
"RTL": "从右至左",
14391447
"Run": "运行",
14401448
"Running": "运行中",
@@ -1452,7 +1460,10 @@
14521460
"Search": "搜索",
14531461
"Search a model": "搜索模型",
14541462
"Search all emojis": "搜索 Emoji",
1463+
"Search and manage user memories": "搜索和管理用户记忆",
1464+
"Search and view user chat history": "搜索和查看用户对话历史",
14551465
"Search Base": "搜索库",
1466+
"Search channels and channel messages": "搜索频道和频道消息",
14561467
"Search Chats": "搜索对话",
14571468
"Search Collection": "搜索内容",
14581469
"Search Filters": "搜索过滤器",
@@ -1470,7 +1481,9 @@
14701481
"Search Prompts": "搜索提示词",
14711482
"Search Result Count": "搜索结果数量",
14721483
"Search the internet": "联网搜索",
1484+
"Search the web and fetch URLs": "搜索网络并获取网页内容",
14731485
"Search Tools": "搜索工具",
1486+
"Search, view, and manage user notes": "搜索、查看和管理用户笔记",
14741487
"SearchApi API Key": "SearchApi 接口密钥",
14751488
"SearchApi Engine": "SearchApi 引擎",
14761489
"Searched {{count}} sites": "已搜索 {{count}} 个网站",
@@ -1505,6 +1518,7 @@
15051518
"Select an embedding model engine": "选择嵌入模型引擎",
15061519
"Select an engine": "选择引擎",
15071520
"Select an Ollama instance": "选择 Ollama 实例",
1521+
"Select an option": "请选择",
15081522
"Select an output format": "选择输出格式",
15091523
"Select dtype": "选择数据类型(Dtype)",
15101524
"Select Engine": "选择引擎",
@@ -1570,6 +1584,7 @@
15701584
"Sign up to {{WEBUI_NAME}}": "注册 {{WEBUI_NAME}}",
15711585
"Significantly improves accuracy by using an LLM to enhance tables, forms, inline math, and layout detection. Will increase latency. Defaults to False.": "借助大语言模型(LLM)提升表格、表单、行内数学公式及版面检测的准确性,但会增加响应时间。默认值:False。",
15721586
"Signing in to {{WEBUI_NAME}}": "正在登录 {{WEBUI_NAME}}",
1587+
"Single": "单文档模式",
15731588
"Sink List": "下移列表",
15741589
"sk-1234": "sk-1234",
15751590
"Skip Cache": "跳过缓存",
@@ -1701,6 +1716,7 @@
17011716
"Tika": "Tika",
17021717
"Tika Server URL required.": "请输入 Tika 服务器接口地址",
17031718
"Tiktoken": "Tiktoken",
1719+
"Time & Calculation": "时间和计算",
17041720
"Timeout": "超时时间",
17051721
"Title": "标题",
17061722
"Title Auto-Generation": "自动生成标题",
@@ -1892,6 +1908,7 @@
18921908
"You cannot upload an empty file.": "请勿上传空文件。",
18931909
"You do not have permission to edit this model": "您没有权限编辑此模型",
18941910
"You do not have permission to edit this prompt.": "您没有权限编辑此提示词",
1911+
"You do not have permission to edit this tool": "您没有权限编辑此工具",
18951912
"You do not have permission to save this prompt.": "您没有权限保存此提示词",
18961913
"You do not have permission to send messages in this channel.": "您没有权限在当前频道发送消息。",
18971914
"You do not have permission to send messages in this thread.": "您没有权限在当前主题中发送消息。",

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

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@
216216
"Boosting or penalizing specific tokens for constrained responses. Bias values will be clamped between -100 and 100 (inclusive). (Default: none)": "針對受限的回應,增強或懲罰特定 Token。偏差值將限制在 -100 到 100 (含)。 (預設:none)",
217217
"Brave": "Brave",
218218
"Brave Search API Key": "Brave 搜尋 API 金鑰",
219+
"Browse and query knowledge bases": "瀏覽和查詢知識庫",
219220
"Builtin Tools": "內建工具",
220221
"Bullet List": "無序清單",
221222
"Button ID": "按鈕 ID",
@@ -254,6 +255,7 @@
254255
"Chat Controls": "對話控制選項",
255256
"Chat Conversation": "對話內容",
256257
"Chat direction": "對話方向",
258+
"Chat History": "對話歷史",
257259
"Chat ID": "對話 ID",
258260
"Chat moved successfully": "對話已移動",
259261
"Chat Overview": "對話概覽",
@@ -366,6 +368,7 @@
366368
"Copy Last Response": "複製最後的回應",
367369
"Copy link": "複製連結",
368370
"Copy Link": "複製連結",
371+
"Copy Prompt": "複製提示詞",
369372
"Copy to clipboard": "複製到剪貼簿",
370373
"Copy URL": "複製 URL",
371374
"Copying to clipboard was successful!": "成功複製到剪貼簿!",
@@ -720,6 +723,7 @@
720723
"Example: sAMAccountName or uid or userPrincipalName": "範例:sAMAccountName 或 uid 或 userPrincipalName",
721724
"Exceeded the number of seats in your license. Please contact support to increase the number of seats.": "您的授權名額已超過上限。請聯絡技術支援以增加授權名額。",
722725
"Exclude": "排除",
726+
"Execute code": "執行程式碼",
723727
"Execute code for analysis": "執行程式碼以進行分析",
724728
"Executing **{{NAME}}**...": "正在執行 **{{NAME}}** ...",
725729
"Expand": "展開",
@@ -852,6 +856,14 @@
852856
"Gemini Endpoint Method": "Gemini API 請求方法",
853857
"Gender": "性別",
854858
"General": "一般",
859+
"Generate": "生成",
860+
"Generate an image": "生成圖片",
861+
"Generate and edit images": "生成和編輯圖片",
862+
"Generate Message Pair": "生成訊息對",
863+
"Generated Image": "生成圖片",
864+
"Generating search query": "正在生成搜尋查詢",
865+
"Generating...": "正在生成...",
866+
"Get current time and perform date/time calculations": "獲取當前時間並進行日期/時間計算",
855867
"Generate": "產生",
856868
"Generate an image": "產生圖片",
857869
"Generate Message Pair": "產生訊息對",
@@ -1121,6 +1133,7 @@
11211133
"Model name already exists, please choose a different one": "模型名稱已存在,請使用不同的名稱",
11221134
"Model Name is required.": "模型名稱為必填項目。",
11231135
"Model names and usage frequency": "模型名稱和使用頻率",
1136+
"Model not found": "未找到模型",
11241137
"Model not selected": "未選取模型",
11251138
"Model Params": "模型參數",
11261139
"Model Permissions": "模型權限",
@@ -1279,6 +1292,8 @@
12791292
"Output Format": "輸出格式",
12801293
"Overview": "概覽",
12811294
"page": "頁面",
1295+
"Page": "頁面模式",
1296+
"Page mode creates one document per page. Single mode combines all pages into one document for better chunking across page boundaries.": "頁面模式將為每個頁面創建一個文檔;單文檔模式則將所有頁面合併為一個文檔,以便更好地進行跨頁分塊。",
12821297
"Paginate": "啟用分頁",
12831298
"Parameters": "參數",
12841299
"Parent message not found": "未找到父訊息",
@@ -1288,6 +1303,7 @@
12881303
"Paste Large Text as File": "將大型文字以檔案貼上",
12891304
"PDF document (.pdf)": "PDF 檔案 (.pdf)",
12901305
"PDF Extract Images (OCR)": "PDF 影像擷取(OCR 光學文字辨識)",
1306+
"PDF Loader Mode": "PDF 加載模式",
12911307
"pending": "待處理",
12921308
"Pending": "待處理",
12931309
"Pending User Overlay Content": "待處理的使用者訊息覆蓋層內容",
@@ -1433,8 +1449,6 @@
14331449
"Retrieved 1 source": "搜尋到 1 個來源",
14341450
"Rich Text Input for Chat": "使用富文字輸入對話",
14351451
"Role": "角色",
1436-
"Rosé Pine": "玫瑰松",
1437-
"Rosé Pine Dawn": "黎明玫瑰松",
14381452
"RTL": "從右到左",
14391453
"Run": "執行",
14401454
"Running": "正在執行",
@@ -1452,7 +1466,10 @@
14521466
"Search": "搜尋",
14531467
"Search a model": "搜尋模型",
14541468
"Search all emojis": "搜尋 Emoji 表情符號",
1469+
"Search and manage user memories": "搜尋和管理用戶記憶",
1470+
"Search and view user chat history": "搜尋和查看用戶對話歷史",
14551471
"Search Base": "搜尋基礎",
1472+
"Search channels and channel messages": "搜尋頻道和頻道消息",
14561473
"Search Chats": "搜尋對話",
14571474
"Search Collection": "搜尋集合",
14581475
"Search Filters": "搜尋篩選器",
@@ -1470,7 +1487,9 @@
14701487
"Search Prompts": "搜尋提示詞",
14711488
"Search Result Count": "搜尋結果數量",
14721489
"Search the internet": "搜尋網路",
1490+
"Search the web and fetch URLs": "搜尋網路並獲取 URL",
14731491
"Search Tools": "搜尋工具",
1492+
"Search, view, and manage user notes": "搜尋、查看和管理用戶筆記",
14741493
"SearchApi API Key": "SearchApi API 金鑰",
14751494
"SearchApi Engine": "SearchApi 引擎",
14761495
"Searched {{count}} sites": "搜尋到 {{count}} 個網站",
@@ -1505,6 +1524,7 @@
15051524
"Select an embedding model engine": "選擇嵌入模型引擎",
15061525
"Select an engine": "選擇引擎",
15071526
"Select an Ollama instance": "選擇一個 Ollama 執行個體",
1527+
"Select an option": "請選擇",
15081528
"Select an output format": "選擇輸出格式",
15091529
"Select dtype": "選擇資料類型(Dtype)",
15101530
"Select Engine": "選擇引擎",
@@ -1570,6 +1590,7 @@
15701590
"Sign up to {{WEBUI_NAME}}": "註冊 {{WEBUI_NAME}}",
15711591
"Significantly improves accuracy by using an LLM to enhance tables, forms, inline math, and layout detection. Will increase latency. Defaults to False.": "借助大型語言模型(LLM)提升表格、表單、行內數學公式及版面偵測的準確性,但會增加回應時間。預設值:False。",
15721592
"Signing in to {{WEBUI_NAME}}": "正在登入 {{WEBUI_NAME}}",
1593+
"Single": "單文檔模式",
15731594
"Sink List": "下移清單",
15741595
"sk-1234": "sk-1234",
15751596
"Skip Cache": "略過快取",
@@ -1701,6 +1722,7 @@
17011722
"Tika": "Tika",
17021723
"Tika Server URL required.": "需要提供 Tika 伺服器 URL。",
17031724
"Tiktoken": "Tiktoken",
1725+
"Time & Calculation": "時間和計算",
17041726
"Timeout": "逾時時間",
17051727
"Title": "標題",
17061728
"Title Auto-Generation": "自動產生標題",
@@ -1892,6 +1914,7 @@
18921914
"You cannot upload an empty file.": "您無法上傳空檔案",
18931915
"You do not have permission to edit this model": "您沒有權限編輯此模型",
18941916
"You do not have permission to edit this prompt.": "您沒有權限編輯此提示詞",
1917+
"You do not have permission to edit this tool": "您沒有權限編輯此工具",
18951918
"You do not have permission to save this prompt.": "您沒有權限儲存此提示詞",
18961919
"You do not have permission to send messages in this channel.": "您沒有在此頻道中傳送訊息的權限。",
18971920
"You do not have permission to send messages in this thread.": "您沒有在此討論串中傳送訊息的權限。",

0 commit comments

Comments
 (0)