From f675a18b05735d860bc86b03de3cb243ea1d8b80 Mon Sep 17 00:00:00 2001 From: changchiyou Date: Thu, 21 Mar 2024 19:37:39 +0800 Subject: [PATCH 1/9] enhance: `i18n`'s zh-TW translation for `About.svelte` --- src/lib/i18n/locales/zh-TW/translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 176685d9b..cde4804a7 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -2,7 +2,7 @@ "'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' 或 '-1' 表示無期限。", "(Beta)": "(測試版)", "(e.g. `sh webui.sh --api`)": "(例如 `sh webui.sh --api`)", - "(latest)": "", + "(latest)": "(最新版)", "{{modelName}} is thinking...": "{{modelName}} 正在思考...", "{{webUIName}} Backend Required": "需要 {{webUIName}} 後台", "a user": "", From b5111c4b344cc7887362c9a0b7f02482b5178367 Mon Sep 17 00:00:00 2001 From: changchiyou Date: Fri, 22 Mar 2024 17:17:22 +0800 Subject: [PATCH 2/9] enhance: routes/modelfiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - `Modelfile` is a proprietary term of Ollama. `模型文件` is the Simplified Chinese translation used in their community but not common used in zh-TW community. - `Prompt`'s better zh-TW translation is `提示詞`(refert to https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/what-is-prompt-engineering.html ) instead of `提示`, which is easily misunderstood as a verb `建議` --- src/lib/i18n/locales/zh-TW/translation.json | 66 ++++++++++----------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index cde4804a7..c8fbccc74 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -10,9 +10,9 @@ "Account": "帳號", "Action": "動作", "Add a model": "新增模型", - "Add a model tag name": "新增模型標籤名稱", - "Add a short description about what this modelfile does": "新增關於此模型文件功能的簡短描述", - "Add a short title for this prompt": "為此提示新增一個簡短的標題", + "Add a model tag name": "新增模型標籤", + "Add a short description about what this modelfile does": "為這個 Modelfile 添加一段簡短的描述", + "Add a short title for this prompt": "為此提示詞新增一個簡短的標題", "Add a tag": "新增標籤", "Add Docs": "新增文件", "Add Files": "新增檔案", @@ -59,7 +59,7 @@ "Chunk Params": "區塊參數", "Chunk Size": "區塊大小", "Click here for help.": "點擊這裡尋找幫助。", - "Click here to check other modelfiles.": "點擊這裡檢查其他模型文件。", + "Click here to check other modelfiles.": "點擊這裡檢查其他 Modelfiles。", "Click here to select": "點擊這裡選擇", "Click here to select documents.": "點擊這裡選擇文件。", "click here.": "點擊這裡。", @@ -76,14 +76,14 @@ "Copy last response": "複製最後一個回答", "Copying to clipboard was successful!": "成功複製到剪貼簿!", "Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':": "為以下的查詢建立一個簡潔、3-5 個詞的短語作為標題,嚴格遵守 3-5 個詞的限制,避免使用「標題」這個詞:", - "Create a modelfile": "建立一個模型文件", + "Create a modelfile": "建立 Modelfile", "Create Account": "建立帳號", "Created at": "建立於", "Created by": "建立者", "Current Model": "目前模型", "Current Password": "目前密碼", "Custom": "自訂", - "Customize Ollama models for a specific purpose": "為特定目的自訂 Ollama 模型", + "Customize Ollama models for a specific purpose": "定制特定用途的 Ollama 模型", "Dark": "暗色", "Database": "資料庫", "DD/MM/YYYY HH:mm": "DD/MM/YYYY HH:mm", @@ -91,7 +91,7 @@ "Default (Automatic1111)": "預設(Automatic1111)", "Default (Web API)": "預設(Web API)", "Default model updated": "預設模型已更新", - "Default Prompt Suggestions": "預設提示建議", + "Default Prompt Suggestions": "預設提示詞建議", "Default User Role": "預設使用者角色", "delete": "刪除", "Delete a model": "刪除一個模型", @@ -102,10 +102,10 @@ "Description": "描述", "Desktop Notifications": "桌面通知", "Disabled": "已停用", - "Discover a modelfile": "發現一個模型文件", - "Discover a prompt": "發現一個提示", - "Discover, download, and explore custom prompts": "發現、下載並探索自訂提示", - "Discover, download, and explore model presets": "發現、下載並探索模型預設", + "Discover a modelfile": "發現 Modelfile", + "Discover a prompt": "發現一個提示詞", + "Discover, download, and explore custom prompts": "發現、下載並探索自訂提示詞", + "Discover, download, and explore model presets": "發現、下載並探索他人設置好的模型", "Display the username instead of You in the Chat": "在聊天中顯示使用者名稱而不是「你」", "Document": "文件", "Document Settings": "文件設定", @@ -145,8 +145,8 @@ "Export All Chats (All Users)": "匯出所有聊天(所有使用者)", "Export Chats": "匯出聊天", "Export Documents Mapping": "匯出文件映射", - "Export Modelfiles": "匯出模型文件", - "Export Prompts": "匯出提示", + "Export Modelfiles": "匯出 Modelfiles", + "Export Prompts": "匯出提示詞", "Failed to read clipboard contents": "無法讀取剪貼簿內容", "File Mode": "文件模式", "File not found.": "找不到文件。", @@ -166,8 +166,8 @@ "Images": "圖片", "Import Chats": "匯入聊天", "Import Documents Mapping": "匯入文件映射", - "Import Modelfiles": "匯入模型文件", - "Import Prompts": "匯入提示", + "Import Modelfiles": "匯入 Modelfiles", + "Import Prompts": "匯入提示詞", "Include `--api` flag when running stable-diffusion-webui": "執行 stable-diffusion-webui 時包含 `--api` 標誌", "Interface": "介面", "join our Discord for help.": "加入我們的 Discord 尋找幫助。", @@ -197,20 +197,20 @@ "Model {{modelName}} already exists.": "模型 {{modelName}} 已存在。", "Model Name": "模型名稱", "Model not selected": "未選擇模型", - "Model Tag Name": "模型標籤名稱", + "Model Tag Name": "模型標籤", "Model Whitelisting": "白名單模型", "Model(s) Whitelisted": "模型已加入白名單", - "Modelfile": "模型文件", - "Modelfile Advanced Settings": "模型文件進階設定", - "Modelfile Content": "模型文件內容", - "Modelfiles": "模型文件", + "Modelfile": "Modelfile", + "Modelfile Advanced Settings": "Modelfile 進階設定", + "Modelfile Content": "Modelfile 內容", + "Modelfiles": "Modelfiles", "Models": "模型", "My Documents": "我的文件", - "My Modelfiles": "我的模型文件", - "My Prompts": "我的提示", + "My Modelfiles": "我的 Modelfiles", + "My Prompts": "我的提示詞", "Name": "名稱", "Name Tag": "名稱標籤", - "Name your modelfile": "命名你的模型文件", + "Name your modelfile": "命名你的 Modelfile", "New Chat": "新增聊天", "New Password": "新密碼", "Not sure what to add?": "不確定要新增什麼嗎?", @@ -240,9 +240,9 @@ "Permission denied when accessing microphone: {{error}}": "存取麥克風時被拒絕權限: {{error}}", "Playground": "AI 對話遊樂場", "Profile": "個人資料", - "Prompt Content": "提示內容", - "Prompt suggestions": "提示建議", - "Prompts": "提示", + "Prompt Content": "提示詞內容", + "Prompt suggestions": "提示詞建議", + "Prompts": "提示詞", "Pull a model from Ollama.com": "從 Ollama.com 下載模型", "Pull Progress": "下載進度", "Query Params": "查詢參數", @@ -269,7 +269,7 @@ "Scan for documents from {{path}}": "從 {{path}} 掃描文件", "Search": "搜尋", "Search Documents": "搜尋文件", - "Search Prompts": "搜尋提示", + "Search Prompts": "搜尋提示詞", "See readme.md for instructions": "查看 readme.md 獲取指南", "See what's new": "查看最新內容", "Seed": "種子", @@ -306,7 +306,7 @@ "Successfully updated.": "更新成功。", "Sync All": "全部同步", "System": "系統", - "System Prompt": "系統提示", + "System Prompt": "系統提示詞", "Tags": "標籤", "Temperature": "溫度", "Template": "模板", @@ -318,10 +318,10 @@ "This setting does not sync across browsers or devices.": "此設定不會在瀏覽器或裝置間同步。", "Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "提示:透過在每次替換後在聊天輸入中按 Tab 鍵連續更新多個變量。", "Title": "標題", - "Title Auto-Generation": "標題自動產生", - "Title Generation Prompt": "標題產生提示", + "Title Auto-Generation": "標題自動生成", + "Title Generation Prompt": "標題生成提示詞", "to": "到", - "To access the available model names for downloading,": "要存取可供下載的模型名稱,", + "To access the available model names for downloading,": "若想檢查可供下載的模型名稱,", "To access the GGUF models available for downloading,": "要存取可供下載的 GGUF 模型,", "to chat input.": "到聊天輸入。", "Toggle settings": "切換設定", @@ -338,7 +338,7 @@ "Upload files": "上傳文件", "Upload Progress": "上傳進度", "URL Mode": "URL 模式", - "Use '#' in the prompt input to load and select your documents.": "使用 '#' 在提示輸入中以載入並選擇你的文件。", + "Use '#' in the prompt input to load and select your documents.": "在提示詞輸入中使用 '#' 以載入、選擇你的文件。", "Use Gravatar": "使用 Gravatar", "user": "使用者", "User Permissions": "使用者權限", @@ -355,7 +355,7 @@ "What’s New in": "全新內容", "When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "當歷史被關閉時,這個瀏覽器上的新聊天將不會出現在任何裝置的歷史記錄中。", "Whisper (Local)": "Whisper(本機)", - "Write a prompt suggestion (e.g. Who are you?)": "寫一個提示建議(例如:你是誰?)", + "Write a prompt suggestion (e.g. Who are you?)": "寫一個提示詞建議(例如:你是誰?)", "Write a summary in 50 words that summarizes [topic or keyword].": "寫一個50字的摘要來概括[主題或關鍵詞]。", "You": "你", "You're a helpful assistant.": "你是一個有幫助的助手。", From cb0e858c0428f3d4f0220ea5eefffe19c1ca8eb8 Mon Sep 17 00:00:00 2001 From: changchiyou Date: Sat, 23 Mar 2024 09:44:56 +0800 Subject: [PATCH 3/9] enhance: routes/prompts --- src/lib/i18n/locales/zh-TW/translation.json | 26 ++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index c8fbccc74..35b9a36dc 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -12,7 +12,7 @@ "Add a model": "新增模型", "Add a model tag name": "新增模型標籤", "Add a short description about what this modelfile does": "為這個 Modelfile 添加一段簡短的描述", - "Add a short title for this prompt": "為此提示詞新增一個簡短的標題", + "Add a short title for this prompt": "為這個提示詞添加一個簡短的標題", "Add a tag": "新增標籤", "Add Docs": "新增文件", "Add Files": "新增檔案", @@ -27,14 +27,14 @@ "All Users": "所有使用者", "Allow": "允許", "Allow Chat Deletion": "允許刪除聊天", - "alphanumeric characters and hyphens": "字母數字字符和連字符", + "alphanumeric characters and hyphens": "英文字母、數字(0~9)和連字符(-)", "Already have an account?": "已經有帳號了嗎?", "an assistant": "", "and": "和", "API Base URL": "API 基本 URL", "API Key": "API 金鑰", "API RPM": "API RPM", - "are allowed - Activate this command by typing": "是允許的 - 透過輸入來啟動此命令", + "are allowed - Activate this command by typing": "是允許的 - 透過輸入", "Are you sure?": "你確定嗎?", "Audio": "音訊", "Auto-playback response": "自動播放回答", @@ -103,9 +103,9 @@ "Desktop Notifications": "桌面通知", "Disabled": "已停用", "Discover a modelfile": "發現 Modelfile", - "Discover a prompt": "發現一個提示詞", - "Discover, download, and explore custom prompts": "發現、下載並探索自訂提示詞", - "Discover, download, and explore model presets": "發現、下載並探索他人設置好的模型", + "Discover a prompt": "發現提示詞", + "Discover, download, and explore custom prompts": "發現、下載並探索他人設置的提示詞", + "Discover, download, and explore model presets": "發現、下載並探索他人設置的模型", "Display the username instead of You in the Chat": "在聊天中顯示使用者名稱而不是「你」", "Document": "文件", "Document Settings": "文件設定", @@ -151,7 +151,7 @@ "File Mode": "文件模式", "File not found.": "找不到文件。", "Focus chat input": "聚焦聊天輸入框", - "Format your variables using square brackets like this:": "使用這樣的方括號來格式化你的變數:", + "Format your variables using square brackets like this:": "像這樣使用方括號來格式化你的變數:", "From (Base Model)": "來自(基礎模型)", "Full Screen Mode": "全螢幕模式", "General": "常用", @@ -181,7 +181,7 @@ "Listening...": "正在聽取...", "LLMs can make mistakes. Verify important information.": "LLM 可能會產生錯誤。請驗證重要資訊。", "Made by OpenWebUI Community": "由 OpenWebUI 社區製作", - "Make sure to enclose them with": "確保用...圍起來", + "Make sure to enclose them with": "請確保變數有被以下符號框住:", "Manage LiteLLM Models": "管理 LiteLLM 模型", "Manage Models": "", "Manage Ollama Models": "管理 Ollama 模型", @@ -221,7 +221,7 @@ "Ollama Version": "Ollama 版本", "On": "開啟", "Only": "僅有", - "Only alphanumeric characters and hyphens are allowed in the command string.": "命令字符串中只允許使用字母數字字符和連字符。", + "Only alphanumeric characters and hyphens are allowed in the command string.": "命令字串中只能包含英文字母、數字(0~9)和連字符(-)。", "Oops! Hold tight! Your files are still in the processing oven. We're cooking them up to perfection. Please be patient and we'll let you know once they're ready.": "哎呀!請稍等!你的文件還在處理中。我們正最佳化文件,請耐心等待,一旦準備好,我們會通知你。", "Oops! Looks like the URL is invalid. Please double-check and try again.": "哎呀!看起來 URL 無效。請仔細檢查後再試一次。", "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "哎呀!你正在使用不支援的方法(僅有前台)。請從後台提供 WebUI。", @@ -316,14 +316,14 @@ "Theme": "主題", "This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "這確保你寶貴的對話安全地儲存到你的後台資料庫。謝謝!", "This setting does not sync across browsers or devices.": "此設定不會在瀏覽器或裝置間同步。", - "Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "提示:透過在每次替換後在聊天輸入中按 Tab 鍵連續更新多個變量。", + "Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "提示:透過在每次替換後在聊天輸入框中按 Tab 鍵連續更新多個變數。", "Title": "標題", "Title Auto-Generation": "標題自動生成", "Title Generation Prompt": "標題生成提示詞", "to": "到", "To access the available model names for downloading,": "若想檢查可供下載的模型名稱,", "To access the GGUF models available for downloading,": "要存取可供下載的 GGUF 模型,", - "to chat input.": "到聊天輸入。", + "to chat input.": "到聊天輸入框來啟動此命令。", "Toggle settings": "切換設定", "Toggle sidebar": "切換側邊欄", "Top K": "Top K", @@ -345,8 +345,8 @@ "Users": "使用者", "Utilize": "使用", "Valid time units:": "有效時間單位:", - "variable": "變量", - "variable to have them replaced with clipboard content.": "變量將替換為剪貼簿內容。", + "variable": "變數", + "variable to have them replaced with clipboard content.": "變數將替換為剪貼簿內容。", "Version": "版本", "Web": "網頁", "WebUI Add-ons": "WebUI 擴充套件", From e9a198d8ed00fdb579045f66360a226672450ca7 Mon Sep 17 00:00:00 2001 From: changchiyou Date: Sat, 23 Mar 2024 10:12:11 +0800 Subject: [PATCH 4/9] enhance: routes/documents & components/documents/Settings/General.svelte --- src/lib/i18n/locales/zh-TW/translation.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 35b9a36dc..b736f3391 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -55,9 +55,9 @@ "Check for updates": "檢查更新", "Checking for updates...": "正在檢查更新...", "Choose a model before saving...": "儲存前選擇一個模型...", - "Chunk Overlap": "區塊重疊", - "Chunk Params": "區塊參數", - "Chunk Size": "區塊大小", + "Chunk Overlap": "Chunk Overlap", + "Chunk Params": "Chunk 參數", + "Chunk Size": "Chunk 大小", "Click here for help.": "點擊這裡尋找幫助。", "Click here to check other modelfiles.": "點擊這裡檢查其他 Modelfiles。", "Click here to select": "點擊這裡選擇", @@ -125,8 +125,8 @@ "Enabled": "已啟用", "Enter {{role}} message here": "在這裡輸入 {{role}} 訊息", "Enter API Key": "輸入 API 金鑰", - "Enter Chunk Overlap": "輸入區塊重疊", - "Enter Chunk Size": "輸入區塊大小", + "Enter Chunk Overlap": "輸入 Chunk Overlap", + "Enter Chunk Size": "輸入 Chunk 大小", "Enter Image Size (e.g. 512x512)": "輸入圖片大小(例如 512x512)", "Enter LiteLLM API Base URL (litellm_params.api_base)": "輸入 LiteLLM API 基本 URL(litellm_params.api_base)", "Enter LiteLLM API Key (litellm_params.api_key)": "輸入 LiteLLM API 金鑰(litellm_params.api_key)", @@ -235,7 +235,7 @@ "or": "或", "Parameters": "參數", "Password": "密碼", - "PDF Extract Images (OCR)": "PDF 圖像輸出(OCR 光學文字辨識)", + "PDF Extract Images (OCR)": "PDF 圖像擷取(OCR 光學文字辨識)", "pending": "等待中", "Permission denied when accessing microphone: {{error}}": "存取麥克風時被拒絕權限: {{error}}", "Playground": "AI 對話遊樂場", @@ -338,7 +338,7 @@ "Upload files": "上傳文件", "Upload Progress": "上傳進度", "URL Mode": "URL 模式", - "Use '#' in the prompt input to load and select your documents.": "在提示詞輸入中使用 '#' 以載入、選擇你的文件。", + "Use '#' in the prompt input to load and select your documents.": "在輸入框中輸入 '#' 並載入、選擇你的文件。", "Use Gravatar": "使用 Gravatar", "user": "使用者", "User Permissions": "使用者權限", From e14ad508c98946331828878a5dfc1f72cf201c5e Mon Sep 17 00:00:00 2001 From: changchiyou Date: Sat, 23 Mar 2024 10:14:47 +0800 Subject: [PATCH 5/9] enhance: e9a198d8ed00fdb579045f66360a226672450ca7 --- src/lib/i18n/locales/zh-TW/translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index b736f3391..5754b47c9 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -338,7 +338,7 @@ "Upload files": "上傳文件", "Upload Progress": "上傳進度", "URL Mode": "URL 模式", - "Use '#' in the prompt input to load and select your documents.": "在輸入框中輸入 '#' 並載入、選擇你的文件。", + "Use '#' in the prompt input to load and select your documents.": "在輸入框中輸入 '#' 以載入並選擇你的文件。", "Use Gravatar": "使用 Gravatar", "user": "使用者", "User Permissions": "使用者權限", From e9f1a714e8515a61994166675627290b2419ee2a Mon Sep 17 00:00:00 2001 From: changchiyou Date: Sat, 23 Mar 2024 12:05:54 +0800 Subject: [PATCH 6/9] enhance: playground --- src/lib/i18n/locales/zh-TW/translation.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 5754b47c9..ec5e39fde 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -5,7 +5,7 @@ "(latest)": "(最新版)", "{{modelName}} is thinking...": "{{modelName}} 正在思考...", "{{webUIName}} Backend Required": "需要 {{webUIName}} 後台", - "a user": "", + "a user": "使用者", "About": "關於", "Account": "帳號", "Action": "動作", @@ -29,13 +29,14 @@ "Allow Chat Deletion": "允許刪除聊天", "alphanumeric characters and hyphens": "英文字母、數字(0~9)和連字符(-)", "Already have an account?": "已經有帳號了嗎?", - "an assistant": "", + "an assistant": "助手", "and": "和", "API Base URL": "API 基本 URL", "API Key": "API 金鑰", "API RPM": "API RPM", "are allowed - Activate this command by typing": "是允許的 - 透過輸入", "Are you sure?": "你確定嗎?", + "assistant": "助手", "Audio": "音訊", "Auto-playback response": "自動播放回答", "Auto-send input after 3 sec.": "3秒後自動傳送輸入內容", @@ -236,7 +237,7 @@ "Parameters": "參數", "Password": "密碼", "PDF Extract Images (OCR)": "PDF 圖像擷取(OCR 光學文字辨識)", - "pending": "等待中", + "pending": "待審查", "Permission denied when accessing microphone: {{error}}": "存取麥克風時被拒絕權限: {{error}}", "Playground": "AI 對話遊樂場", "Profile": "個人資料", @@ -310,7 +311,7 @@ "Tags": "標籤", "Temperature": "溫度", "Template": "模板", - "Text Completion": "文字完成", + "Text Completion": "文本補全(Text Completion)", "Text-to-Speech Engine": "文字轉語音引擎", "Tfs Z": "Tfs Z", "Theme": "主題", @@ -358,6 +359,6 @@ "Write a prompt suggestion (e.g. Who are you?)": "寫一個提示詞建議(例如:你是誰?)", "Write a summary in 50 words that summarizes [topic or keyword].": "寫一個50字的摘要來概括[主題或關鍵詞]。", "You": "你", - "You're a helpful assistant.": "你是一個有幫助的助手。", + "You're a helpful assistant.": "你是一位善於協助他人的助手。", "You're now logged in.": "你已登入。" } From dca3dbbce6e9f615bac2e45770f121ca73785faa Mon Sep 17 00:00:00 2001 From: changchiyou Date: Sat, 23 Mar 2024 17:03:41 +0800 Subject: [PATCH 7/9] enhance: admin --- src/lib/i18n/locales/zh-TW/translation.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index ec5e39fde..f7d52eb63 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -26,7 +26,7 @@ "all": "所有", "All Users": "所有使用者", "Allow": "允許", - "Allow Chat Deletion": "允許刪除聊天", + "Allow Chat Deletion": "允許刪除聊天紀錄", "alphanumeric characters and hyphens": "英文字母、數字(0~9)和連字符(-)", "Already have an account?": "已經有帳號了嗎?", "an assistant": "助手", @@ -64,7 +64,7 @@ "Click here to select": "點擊這裡選擇", "Click here to select documents.": "點擊這裡選擇文件。", "click here.": "點擊這裡。", - "Click on the user role button to change a user's role.": "點擊使用者角色按鈕以更改使用者的角色。", + "Click on the user role button to change a user's role.": "點擊使用者 Role 按鈕以更改使用者的 Role。", "Close": "關閉", "Collection": "收藏", "Command": "命令", @@ -93,7 +93,7 @@ "Default (Web API)": "預設(Web API)", "Default model updated": "預設模型已更新", "Default Prompt Suggestions": "預設提示詞建議", - "Default User Role": "預設使用者角色", + "Default User Role": "預設用戶 Role", "delete": "刪除", "Delete a model": "刪除一個模型", "Delete chat": "刪除聊天", @@ -122,7 +122,7 @@ "Edit User": "編輯使用者", "Email": "電子郵件", "Enable Chat History": "啟用聊天歷史", - "Enable New Sign Ups": "允許新使用者註冊", + "Enable New Sign Ups": "允許註冊新帳號", "Enabled": "已啟用", "Enter {{role}} message here": "在這裡輸入 {{role}} 訊息", "Enter API Key": "輸入 API 金鑰", @@ -173,7 +173,7 @@ "Interface": "介面", "join our Discord for help.": "加入我們的 Discord 尋找幫助。", "JSON": "JSON", - "JWT Expiration": "JWT 過期", + "JWT Expiration": "JWT 過期時間", "JWT Token": "JWT 令牌", "Keep Alive": "保持活躍", "Keyboard shortcuts": "鍵盤快速鍵", @@ -184,7 +184,7 @@ "Made by OpenWebUI Community": "由 OpenWebUI 社區製作", "Make sure to enclose them with": "請確保變數有被以下符號框住:", "Manage LiteLLM Models": "管理 LiteLLM 模型", - "Manage Models": "", + "Manage Models": "管理模組", "Manage Ollama Models": "管理 Ollama 模型", "Max Tokens": "最大令牌數", "Maximum of 3 models can be downloaded simultaneously. Please try again later.": "最多可以同時下載 3 個模型。請稍後再試。", @@ -257,7 +257,7 @@ "Request Mode": "請求模式", "Reset Vector Storage": "重置向量儲存空間", "Response AutoCopy to Clipboard": "自動複製回答到剪貼簿", - "Role": "角色", + "Role": "Role", "Rosé Pine": "玫瑰松", "Rosé Pine Dawn": "黎明玫瑰松", "Save": "儲存", From 2d1b67561bee7be986343daa95827a55b51e63a2 Mon Sep 17 00:00:00 2001 From: changchiyou Date: Sat, 23 Mar 2024 17:13:43 +0800 Subject: [PATCH 8/9] enhance: routes/auth --- src/lib/i18n/locales/zh-TW/translation.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index f7d52eb63..cc1c1141e 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -111,9 +111,9 @@ "Document": "文件", "Document Settings": "文件設定", "Documents": "文件", - "does not make any external connections, and your data stays securely on your locally hosted server.": "不會與外部溝通,你的數據安全地留在你的本機伺服器上。", + "does not make any external connections, and your data stays securely on your locally hosted server.": "不會與外部溝通,你的數據會安全地留在你的本機伺服器上。", "Don't Allow": "不允許", - "Don't have an account?": "沒有帳號?", + "Don't have an account?": "還沒有註冊帳號?", "Download as a File": "下載為文件", "Download Database": "下載資料庫", "Drop any files here to add to the conversation": "拖拽文件到此處以新增至對話", @@ -360,5 +360,5 @@ "Write a summary in 50 words that summarizes [topic or keyword].": "寫一個50字的摘要來概括[主題或關鍵詞]。", "You": "你", "You're a helpful assistant.": "你是一位善於協助他人的助手。", - "You're now logged in.": "你已登入。" + "You're now logged in.": "已登入。" } From b03f4371d6c87a44e4e94de33c30b95cc155a728 Mon Sep 17 00:00:00 2001 From: changchiyou Date: Sat, 23 Mar 2024 23:55:42 +0800 Subject: [PATCH 9/9] enhance: setting --- src/lib/i18n/locales/zh-TW/translation.json | 50 ++++++++++----------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index cc1c1141e..b157e71ab 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -49,8 +49,8 @@ "Categories": "分類", "Change Password": "修改密碼", "Chat": "聊天", - "Chat History": "聊天歷史", - "Chat History is off for this browser.": "此瀏覽器已關閉聊天歷史。", + "Chat History": "聊天紀錄功能", + "Chat History is off for this browser.": "此瀏覽器已關閉聊天紀錄功能。", "Chats": "聊天", "Check Again": "重新檢查", "Check for updates": "檢查更新", @@ -96,15 +96,15 @@ "Default User Role": "預設用戶 Role", "delete": "刪除", "Delete a model": "刪除一個模型", - "Delete chat": "刪除聊天", - "Delete Chats": "刪除聊天", + "Delete chat": "刪除聊天紀錄", + "Delete Chats": "刪除聊天紀錄", "Deleted {{deleteModelTag}}": "已刪除 {{deleteModelTag}}", "Deleted {tagName}": "已刪除 {tagName}", "Description": "描述", "Desktop Notifications": "桌面通知", "Disabled": "已停用", - "Discover a modelfile": "發現 Modelfile", - "Discover a prompt": "發現提示詞", + "Discover a modelfile": "發現新 Modelfile", + "Discover a prompt": "發現新提示詞", "Discover, download, and explore custom prompts": "發現、下載並探索他人設置的提示詞", "Discover, download, and explore model presets": "發現、下載並探索他人設置的模型", "Display the username instead of You in the Chat": "在聊天中顯示使用者名稱而不是「你」", @@ -133,7 +133,7 @@ "Enter LiteLLM API Key (litellm_params.api_key)": "輸入 LiteLLM API 金鑰(litellm_params.api_key)", "Enter LiteLLM API RPM (litellm_params.rpm)": "輸入 LiteLLM API RPM(litellm_params.rpm)", "Enter LiteLLM Model (litellm_params.model)": "輸入 LiteLLM 模型(litellm_params.model)", - "Enter Max Tokens (litellm_params.max_tokens)": "輸入最大令牌數(litellm_params.max_tokens)", + "Enter Max Tokens (litellm_params.max_tokens)": "輸入最大 Token 數(litellm_params.max_tokens)", "Enter model tag (e.g. {{modelTag}})": "輸入模型標籤(例如 {{modelTag}})", "Enter Number of Steps (e.g. 50)": "輸入步數(例如 50)", "Enter stop sequence": "輸入停止序列", @@ -142,15 +142,15 @@ "Enter Your Email": "輸入你的電子郵件", "Enter Your Full Name": "輸入你的全名", "Enter Your Password": "輸入你的密碼", - "Experimental": "實驗性", - "Export All Chats (All Users)": "匯出所有聊天(所有使用者)", - "Export Chats": "匯出聊天", + "Experimental": "實驗功能", + "Export All Chats (All Users)": "匯出所有聊天紀錄(所有使用者)", + "Export Chats": "匯出聊天紀錄", "Export Documents Mapping": "匯出文件映射", "Export Modelfiles": "匯出 Modelfiles", "Export Prompts": "匯出提示詞", "Failed to read clipboard contents": "無法讀取剪貼簿內容", - "File Mode": "文件模式", - "File not found.": "找不到文件。", + "File Mode": "檔案模式", + "File not found.": "找不到檔案。", "Focus chat input": "聚焦聊天輸入框", "Format your variables using square brackets like this:": "像這樣使用方括號來格式化你的變數:", "From (Base Model)": "來自(基礎模型)", @@ -159,22 +159,22 @@ "General Settings": "常用設定", "Hello, {{name}}": "你好, {{name}}", "Hide": "隱藏", - "Hide Additional Params": "隱藏附加參數", + "Hide Additional Params": "隱藏額外參數", "How can I help you today?": "今天能為你做什麼?", - "Image Generation (Experimental)": "圖片產生(實驗性)", - "Image Generation Engine": "圖片產生引擎", + "Image Generation (Experimental)": "圖像生成(實驗功能)", + "Image Generation Engine": "圖像生成引擎", "Image Settings": "圖片設定", "Images": "圖片", - "Import Chats": "匯入聊天", + "Import Chats": "匯入聊天紀錄", "Import Documents Mapping": "匯入文件映射", "Import Modelfiles": "匯入 Modelfiles", "Import Prompts": "匯入提示詞", - "Include `--api` flag when running stable-diffusion-webui": "執行 stable-diffusion-webui 時包含 `--api` 標誌", + "Include `--api` flag when running stable-diffusion-webui": "在運行 stable-diffusion-webui 時加上 `--api` 標誌", "Interface": "介面", "join our Discord for help.": "加入我們的 Discord 尋找幫助。", "JSON": "JSON", "JWT Expiration": "JWT 過期時間", - "JWT Token": "JWT 令牌", + "JWT Token": "JWT Token", "Keep Alive": "保持活躍", "Keyboard shortcuts": "鍵盤快速鍵", "Language": "語言", @@ -186,7 +186,7 @@ "Manage LiteLLM Models": "管理 LiteLLM 模型", "Manage Models": "管理模組", "Manage Ollama Models": "管理 Ollama 模型", - "Max Tokens": "最大令牌數", + "Max Tokens": "最大 Token 數", "Maximum of 3 models can be downloaded simultaneously. Please try again later.": "最多可以同時下載 3 個模型。請稍後再試。", "Mirostat": "Mirostat", "Mirostat Eta": "Mirostat Eta", @@ -284,7 +284,7 @@ "Set Default Model": "設定預設模型", "Set Image Size": "設定圖片大小", "Set Steps": "設定步數", - "Set Title Auto-Generation Model": "設定標題自動產生模型", + "Set Title Auto-Generation Model": "設定自動生成標題用模型", "Set Voice": "設定語音", "Settings": "設定", "Settings saved successfully!": "成功儲存設定", @@ -319,11 +319,11 @@ "This setting does not sync across browsers or devices.": "此設定不會在瀏覽器或裝置間同步。", "Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "提示:透過在每次替換後在聊天輸入框中按 Tab 鍵連續更新多個變數。", "Title": "標題", - "Title Auto-Generation": "標題自動生成", - "Title Generation Prompt": "標題生成提示詞", + "Title Auto-Generation": "自動生成標題", + "Title Generation Prompt": "自動生成標題的提示詞", "to": "到", - "To access the available model names for downloading,": "若想檢查可供下載的模型名稱,", - "To access the GGUF models available for downloading,": "要存取可供下載的 GGUF 模型,", + "To access the available model names for downloading,": "若想查看可供下載的模型名稱,", + "To access the GGUF models available for downloading,": "若想查看可供下載的 GGUF 模型名稱,", "to chat input.": "到聊天輸入框來啟動此命令。", "Toggle settings": "切換設定", "Toggle sidebar": "切換側邊欄", @@ -331,7 +331,7 @@ "Top P": "Top P", "Trouble accessing Ollama?": "存取 Ollama 時遇到問題?", "TTS Settings": "文字轉語音設定", - "Type Hugging Face Resolve (Download) URL": "輸入 Hugging Face 解析(下載)URL", + "Type Hugging Face Resolve (Download) URL": "輸入 Hugging Face 解析後的(下載)URL", "Uh-oh! There was an issue connecting to {{provider}}.": "哎呀!連線到 {{provider}} 時出現問題。", "Unknown File Type '{{file_type}}', but accepting and treating as plain text": "未知的文件類型 '{{file_type}}',但接受並視為純文字", "Update password": "更新密碼",