From d255f5cf8da43478868495c8c21d1fec6108bde3 Mon Sep 17 00:00:00 2001 From: Aleix Dorca Date: Mon, 7 Oct 2024 08:20:36 +0200 Subject: [PATCH 01/69] Update catalan translation.json --- src/lib/i18n/locales/ca-ES/translation.json | 32 ++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/lib/i18n/locales/ca-ES/translation.json b/src/lib/i18n/locales/ca-ES/translation.json index 49694367e1..404b607691 100644 --- a/src/lib/i18n/locales/ca-ES/translation.json +++ b/src/lib/i18n/locales/ca-ES/translation.json @@ -68,8 +68,8 @@ "Archived Chats": "Xats arxivats", "are allowed - Activate this command by typing": "estan permesos - Activa aquesta comanda escrivint", "Are you sure?": "Estàs segur?", - "Artifacts": "", - "Ask a question": "", + "Artifacts": "Artefactes", + "Ask a question": "Fer una pregunta", "Attach file": "Adjuntar arxiu", "Attention to detail": "Atenció al detall", "Audio": "Àudio", @@ -382,9 +382,9 @@ "Knowledge": "Coneixement", "Knowledge created successfully.": "Coneixement creat correctament.", "Knowledge deleted successfully.": "Coneixement eliminat correctament.", - "Knowledge reset successfully.": "", + "Knowledge reset successfully.": "Coneixement restablert correctament.", "Knowledge updated successfully": "Coneixement actualitzat correctament.", - "Landing Page Mode": "", + "Landing Page Mode": "Mode de la pàgina d'entrada", "Language": "Idioma", "large language models, locally.": "models de llenguatge extensos, localment", "Last Active": "Activitat recent", @@ -451,7 +451,7 @@ "New Password": "Nova contrasenya", "No content to speak": "No hi ha contingut per parlar", "No file selected": "No s'ha escollit cap fitxer", - "No HTML, CSS, or JavaScript content found.": "", + "No HTML, CSS, or JavaScript content found.": "No s'ha trobat contingut HTML, CSS o JavaScript.", "No knowledge found": "No s'ha trobat Coneixement", "No results found": "No s'han trobat resultats", "No search query generated": "No s'ha generat cap consulta", @@ -483,7 +483,7 @@ "Oops! There was an error in the previous response. Please try again or contact admin.": "Ui! Hi ha hagut un error en la resposta anterior. Torna a provar-ho o contacta amb un administrador", "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "Ui! Estàs utilitzant un mètode no suportat (només frontend). Si us plau, serveix la WebUI des del backend.", "Open file": "Obrir arxiu", - "Open in full screen": "", + "Open in full screen": "Obrir en pantalla complerta", "Open new chat": "Obre un xat nou", "Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})": "La versió d'Open WebUI (v{{OPEN_WEBUI_VERSION}}) és inferior a la versió requerida (v{{REQUIRED_VERSION}})", "OpenAI": "OpenAI", @@ -514,7 +514,7 @@ "Plain text (.txt)": "Text pla (.txt)", "Playground": "Zona de jocs", "Please carefully review the following warnings:": "Si us plau, revisa els següents avisos amb cura:", - "Please fill in all fields.": "", + "Please fill in all fields.": "Emplena tots els camps, si us plau.", "Please select a reason": "Si us plau, selecciona una raó", "Positive attitude": "Actitud positiva", "Previous 30 days": "30 dies anteriors", @@ -561,7 +561,7 @@ "Save & Update": "Desar i actualitzar", "Save As Copy": "Desar com a còpia", "Save Tag": "Desar l'etiqueta", - "Saved": "", + "Saved": "Desat", "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Desar els registres de xat directament a l'emmagatzematge del teu navegador ja no està suportat. Si us plau, descarregr i elimina els registres de xat fent clic al botó de sota. No et preocupis, pots tornar a importar fàcilment els teus registres de xat al backend a través de", "Scroll to bottom when switching between branches": "Desplaçar a la part inferior quan es canviï de branca", "Search": "Cercar", @@ -634,11 +634,11 @@ "Show your support!": "Mostra el teu suport!", "Showcased creativity": "Creativitat mostrada", "Sign in": "Iniciar sessió", - "Sign in to {{WEBUI_NAME}}": "", + "Sign in to {{WEBUI_NAME}}": "Iniciar sessió a {{WEBUI_NAME}}", "Sign Out": "Tancar sessió", "Sign up": "Registrar-se", - "Sign up to {{WEBUI_NAME}}": "", - "Signing in to {{WEBUI_NAME}}": "", + "Sign up to {{WEBUI_NAME}}": "Registrar-se a {{WEBUI_NAME}}", + "Signing in to {{WEBUI_NAME}}": "Iniciant sessió a {{WEBUI_NAME}}", "Source": "Font", "Speech Playback Speed": "Velocitat de la parla", "Speech recognition error: {{error}}": "Error de reconeixement de veu: {{error}}", @@ -654,7 +654,7 @@ "Suggested": "Suggerit", "Support": "Dona suport", "Support this plugin:": "Dona suport a aquest complement:", - "Sync directory": "", + "Sync directory": "Sincronitzar directori", "System": "Sistema", "System Prompt": "Indicació del Sistema", "Tags": "Etiquetes", @@ -677,9 +677,9 @@ "This action cannot be undone. Do you wish to continue?": "Aquesta acció no es pot desfer. Vols continuar?", "This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "Això assegura que les teves converses valuoses queden desades de manera segura a la teva base de dades. Gràcies!", "This is an experimental feature, it may not function as expected and is subject to change at any time.": "Aquesta és una funció experimental, és possible que no funcioni com s'espera i està subjecta a canvis en qualsevol moment.", - "This option will delete all existing files in the collection and replace them with newly uploaded files.": "", + "This option will delete all existing files in the collection and replace them with newly uploaded files.": "Aquesta opció eliminarà tots els fitxers existents de la col·lecció i els substituirà per fitxers recentment penjats.", "This will delete": "Això eliminarà", - "This will reset the knowledge base and sync all files. Do you wish to continue?": "", + "This will reset the knowledge base and sync all files. Do you wish to continue?": "Això restablirà la base de coneixement i sincronitzarà tots els fitxers. Vols continuar?", "Thorough explanation": "Explicació en detall", "Tika": "Tika", "Tika Server URL required.": "La URL del servidor Tika és obligatòria.", @@ -730,7 +730,7 @@ "Updated at": "Actualitzat", "Upload": "Pujar", "Upload a GGUF model": "Pujar un model GGUF", - "Upload directory": "", + "Upload directory": "Pujar directori", "Upload files": "Pujar fitxers", "Upload Files": "Pujar fitxers", "Upload Pipeline": "Pujar una Pipeline", @@ -754,7 +754,7 @@ "variable": "variable", "variable to have them replaced with clipboard content.": "variable per tenir-les reemplaçades amb el contingut del porta-retalls.", "Version": "Versió", - "Version {{selectedVersion}} of {{totalVersions}}": "", + "Version {{selectedVersion}} of {{totalVersions}}": "Versió {{selectedVersion}} de {{totalVersions}}", "Voice": "Veu", "Warning": "Avís", "Warning:": "Avís:", From 4eb47716e2e1b1c2cb0c00bae84616bc005557a2 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Tue, 8 Oct 2024 01:51:50 +0800 Subject: [PATCH 02/69] i18n: Update and improve zh-TW Traditional Chinese translation --- src/lib/i18n/locales/zh-TW/translation.json | 240 ++++++++++---------- 1 file changed, 120 insertions(+), 120 deletions(-) diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 908b255fa6..46f53edff7 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -8,14 +8,14 @@ "{{ owner }}: You cannot delete a base model": "{{ owner }}:您無法刪除基礎模型", "{{user}}'s Chats": "{{user}} 的對話", "{{webUIName}} Backend Required": "需要 {{webUIName}} 後端", - "*Prompt node ID(s) are required for image generation": "", - "A new version (v{{LATEST_VERSION}}) is now available.": "", + "*Prompt node ID(s) are required for image generation": "* 圖片生成需要提示詞節點 ID", + "A new version (v{{LATEST_VERSION}}) is now available.": "新版本 (v{{LATEST_VERSION}}) 現已推出。", "A task model is used when performing tasks such as generating titles for chats and web search queries": "執行產生對話標題和網頁搜尋查詢等任務時會使用任務模型", "a user": "一位使用者", "About": "關於", "Account": "帳號", "Account Activation Pending": "帳號待啟用", - "Accurate information": "正確資訊", + "Accurate information": "準確資訊", "Actions": "動作", "Active Users": "活躍使用者", "Add": "新增", @@ -23,8 +23,8 @@ "Add a short description about what this model does": "新增這個模型的簡短描述", "Add a short title for this prompt": "為這個提示詞新增一個簡短的標題", "Add a tag": "新增標籤", - "Add Content": "", - "Add content here": "", + "Add Content": "新增內容", + "Add content here": "在此新增內容", "Add custom prompt": "新增自訂提示詞", "Add Docs": "新增文件", "Add Files": "新增檔案", @@ -33,14 +33,14 @@ "Add Model": "新增模型", "Add Tag": "新增標籤", "Add Tags": "新增標籤", - "Add text content": "", + "Add text content": "新增文字內容", "Add User": "新增使用者", - "Adjusting these settings will apply changes universally to all users.": "調整這些設定將會全面套用到所有使用者。", + "Adjusting these settings will apply changes universally to all users.": "調整這些設定將會影響所有使用者。", "admin": "管理員", "Admin": "管理員", "Admin Panel": "管理員控制台", "Admin Settings": "管理員設定", - "Admins have access to all tools at all times; users need tools assigned per model in the workspace.": "管理員可以隨時使用所有工具;使用者需要在工作區中為每個模型分配工具。", + "Admins have access to all tools at all times; users need tools assigned per model in the workspace.": "管理員可以隨時使用所有工具;使用者則需在工作區中為每個模型分配工具。", "Advanced Parameters": "進階參數", "Advanced Params": "進階參數", "all": "全部", @@ -48,9 +48,9 @@ "All Users": "所有使用者", "Allow": "允許", "Allow Chat Deletion": "允許刪除對話紀錄", - "Allow Chat Editing": "", + "Allow Chat Editing": "允許編輯對話", "Allow non-local voices": "允許非本機語音", - "Allow Temporary Chat": "", + "Allow Temporary Chat": "允許暫時對話", "Allow User Location": "允許使用者位置", "Allow Voice Interruption in Call": "允許在通話中打斷語音", "alphanumeric characters and hyphens": "英文字母、數字和連字號", @@ -66,23 +66,23 @@ "Archive": "封存", "Archive All Chats": "封存所有對話紀錄", "Archived Chats": "封存的對話紀錄", - "are allowed - Activate this command by typing": "已允許 - 輸入此命令來啟用", + "are allowed - Activate this command by typing": "已允許 - 輸入此命令以啟用", "Are you sure?": "您確定嗎?", - "Artifacts": "", - "Ask a question": "", + "Artifacts": "成品", + "Ask a question": "提出問題", "Attach file": "附加檔案", "Attention to detail": "注重細節", "Audio": "音訊", "August": "8 月", "Auto-playback response": "自動播放回應", - "Automatic1111": "", + "Automatic1111": "Automatic1111", "AUTOMATIC1111 Api Auth String": "AUTOMATIC1111 API 驗證字串", "AUTOMATIC1111 Base URL": "AUTOMATIC1111 基礎 URL", "AUTOMATIC1111 Base URL is required.": "需要 AUTOMATIC1111 基礎 URL。", - "Available list": "", + "Available list": "可用清單", "available!": "可用!", - "Azure AI Speech": "", - "Azure Region": "", + "Azure AI Speech": "Azure AI 語音", + "Azure Region": "Azure 區域", "Back": "返回", "Bad Response": "錯誤回應", "Banners": "橫幅", @@ -103,7 +103,7 @@ "Chat Bubble UI": "對話氣泡介面", "Chat Controls": "對話控制項", "Chat direction": "對話方向", - "Chat Overview": "", + "Chat Overview": "對話概覽", "Chats": "對話", "Check Again": "再次檢查", "Check for updates": "檢查更新", @@ -121,36 +121,36 @@ "Click here to select a csv file.": "點選這裡選擇 CSV 檔案。", "Click here to select a py file.": "點選這裡選擇 Python 檔案。", "Click here to select documents.": "點選這裡選擇文件。", - "Click here to upload a workflow.json file.": "", + "Click here to upload a workflow.json file.": "點選這裡上傳 workflow.json 檔案。", "click here.": "點選這裡。", - "Click on the user role button to change a user's role.": "點選使用者角色按鈕以變更使用者的角色。", - "Clipboard write permission denied. Please check your browser settings to grant the necessary access.": "剪貼簿寫入權限遭拒。請檢查您的瀏覽器設定,以授予必要的存取權限。", + "Click on the user role button to change a user's role.": "點選使用者角色按鈕變更使用者的角色。", + "Clipboard write permission denied. Please check your browser settings to grant the necessary access.": "剪貼簿寫入權限遭拒。請檢查您的瀏覽器設定,授予必要的存取權限。", "Clone": "複製", "Close": "關閉", - "Code formatted successfully": "成功格式化程式碼", + "Code formatted successfully": "程式碼格式化成功", "Collection": "收藏", "ComfyUI": "ComfyUI", "ComfyUI Base URL": "ComfyUI 基礎 URL", "ComfyUI Base URL is required.": "需要 ComfyUI 基礎 URL。", - "ComfyUI Workflow": "", - "ComfyUI Workflow Nodes": "", + "ComfyUI Workflow": "ComfyUI 工作流程", + "ComfyUI Workflow Nodes": "ComfyUI 工作流程節點", "Command": "命令", "Concurrent Requests": "平行請求", "Confirm": "確認", "Confirm Password": "確認密碼", - "Confirm your action": "確認您的動作", + "Confirm your action": "確認您的操作", "Connections": "連線", "Contact Admin for WebUI Access": "請聯絡管理員以取得 WebUI 存取權限", "Content": "內容", - "Content Extraction": "內容提取", + "Content Extraction": "內容擷取", "Context Length": "上下文長度", "Continue Response": "繼續回應", "Continue with {{provider}}": "使用 {{provider}} 繼續", - "Control how message text is split for TTS requests. 'Punctuation' splits into sentences, 'paragraphs' splits into paragraphs, and 'none' keeps the message as a single string.": "", + "Control how message text is split for TTS requests. 'Punctuation' splits into sentences, 'paragraphs' splits into paragraphs, and 'none' keeps the message as a single string.": "控制文字轉語音(TTS)請求中如何分割訊息文字。「標點符號」分割為句子,「段落」分割為段落,「無」則保持訊息為單一字串。", "Controls": "控制項", - "Copied": "", + "Copied": "已複製", "Copied shared chat URL to clipboard!": "已複製共用對話 URL 到剪貼簿!", - "Copied to clipboard": "", + "Copied to clipboard": "已複製到剪貼簿", "Copy": "複製", "Copy last code block": "複製最後一個程式碼區塊", "Copy last response": "複製最後一個回應", @@ -158,7 +158,7 @@ "Copying to clipboard was successful!": "成功複製到剪貼簿!", "Create a model": "建立模型", "Create Account": "建立帳號", - "Create Knowledge": "", + "Create Knowledge": "建立知識" "Create new key": "建立新的金鑰", "Create new secret key": "建立新的金鑰", "Created at": "建立於", @@ -174,8 +174,8 @@ "Database": "資料庫", "December": "12 月", "Default": "預設", - "Default (Open AI)": "", - "Default (SentenceTransformers)": "預設(SentenceTransformers)", + "Default (Open AI)": "預設 (OpenAI)", + "Default (SentenceTransformers)": "預設 (SentenceTransformers)", "Default Model": "預設模型", "Default model updated": "預設模型已更新", "Default Prompt Suggestions": "預設提示詞建議", @@ -237,18 +237,18 @@ "Embedding Model Engine": "嵌入模型引擎", "Embedding model set to \"{{embedding_model}}\"": "嵌入模型已設定為 \"{{embedding_model}}\"", "Enable Community Sharing": "啟用社群分享", - "Enable Message Rating": "", + "Enable Message Rating": "啟用訊息評分", "Enable New Sign Ups": "允許新使用者註冊", "Enable Web Search": "啟用網頁搜尋", - "Enable Web Search Query Generation": "", + "Enable Web Search Query Generation": "啟用網頁搜尋查詢生成", "Enabled": "已啟用", "Engine": "引擎", - "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "請確認您的 CSV 檔案包含以下 4 個欄位,並按照此順序排列:名稱、電子郵件、密碼、角色。", + "Ensure your CSV file includes 4 columns in this order: Name, Email, Password, Role.": "請確認您的 CSV 檔案包含以下 4 個欄位,並按照此順序排列:姓名、電子郵件、密碼、角色。", "Enter {{role}} message here": "在此輸入 {{role}} 訊息", "Enter a detail about yourself for your LLMs to recall": "輸入有關您的詳細資訊,讓您的大型語言模型可以回想起來", "Enter api auth string (e.g. username:password)": "輸入 API 驗證字串(例如:username:password)", "Enter Brave Search API Key": "輸入 Brave 搜尋 API 金鑰", - "Enter CFG Scale (e.g. 7.0)": "", + "Enter CFG Scale (e.g. 7.0)": "輸入 CFG 比例(例如:7.0)", "Enter Chunk Overlap": "輸入區塊重疊", "Enter Chunk Size": "輸入區塊大小", "Enter Github Raw URL": "輸入 GitHub Raw URL", @@ -256,14 +256,14 @@ "Enter Google PSE Engine Id": "輸入 Google PSE 引擎 ID", "Enter Image Size (e.g. 512x512)": "輸入圖片大小(例如:512x512)", "Enter language codes": "輸入語言代碼", - "Enter Model ID": "", + "Enter Model ID": "輸入模型 ID", "Enter model tag (e.g. {{modelTag}})": "輸入模型標籤(例如:{{modelTag}})", "Enter Number of Steps (e.g. 50)": "輸入步驟數(例如:50)", - "Enter Sampler (e.g. Euler a)": "", - "Enter Scheduler (e.g. Karras)": "", + "Enter Sampler (e.g. Euler a)": "輸入取樣器(例如:Euler a)", + "Enter Scheduler (e.g. Karras)": "輸入排程器(例如:Karras)", "Enter Score": "輸入分數", - "Enter SearchApi API Key": "", - "Enter SearchApi Engine": "", + "Enter SearchApi API Key": "輸入 SearchApi API 金鑰", + "Enter SearchApi Engine": "輸入 SearchApi 引擎", "Enter Searxng Query URL": "輸入 SearXNG 查詢 URL", "Enter Serper API Key": "輸入 Serper API 金鑰", "Enter Serply API Key": "輸入 Serply API 金鑰", @@ -286,7 +286,7 @@ "Export All Chats (All Users)": "匯出所有對話紀錄(所有使用者)", "Export chat (.json)": "匯出對話紀錄(.json)", "Export Chats": "匯出對話紀錄", - "Export Config to JSON File": "", + "Export Config to JSON File": "將設定匯出為 JSON 檔案", "Export Documents Mapping": "匯出文件對應", "Export Functions": "匯出函式", "Export LiteLLM config.yaml": "匯出 LiteLLM config.yaml", @@ -294,20 +294,20 @@ "Export Prompts": "匯出提示詞", "Export Tools": "匯出工具", "External Models": "外部模型", - "Failed to add file.": "", + "Failed to add file.": "無法新增檔案。", "Failed to create API Key.": "無法建立 API 金鑰。", "Failed to read clipboard contents": "無法讀取剪貼簿內容", "Failed to update settings": "無法更新設定", - "Failed to upload file.": "", + "Failed to upload file.": "無法上傳檔案。", "February": "2 月", "Feel free to add specific details": "歡迎自由新增特定細節", "File": "檔案", - "File added successfully.": "", - "File content updated successfully.": "", + "File added successfully.": "檔案新增成功。", + "File content updated successfully.": "檔案內容更新成功。", "File Mode": "檔案模式", "File not found.": "找不到檔案。", - "File removed successfully.": "", - "File size should not exceed {{maxSize}} MB.": "", + "File removed successfully.": "成功移除檔案。", + "File size should not exceed {{maxSize}} MB.": "檔案大小不應超過 {{maxSize}} MB。", "Files": "檔案", "Filter is now globally disabled": "篩選器現在已全域停用", "Filter is now globally enabled": "篩選器現在已全域啟用", @@ -342,7 +342,7 @@ "Google PSE API Key": "Google PSE API 金鑰", "Google PSE Engine Id": "Google PSE 引擎 ID", "h:mm a": "h:mm a", - "Haptic Feedback": "", + "Haptic Feedback": "觸覺回饋", "has no conversations.": "沒有對話。", "Hello, {{name}}": "您好,{{name}}", "Help": "說明", @@ -356,7 +356,7 @@ "Image Settings": "圖片設定", "Images": "圖片", "Import Chats": "匯入對話紀錄", - "Import Config from JSON File": "", + "Import Config from JSON File": "從 JSON 檔案匯入設定", "Import Documents Mapping": "匯入文件對應", "Import Functions": "匯入函式", "Import Models": "匯入模型", @@ -381,17 +381,17 @@ "Keep Alive": "保持連線", "Keyboard shortcuts": "鍵盤快捷鍵", "Knowledge": "知識", - "Knowledge created successfully.": "", - "Knowledge deleted successfully.": "", - "Knowledge reset successfully.": "", - "Knowledge updated successfully": "", - "Landing Page Mode": "", + "Knowledge created successfully.": "知識建立成功。", + "Knowledge deleted successfully.": "知識刪除成功。", + "Knowledge reset successfully.": "知識重設成功。", + "Knowledge updated successfully": "知識更新成功", + "Landing Page Mode": "首頁模式", "Language": "語言", "large language models, locally.": "在本機執行大型語言模型。", "Last Active": "上次活動時間", "Last Modified": "上次修改時間", - "Leave empty for unlimited": "", - "Leave empty to use the default prompt, or enter a custom prompt": "", + "Leave empty for unlimited": "留空表示無限制", + "Leave empty to use the default prompt, or enter a custom prompt": "留空使用預設提示詞,或輸入自訂提示詞", "Light": "淺色", "Listening...": "正在聆聽...", "LLMs can make mistakes. Verify important information.": "大型語言模型可能會出錯。請驗證重要資訊。", @@ -399,15 +399,15 @@ "LTR": "從左到右", "Made by OpenWebUI Community": "由 OpenWebUI 社群製作", "Make sure to enclose them with": "請務必將它們放在", - "Make sure to export a workflow.json file as API format from ComfyUI.": "", + "Make sure to export a workflow.json file as API format from ComfyUI.": "請確保從 ComfyUI 匯出 workflow.json 檔案為 API 格式。", "Manage": "管理", "Manage Models": "管理模型", "Manage Ollama Models": "管理 Ollama 模型", "Manage Pipelines": "管理管線", "March": "3 月", "Max Tokens (num_predict)": "最大 token 數(num_predict)", - "Max Upload Count": "", - "Max Upload Size": "", + "Max Upload Count": "最大上傳數量", + "Max Upload Size": "最大上傳大小", "Maximum of 3 models can be downloaded simultaneously. Please try again later.": "最多可同時下載 3 個模型。請稍後再試。", "May": "5 月", "Memories accessible by LLMs will be shown here.": "可被大型語言模型存取的記憶將顯示在這裡。", @@ -416,7 +416,7 @@ "Memory cleared successfully": "成功清除記憶", "Memory deleted successfully": "成功刪除記憶", "Memory updated successfully": "成功更新記憶", - "Merge Responses": "", + "Merge Responses": "合併回應", "Messages you send after creating your link won't be shared. Users with the URL will be able to view the shared chat.": "建立連結後傳送的訊息不會被分享。擁有網址的使用者將能夠檢視分享的對話內容。", "Min P": "最小 P 值", "Minimum Score": "最低分數", @@ -431,8 +431,8 @@ "Model {{modelId}} not found": "找不到模型 {{modelId}}", "Model {{modelName}} is not vision capable": "模型 {{modelName}} 不具備視覺能力", "Model {{name}} is now {{status}}": "模型 {{name}} 現在狀態為 {{status}}", - "Model {{name}} is now at the top": "", - "Model accepts image inputs": "", + "Model {{name}} is now at the top": "模型 {{name}} 現在位於頂端", + "Model accepts image inputs": "模型接受影像輸入", "Model created successfully!": "成功建立模型!", "Model filesystem path detected. Model shortname is required for update, cannot continue.": "偵測到模型檔案系統路徑。更新需要模型簡稱,因此無法繼續。", "Model ID": "模型 ID", @@ -444,27 +444,27 @@ "Modelfile Content": "模型檔案內容", "Models": "模型", "More": "更多", - "Move to Top": "", + "Move to Top": "移至頂端", "Name": "名稱", "Name Tag": "名稱標籤", "Name your model": "為您的模型命名", "New Chat": "新增對話", - "New Password": "新的密碼", - "No content found": "", + "New Password": "新密碼", + "No content found": "找不到內容", "No content to speak": "沒有要朗讀的內容", "No file selected": "未選取檔案", - "No HTML, CSS, or JavaScript content found.": "", - "No knowledge found": "", + "No HTML, CSS, or JavaScript content found.": "找不到 HTML、CSS 或 JavaScript 內容。", + "No knowledge found": "找不到知識", "No results found": "找不到任何結果", "No search query generated": "未產生搜尋查詢", "No source available": "沒有可用的來源", "No valves to update": "沒有要更新的閥門", "None": "無", - "Not factually correct": "與真實資訊不符", + "Not factually correct": "與事實不符", "Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "注意:如果您設定了最低分數,則搜尋只會回傳分數大於或等於最低分數的文件。", "Notifications": "通知", "November": "11 月", - "num_gpu (Ollama)": "", + "num_gpu (Ollama)": "num_gpu (Ollama)", "num_thread (Ollama)": "num_thread (Ollama)", "OAuth ID": "OAuth ID", "October": "10 月", @@ -479,13 +479,13 @@ "On": "開啟", "Only": "僅限", "Only alphanumeric characters and hyphens are allowed in the command string.": "命令字串中只允許使用英文字母、數字和連字號。", - "Only collections can be edited, create a new knowledge base to edit/add documents.": "", + "Only collections can be edited, create a new knowledge base to edit/add documents.": "只能編輯集合,請建立新的知識以編輯或新增文件。", "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! There was an error in the previous response. Please try again or contact admin.": "哎呀!先前的回應發生錯誤。請重試或聯絡管理員。", "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "哎呀!您使用了不支援的方法(僅限前端)。請從後端提供 WebUI。", - "Open file": "", - "Open in full screen": "", + "Open file": "開啟檔案", + "Open in full screen": "全螢幕開啟", "Open new chat": "開啟新的對話", "Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})": "Open WebUI 版本 (v{{OPEN_WEBUI_VERSION}}) 低於所需版本 (v{{REQUIRED_VERSION}})", "OpenAI": "OpenAI", @@ -495,9 +495,9 @@ "OpenAI URL/Key required.": "需要 OpenAI URL/金鑰。", "or": "或", "Other": "其他", - "Output format": "", - "Overview": "", - "page": "", + "Output format": "輸出格式", + "Overview": "概覽", + "page": "頁面", "Password": "密碼", "PDF document (.pdf)": "PDF 文件 (.pdf)", "PDF Extract Images (OCR)": "PDF 影像擷取(OCR 光學文字辨識)", @@ -516,8 +516,8 @@ "Plain text (.txt)": "純文字 (.txt)", "Playground": "遊樂場", "Please carefully review the following warnings:": "請仔細閱讀以下警告:", - "Please fill in all fields.": "", - "Please select a reason": "", + "Please fill in all fields.": "請填寫所有欄位。", + "Please select a reason": "請選擇原因", "Positive attitude": "積極的態度", "Previous 30 days": "過去 30 天", "Previous 7 days": "過去 7 天", @@ -550,80 +550,80 @@ "Reset Vector Storage": "重設向量儲存空間", "Response AutoCopy to Clipboard": "自動將回應複製到剪貼簿", "Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "無法啟用回應通知,因為網站權限已遭拒。請前往瀏覽器設定以授予必要存取權限。", - "Response splitting": "", + "Response splitting": "回應分割", "Role": "角色", "Rosé Pine": "玫瑰松", "Rosé Pine Dawn": "黎明玫瑰松", "RTL": "從右到左", - "Run": "", + "Run": "執行", "Run Llama 2, Code Llama, and other models. Customize and create your own.": "執行 Llama 2、Code Llama 和其他模型。自訂並建立您自己的模型。", "Running": "運作中", "Save": "儲存", "Save & Create": "儲存並建立", "Save & Update": "儲存並更新", - "Save As Copy": "", + "Save As Copy": "另存為副本", "Save Tag": "儲存標籤", - "Saved": "", - "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "不再支援直接將對話記錄儲存到您的瀏覽器儲存空間。請點選下方按鈕來下載並刪除您的對話記錄。別擔心,您可以透過以下方式輕鬆地將對話記錄重新匯入後端", + "Saved": "已儲存", + "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "不再支援直接將對話紀錄儲存到您的瀏覽器儲存空間。請點選下方按鈕來下載並刪除您的對話紀錄。別擔心,您可以透過以下方式輕鬆地將對話紀錄重新匯入後端", "Scroll to bottom when switching between branches": "切換分支時捲動到底端", "Search": "搜尋", "Search a model": "搜尋模型", "Search Chats": "搜尋對話", - "Search Collection": "", + "Search Collection": "搜尋集合", "Search Documents": "搜尋文件", "Search Functions": "搜尋函式", - "Search Knowledge": "", + "Search Knowledge": "搜尋知識庫", "Search Models": "搜尋模型", "Search Prompts": "搜尋提示詞", "Search Query Generation Prompt": "搜尋查詢生成提示詞", "Search Result Count": "搜尋結果數量", "Search Tools": "搜尋工具", - "SearchApi API Key": "", - "SearchApi Engine": "", + "SearchApi API Key": "SearchApi API 金鑰", + "SearchApi Engine": "SearchApi 引擎", "Searched {{count}} sites_one": "已搜尋 {{count}} 個網站", "Searched {{count}} sites_other": "已搜尋 {{count}} 個網站", "Searching \"{{searchQuery}}\"": "正在搜尋 \"{{searchQuery}}\"", - "Searching Knowledge for \"{{searchQuery}}\"": "", + "Searching Knowledge for \"{{searchQuery}}\"": "正在搜尋知識庫中的 \"{{searchQuery}}\"", "Searxng Query URL": "Searxng 查詢 URL", "See readme.md for instructions": "檢視 readme.md 以取得說明", "See what's new": "查看新功能", - "Seed": "種子", + "Seed": "種子值", "Select a base model": "選擇基礎模型", "Select a engine": "選擇引擎", - "Select a file to view or drag and drop a file to upload": "", + "Select a file to view or drag and drop a file to upload": "選擇檔案以檢視或拖放檔案以上傳", "Select a function": "選擇函式", "Select a model": "選擇模型", "Select a pipeline": "選擇管線", "Select a pipeline url": "選擇管線 URL", "Select a tool": "選擇工具", "Select an Ollama instance": "選擇 Ollama 執行個體", - "Select Engine": "", - "Select Knowledge": "", + "Select Engine": "選擇引擎", + "Select Knowledge": "選擇知識庫", "Select model": "選擇模型", "Select only one model to call": "僅選擇一個模型來呼叫", "Selected model(s) do not support image inputs": "選取的模型不支援圖片輸入", "Send": "傳送", "Send a Message": "傳送訊息", "Send message": "傳送訊息", - "Sends `stream_options: { include_usage: true }` in the request.\nSupported providers will return token usage information in the response when set.": "", + "Sends `stream_options: { include_usage: true }` in the request.\nSupported providers will return token usage information in the response when set.": "在請求中傳送 `stream_options: { include_usage: true }`。\n設定後,支援的提供者將在回應中回傳權杖使用資訊。", "September": "9 月", "Serper API Key": "Serper API 金鑰", "Serply API Key": "Serply API 金鑰", "Serpstack API Key": "Serpstack API 金鑰", "Server connection verified": "伺服器連線已驗證", "Set as default": "設為預設", - "Set CFG Scale": "", + "Set CFG Scale": "設定 CFG 比例", "Set Default Model": "設定預設模型", "Set embedding model (e.g. {{model}})": "設定嵌入模型(例如:{{model}})", "Set Image Size": "設定圖片大小", "Set reranking model (e.g. {{model}})": "設定重新排序模型(例如:{{model}})", - "Set Sampler": "", - "Set Scheduler": "", + "Set Sampler": "設定取樣器", + "Set Scheduler": "設定排程器", "Set Steps": "設定步數", "Set Task Model": "設定任務模型", "Set Voice": "設定語音", "Settings": "設定", - "Settings saved successfully!": "設定已成功儲存", + "Settings saved successfully!": "設定已成功儲存!", "Share": "分享", "Share Chat": "分享對話", "Share to OpenWebUI Community": "分享到 OpenWebUI 社群", @@ -632,20 +632,20 @@ "Show Admin Details in Account Pending Overlay": "在帳號待審覆蓋層中顯示管理員詳細資訊", "Show Model": "顯示模型", "Show shortcuts": "顯示快捷鍵", - "Show your support!": "表示您的支持!", + "Show your support!": "表達您的支持!", "Showcased creativity": "展現創意", "Sign in": "登入", - "Sign in to {{WEBUI_NAME}}": "", + "Sign in to {{WEBUI_NAME}}": "登入 {{WEBUI_NAME}}", "Sign Out": "登出", "Sign up": "註冊", - "Sign up to {{WEBUI_NAME}}": "", - "Signing in to {{WEBUI_NAME}}": "", + "Sign up to {{WEBUI_NAME}}": "註冊 {{WEBUI_NAME}}", + "Signing in to {{WEBUI_NAME}}": "正在登入 {{WEBUI_NAME}}", "Source": "來源", "Speech Playback Speed": "語音播放速度", "Speech recognition error: {{error}}": "語音辨識錯誤:{{error}}", "Speech-to-Text Engine": "語音轉文字 (STT) 引擎", "Stop Sequence": "停止序列", - "Stream Chat Response": "", + "Stream Chat Response": "串流對話回應", "STT Model": "語音轉文字 (STT) 模型", "STT Settings": "語音轉文字 (STT) 設定", "Submit": "提交", @@ -655,7 +655,7 @@ "Suggested": "建議", "Support": "支援", "Support this plugin:": "支持這個外掛:", - "Sync directory": "", + "Sync directory": "同步目錄", "System": "系統", "System Prompt": "系統提示詞", "Tags": "標籤", @@ -664,23 +664,23 @@ "Tell us more:": "告訴我們更多:", "Temperature": "溫度", "Template": "範本", - "Temporary Chat": "", + "Temporary Chat": "臨時對話", "Text Completion": "文字補全", - "Text-to-Speech Engine": "文字轉語音 (TTS) 引擎", + "Text-to-Speech Engine": "文字轉語音引擎", "Tfs Z": "Tfs Z", "Thanks for your feedback!": "感謝您的回饋!", "The developers behind this plugin are passionate volunteers from the community. If you find this plugin helpful, please consider contributing to its development.": "這個外掛背後的開發者是來自社群的熱情志願者。如果您覺得這個外掛很有幫助,請考慮為其開發做出貢獻。", - "The maximum file size in MB. If the file size exceeds this limit, the file will not be uploaded.": "", - "The maximum number of files that can be used at once in chat. If the number of files exceeds this limit, the files will not be uploaded.": "", + "The maximum file size in MB. If the file size exceeds this limit, the file will not be uploaded.": "檔案大小上限(MB)。如果檔案大小超過此限制,檔案將不會被上傳。", + "The maximum number of files that can be used at once in chat. If the number of files exceeds this limit, the files will not be uploaded.": "對話中一次可使用的最大檔案數量。如果檔案數量超過此限制,檔案將不會被上傳。", "The score should be a value between 0.0 (0%) and 1.0 (100%).": "分數應該是介於 0.0(0%)和 1.0(100%)之間的值。", "Theme": "主題", "Thinking...": "正在思考...", "This action cannot be undone. Do you wish to continue?": "此操作無法復原。您確定要繼續進行嗎?", "This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "這確保您寶貴的對話會安全地儲存到您的後端資料庫。謝謝!", - "This is an experimental feature, it may not function as expected and is subject to change at any time.": "這是一個實驗性功能,它有可能無法按預期運作,並且可能會隨時變更。", - "This option will delete all existing files in the collection and replace them with newly uploaded files.": "", + "This is an experimental feature, it may not function as expected and is subject to change at any time.": "這是一個實驗性功能,它可能無法如預期運作,並且可能會隨時變更。", + "This option will delete all existing files in the collection and replace them with newly uploaded files.": "此選項將刪除集合中的所有現有檔案,並用新上傳的檔案取代它們。", "This will delete": "這將會刪除", - "This will reset the knowledge base and sync all files. Do you wish to continue?": "", + "This will reset the knowledge base and sync all files. Do you wish to continue?": "這將重設知識庫並同步所有檔案。您確定要繼續嗎?", "Thorough explanation": "詳細解釋", "Tika": "Tika", "Tika Server URL required.": "需要 Tika 伺服器 URL。", @@ -693,7 +693,7 @@ "To access the available model names for downloading,": "若要存取可供下載的模型名稱,", "To access the GGUF models available for downloading,": "若要存取可供下載的 GGUF 模型,", "To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "若要存取 WebUI,請聯絡管理員。管理員可以從管理面板管理使用者狀態。", - "To attach knowledge base here, add them to the \"Knowledge\" workspace first.": "", + "To attach knowledge base here, add them to the \"Knowledge\" workspace first.": "要在此處附加知識庫,請先將它們新增到「知識」工作區。", "to chat input.": "到對話輸入。", "To select actions here, add them to the \"Functions\" workspace first.": "若要在此選擇動作,請先將它們新增到「函式」工作區。", "To select filters here, add them to the \"Functions\" workspace first.": "若要在此選擇篩選器,請先將它們新增到「函式」工作區。", @@ -726,19 +726,19 @@ "Unpin": "取消釘選", "Update": "更新", "Update and Copy Link": "更新並複製連結", - "Update for the latest features and improvements.": "", + "Update for the latest features and improvements.": "更新以獲得最新功能和改進。", "Update password": "更新密碼", - "Updated": "", + "Updated": "已更新", "Updated at": "更新於", "Upload": "上傳", "Upload a GGUF model": "上傳 GGUF 模型", - "Upload directory": "", - "Upload files": "", + "Upload directory": "上傳目錄", + "Upload files": "上傳檔案", "Upload Files": "上傳檔案", "Upload Pipeline": "上傳管線", "Upload Progress": "上傳進度", "URL Mode": "URL 模式", - "Use '#' in the prompt input to load and include your knowledge.": "", + "Use '#' in the prompt input to load and include your knowledge.": "在提示詞輸入中使用 '#' 來載入並包含您的知識。", "Use '#' in the prompt input to load and select your documents.": "在提示詞輸入中使用 '#' 來載入和選擇您的文件。", "Use Gravatar": "使用 Gravatar", "Use Initials": "使用姓名縮寫", @@ -756,7 +756,7 @@ "variable": "變數", "variable to have them replaced with clipboard content.": "變數,以便將其替換為剪貼簿內容。", "Version": "版本", - "Version {{selectedVersion}} of {{totalVersions}}": "", + "Version {{selectedVersion}} of {{totalVersions}}": "第 {{selectedVersion}} 版,共 {{totalVersions}} 版", "Voice": "語音", "Warning": "警告", "Warning:": "警告:", @@ -768,16 +768,16 @@ "Web Search Engine": "網頁搜尋引擎", "Webhook URL": "Webhook URL", "WebUI Settings": "WebUI 設定", - "WebUI will make requests to": "WebUI 將會對以下網址發出請求", + "WebUI will make requests to": "WebUI 將會向以下位址發出請求", "What’s New in": "新功能", - "Whisper (Local)": "Whisper(本地)", + "Whisper (Local)": "Whisper(本機)", "Widescreen Mode": "寬螢幕模式", "Workspace": "工作區", "Write a prompt suggestion (e.g. Who are you?)": "撰寫提示詞建議(例如:你是誰?)", "Write a summary in 50 words that summarizes [topic or keyword].": "用 50 字寫一篇總結 [主題或關鍵字] 的摘要。", "Yesterday": "昨天", "You": "您", - "You can only chat with a maximum of {{maxCount}} file(s) at a time.": "", + "You can only chat with a maximum of {{maxCount}} file(s) at a time.": "您一次最多只能與 {{maxCount}} 個檔案進行對話。", "You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "您可以透過下方的「管理」按鈕新增記憶,將您與大型語言模型的互動個人化,讓它們更有幫助並更符合您的需求。", "You cannot clone a base model": "您無法複製基礎模型", "You have no archived conversations.": "您沒有已封存的對話。", From 48e7f4755891462e04e60db8c9fb0ea1a573a58c Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 7 Oct 2024 14:03:42 -0700 Subject: [PATCH 03/69] refac --- backend/open_webui/apps/retrieval/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/apps/retrieval/main.py b/backend/open_webui/apps/retrieval/main.py index 52cebeabc4..b3e2ed7c66 100644 --- a/backend/open_webui/apps/retrieval/main.py +++ b/backend/open_webui/apps/retrieval/main.py @@ -645,7 +645,7 @@ def save_docs_to_vector_db( filter={"hash": metadata["hash"]}, ) - if result: + if result is not None: existing_doc_ids = result.ids[0] if existing_doc_ids: log.info(f"Document with hash {metadata['hash']} already exists") @@ -767,7 +767,7 @@ def process_file( collection_name=f"file-{file.id}", filter={"file_id": file.id} ) - if len(result.ids[0]) > 0: + if result is not None and len(result.ids[0]) > 0: docs = [ Document( page_content=result.documents[0][idx], From 958d882ff9793e6b21c5e8c27a9fd4e51b848f69 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 7 Oct 2024 14:04:06 -0700 Subject: [PATCH 04/69] refac: knowledge file handling ui behaviour --- .../chat/Messages/UserMessage.svelte | 2 +- .../workspace/Knowledge/Collection.svelte | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/lib/components/chat/Messages/UserMessage.svelte b/src/lib/components/chat/Messages/UserMessage.svelte index ea55c9b862..2c9859e8d3 100644 --- a/src/lib/components/chat/Messages/UserMessage.svelte +++ b/src/lib/components/chat/Messages/UserMessage.svelte @@ -94,7 +94,7 @@ : (user?.profile_image_url ?? '/user.png')} /> {/if} -
+
{#if !($settings?.chatBubble ?? true)}
diff --git a/src/lib/components/workspace/Knowledge/Collection.svelte b/src/lib/components/workspace/Knowledge/Collection.svelte index 606d4ff584..e178cd80ba 100644 --- a/src/lib/components/workspace/Knowledge/Collection.svelte +++ b/src/lib/components/workspace/Knowledge/Collection.svelte @@ -1,6 +1,7 @@ {#if ['/', '#', '@'].includes(command?.charAt(0))} @@ -103,11 +38,17 @@ {command} on:youtube={(e) => { console.log(e); - uploadYoutubeTranscription(e.detail); + dispatch('upload', { + type: 'youtube', + data: e.detail + }); }} on:url={(e) => { console.log(e); - uploadWeb(e.detail); + dispatch('upload', { + type: 'web', + data: e.detail + }); }} on:select={(e) => { console.log(e); diff --git a/src/lib/components/chat/Placeholder.svelte b/src/lib/components/chat/Placeholder.svelte index e8e84544c3..7b9a0e9ea7 100644 --- a/src/lib/components/chat/Placeholder.svelte +++ b/src/lib/components/chat/Placeholder.svelte @@ -204,6 +204,9 @@ {stopResponse} {createMessagePair} placeholder={$i18n.t('How can I help you today?')} + on:upload={(e) => { + dispatch('upload', e.detail); + }} on:submit={(e) => { dispatch('submit', e.detail); }} diff --git a/src/routes/watch/+page.svelte b/src/routes/watch/+page.svelte new file mode 100644 index 0000000000..78eab5be31 --- /dev/null +++ b/src/routes/watch/+page.svelte @@ -0,0 +1,22 @@ + From 3c5b21661240dd467d25dd8692749a8e7b59884f Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 7 Oct 2024 18:26:03 -0700 Subject: [PATCH 15/69] fix --- src/lib/components/chat/Chat.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 19c71dedbd..6b879c8be2 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -417,7 +417,9 @@ } if ($page.url.searchParams.get('youtube')) { - uploadYoutubeTranscription(`https://www.youtube.com/watch?v=NqxUExCZJ5Y`); + uploadYoutubeTranscription( + `https://www.youtube.com/watch?v=${$page.url.searchParams.get('youtube')}` + ); } if ($page.url.searchParams.get('web-search') === 'true') { From 133ff406d74a8daa860fdeeb796d2abc52c3010a Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 7 Oct 2024 18:33:14 -0700 Subject: [PATCH 16/69] i18n: french update Co-Authored-By: Moguiy <101116631+moblangeois@users.noreply.github.com> --- src/lib/i18n/locales/fr-FR/translation.json | 122 ++++++++++---------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/src/lib/i18n/locales/fr-FR/translation.json b/src/lib/i18n/locales/fr-FR/translation.json index 6393350a9b..a50f1a1465 100644 --- a/src/lib/i18n/locales/fr-FR/translation.json +++ b/src/lib/i18n/locales/fr-FR/translation.json @@ -9,7 +9,7 @@ "{{user}}'s Chats": "Conversations de {{user}}", "{{webUIName}} Backend Required": "Backend {{webUIName}} requis", "*Prompt node ID(s) are required for image generation": "*Les ID de noeud du prompt sont nécessaires pour la génération d’images", - "A new version (v{{LATEST_VERSION}}) is now available.": "", + "A new version (v{{LATEST_VERSION}}) is now available.": "Une nouvelle version (v{{LATEST_VERSION}}) est disponible.", "A task model is used when performing tasks such as generating titles for chats and web search queries": "Un modèle de tâche est utilisé lors de l’exécution de tâches telles que la génération de titres pour les conversations et les requêtes de recherche sur le web.", "a user": "un utilisateur", "About": "À propos", @@ -23,8 +23,8 @@ "Add a short description about what this model does": "Ajoutez une brève description de ce que fait ce modèle.", "Add a short title for this prompt": "Ajoutez un bref titre pour cette prompt.", "Add a tag": "Ajouter une étiquette", - "Add Content": "", - "Add content here": "", + "Add Content": "Ajouter du contenu", + "Add content here": "Ajoutez du contenu ici", "Add custom prompt": "Ajouter une prompt personnalisée", "Add Docs": "Ajouter de la documentation", "Add Files": "Ajouter des fichiers", @@ -33,7 +33,7 @@ "Add Model": "Ajouter un modèle", "Add Tag": "Ajouter une étiquette", "Add Tags": "Ajouter des étiquettes", - "Add text content": "", + "Add text content": "Ajouter du contenu texte", "Add User": "Ajouter un utilisateur", "Adjusting these settings will apply changes universally to all users.": "L'ajustement de ces paramètres appliquera universellement les changements à tous les utilisateurs.", "admin": "administrateur", @@ -68,8 +68,8 @@ "Archived Chats": "Conversations archivées", "are allowed - Activate this command by typing": "sont autorisés - Activer cette commande en tapant", "Are you sure?": "Êtes-vous certain ?", - "Artifacts": "", - "Ask a question": "", + "Artifacts": "Artéfacts", + "Ask a question": "Posez votre question", "Attach file": "Joindre un document", "Attention to detail": "Attention aux détails", "Audio": "Audio", @@ -79,10 +79,10 @@ "AUTOMATIC1111 Api Auth String": "AUTOMATIC1111 Chaîne d'authentification de l'API", "AUTOMATIC1111 Base URL": "URL de base AUTOMATIC1111", "AUTOMATIC1111 Base URL is required.": "L'URL de base {AUTOMATIC1111} est requise.", - "Available list": "", + "Available list": "Liste disponible", "available!": "disponible !", - "Azure AI Speech": "", - "Azure Region": "", + "Azure AI Speech": "Azure AI Speech", + "Azure Region": "Région Azure", "Back": "Retour en arrière", "Bad Response": "Mauvaise réponse", "Banners": "Bannières", @@ -103,7 +103,7 @@ "Chat Bubble UI": "Bulles de chat", "Chat Controls": "Contrôles du chat", "Chat direction": "Direction du chat", - "Chat Overview": "", + "Chat Overview": "Aperçu du chat", "Chats": "Conversations", "Check Again": "Vérifiez à nouveau.", "Check for updates": "Vérifier les mises à jour disponibles", @@ -158,7 +158,7 @@ "Copying to clipboard was successful!": "La copie dans le presse-papiers a réussi !", "Create a model": "Créer un modèle", "Create Account": "Créer un compte", - "Create Knowledge": "", + "Create Knowledge": "Créer une connaissance", "Create new key": "Créer une nouvelle clé", "Create new secret key": "Créer une nouvelle clé secrète", "Created at": "Créé à", @@ -248,7 +248,7 @@ "Enter a detail about yourself for your LLMs to recall": "Saisissez un détail sur vous-même que vos LLMs pourront se rappeler", "Enter api auth string (e.g. username:password)": "Entrez la chaîne d'authentification de l'API (par ex. nom d'utilisateur:mot de passe)", "Enter Brave Search API Key": "Entrez la clé API Brave Search", - "Enter CFG Scale (e.g. 7.0)": "", + "Enter CFG Scale (e.g. 7.0)": "Entrez l'échelle CFG (par ex. 7.0)", "Enter Chunk Overlap": "Entrez le chevauchement des chunks", "Enter Chunk Size": "Entrez la taille des chunks", "Enter Github Raw URL": "Entrez l'URL brute de GitHub", @@ -259,8 +259,8 @@ "Enter Model ID": "Entrez l'ID du modèle", "Enter model tag (e.g. {{modelTag}})": "Entrez l'étiquette du modèle (par ex. {{modelTag}})", "Enter Number of Steps (e.g. 50)": "Entrez le nombre d'étapes (par ex. 50)", - "Enter Sampler (e.g. Euler a)": "", - "Enter Scheduler (e.g. Karras)": "", + "Enter Sampler (e.g. Euler a)": "Entrez le sampler (par ex. Euler a)", + "Enter Scheduler (e.g. Karras)": "Entrez le planificateur (par ex. Karras)", "Enter Score": "Entrez votre score", "Enter SearchApi API Key": "Entrez la clé API SearchApi", "Enter SearchApi Engine": "Entrez le moteur de recherche SearchApi", @@ -297,15 +297,15 @@ "Failed to create API Key.": "Échec de la création de la clé API.", "Failed to read clipboard contents": "Échec de la lecture du contenu du presse-papiers", "Failed to update settings": "Échec de la mise à jour des paramètres", - "Failed to upload file.": "", + "Failed to upload file.": "Échec du téléchargement du fichier.", "February": "Février", "Feel free to add specific details": "N'hésitez pas à ajouter des détails spécifiques", "File": "Fichier", - "File added successfully.": "", - "File content updated successfully.": "", + "File added successfully.": "Fichier ajouté avec succès.", + "File content updated successfully.": "Contenu du fichier mis à jour avec succès.", "File Mode": "Mode fichier", "File not found.": "Fichier introuvable.", - "File removed successfully.": "", + "File removed successfully.": "Fichier supprimé avec succès.", "File size should not exceed {{maxSize}} MB.": "La taille du fichier ne doit pas dépasser {{maxSize}} Mo.", "Files": "Fichiers", "Filter is now globally disabled": "Le filtre est maintenant désactivé globalement", @@ -379,12 +379,12 @@ "JWT Token": "Jeton JWT", "Keep Alive": "Temps de maintien connecté", "Keyboard shortcuts": "Raccourcis clavier", - "Knowledge": "Connaissance", - "Knowledge created successfully.": "", - "Knowledge deleted successfully.": "", - "Knowledge reset successfully.": "", - "Knowledge updated successfully": "", - "Landing Page Mode": "", + "Knowledge": "Connaissances", + "Knowledge created successfully.": "Connaissance créée avec succès.", + "Knowledge deleted successfully.": "Connaissance supprimée avec succès.", + "Knowledge reset successfully.": "Connaissance réinitialisée avec succès.", + "Knowledge updated successfully": "Connaissance mise à jour avec succès", + "Landing Page Mode": "Mode de la page d'accueil", "Language": "Langue", "large language models, locally.": "grand modèle de langage, localement.", "Last Active": "Dernière activité", @@ -430,8 +430,8 @@ "Model {{modelId}} not found": "Modèle {{modelId}} introuvable", "Model {{modelName}} is not vision capable": "Le modèle {{modelName}} n'a pas de capacités visuelles", "Model {{name}} is now {{status}}": "Le modèle {{name}} est désormais {{status}}.", - "Model {{name}} is now at the top": "", - "Model accepts image inputs": "", + "Model {{name}} is now at the top": "Le modèle {{name}} est désormais en haut", + "Model accepts image inputs": "Le modèle accepte les images en entrée", "Model created successfully!": "Le modèle a été créé avec succès !", "Model filesystem path detected. Model shortname is required for update, cannot continue.": "Chemin du système de fichiers de modèle détecté. Le nom court du modèle est requis pour la mise à jour, l'opération ne peut pas être poursuivie.", "Model ID": "ID du modèle", @@ -443,7 +443,7 @@ "Modelfile Content": "Contenu du Fichier de Modèle", "Models": "Modèles", "More": "Plus de", - "Move to Top": "", + "Move to Top": "Déplacer en haut", "Name": "Nom d'utilisateur", "Name Tag": "Nom de l'étiquette", "Name your model": "Nommez votre modèle", @@ -451,8 +451,8 @@ "New Password": "Nouveau mot de passe", "No content to speak": "Rien à signaler", "No file selected": "Aucun fichier sélectionné", - "No HTML, CSS, or JavaScript content found.": "", - "No knowledge found": "", + "No HTML, CSS, or JavaScript content found.": "Aucun contenu HTML, CSS ou JavaScript trouvé.", + "No knowledge found": "Aucune connaissance trouvée", "No results found": "Aucun résultat trouvé", "No search query generated": "Aucune requête de recherche générée", "No source available": "Aucune source n'est disponible", @@ -477,13 +477,13 @@ "On": "Activé", "Only": "Seulement", "Only alphanumeric characters and hyphens are allowed in the command string.": "Seuls les caractères alphanumériques et les tirets sont autorisés dans la chaîne de commande.", - "Only collections can be edited, create a new knowledge base to edit/add documents.": "", + "Only collections can be edited, create a new knowledge base to edit/add documents.": "Seules les collections peuvent être modifiées, créez une nouvelle base de connaissance pour modifier/ajouter des documents.", "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.": "Oups ! Un instant ! Vos fichiers sont toujours en train d'être traités. Nous les perfectionnons pour vous. Veuillez patienter, nous vous informerons dès qu'ils seront prêts.", "Oops! Looks like the URL is invalid. Please double-check and try again.": "Oups ! Il semble que l'URL soit invalide. Veuillez vérifier à nouveau et réessayer.", "Oops! There was an error in the previous response. Please try again or contact admin.": "Oops ! Il y a eu une erreur dans la réponse précédente. Veuillez réessayer ou contacter l'administrateur.", "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "Oups\u00a0! Vous utilisez une méthode non prise en charge (frontend uniquement). Veuillez servir l'interface Web à partir du backend.", - "Open file": "", - "Open in full screen": "", + "Open file": "Ouvrir le fichier", + "Open in full screen": "Ouvrir en plein écran", "Open new chat": "Ouvrir une nouvelle conversation", "Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})": "La version Open WebUI (v{{OPEN_WEBUI_VERSION}}) est inférieure à la version requise (v{{REQUIRED_VERSION}})", "OpenAI": "OpenAI", @@ -493,9 +493,9 @@ "OpenAI URL/Key required.": "URL/Clé OpenAI requise.", "or": "ou", "Other": "Autre", - "Output format": "", - "Overview": "", - "page": "", + "Output format": "Format de sortie", + "Overview": "Aperçu", + "page": "page", "Password": "Mot de passe", "PDF document (.pdf)": "Document au format PDF (.pdf)", "PDF Extract Images (OCR)": "Extraction d'images PDF (OCR)", @@ -514,8 +514,8 @@ "Plain text (.txt)": "Texte simple (.txt)", "Playground": "Playground", "Please carefully review the following warnings:": "Veuillez lire attentivement les avertissements suivants :", - "Please fill in all fields.": "", - "Please select a reason": "", + "Please fill in all fields.": "Veuillez remplir tous les champs.", + "Please select a reason": "Veuillez sélectionner une raison", "Positive attitude": "Attitude positive", "Previous 30 days": "30 derniers jours", "Previous 7 days": "7 derniers jours", @@ -559,18 +559,18 @@ "Save": "Enregistrer", "Save & Create": "Enregistrer & Créer", "Save & Update": "Enregistrer & Mettre à jour", - "Save As Copy": "", + "Save As Copy": "Enregistrer comme copie", "Save Tag": "Enregistrer l'étiquette", - "Saved": "", + "Saved": "Enregistré", "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "La sauvegarde des journaux de conversation directement dans le stockage de votre navigateur n'est plus prise en charge. Veuillez prendre un instant pour télécharger et supprimer vos journaux de conversation en cliquant sur le bouton ci-dessous. Ne vous inquiétez pas, vous pouvez facilement réimporter vos journaux de conversation dans le backend via", "Scroll to bottom when switching between branches": "Défiler vers le bas lors du passage d'une branche à l'autre", "Search": "Recherche", "Search a model": "Rechercher un modèle", "Search Chats": "Rechercher des conversations", - "Search Collection": "", + "Search Collection": "Rechercher une collection", "Search Documents": "Rechercher des documents", "Search Functions": "Rechercher des fonctions", - "Search Knowledge": "", + "Search Knowledge": "Rechercher des connaissances", "Search Models": "Rechercher des modèles", "Search Prompts": "Rechercher des prompts", "Search Query Generation Prompt": "Génération d'interrogation de recherche", @@ -596,10 +596,10 @@ "Select a tool": "Sélectionnez un outil", "Select an Ollama instance": "Sélectionnez une instance Ollama", "Select Engine": "Sélectionnez le moteur", - "Select Knowledge": "", + "Select Knowledge": "Sélectionnez une connaissance", "Select model": "Sélectionnez un modèle", "Select only one model to call": "Sélectionnez seulement un modèle pour appeler", - "Select/Add Files": "", + "Select/Add Files": "Sélectionner/Ajouter des fichiers", "Selected model(s) do not support image inputs": "Les modèle(s) sélectionné(s) ne prennent pas en charge les entrées d'images", "Send": "Envoyer", "Send a Message": "Envoyer un message", @@ -611,13 +611,13 @@ "Serpstack API Key": "Clé API Serpstack", "Server connection verified": "Connexion au serveur vérifiée", "Set as default": "Définir comme valeur par défaut", - "Set CFG Scale": "", + "Set CFG Scale": "Définir la CFG", "Set Default Model": "Définir le modèle par défaut", "Set embedding model (e.g. {{model}})": "Définir le modèle d'embedding (par ex. {{model}})", "Set Image Size": "Définir la taille de l'image", "Set reranking model (e.g. {{model}})": "Définir le modèle de ré-ranking (par ex. {{model}})", - "Set Sampler": "", - "Set Scheduler": "", + "Set Sampler": "Définir le sampler", + "Set Scheduler": "Définir le planificateur", "Set Steps": "Définir le nombre d'étapes", "Set Task Model": "Définir le modèle de tâche", "Set Voice": "Choisir la voix", @@ -634,17 +634,17 @@ "Show your support!": "Montre ton soutien !", "Showcased creativity": "Créativité mise en avant", "Sign in": "S'identifier", - "Sign in to {{WEBUI_NAME}}": "", + "Sign in to {{WEBUI_NAME}}": "Connectez-vous à {{WEBUI_NAME}}", "Sign Out": "Déconnexion", "Sign up": "Inscrivez-vous", - "Sign up to {{WEBUI_NAME}}": "", - "Signing in to {{WEBUI_NAME}}": "", + "Sign up to {{WEBUI_NAME}}": "Inscrivez-vous à {{WEBUI_NAME}}", + "Signing in to {{WEBUI_NAME}}": "Connexion à {{WEBUI_NAME}}", "Source": "Source", - "Speech Playback Speed": "", + "Speech Playback Speed": "Vitesse de lecture de la parole", "Speech recognition error: {{error}}": "Erreur de reconnaissance vocale\u00a0: {{error}}", "Speech-to-Text Engine": "Moteur de reconnaissance vocale", "Stop Sequence": "Séquence d'arrêt", - "Stream Chat Response": "", + "Stream Chat Response": "Streamer la réponse de la conversation", "STT Model": "Modèle de Speech-to-Text", "STT Settings": "Paramètres de Speech-to-Text", "Submit": "Soumettre", @@ -654,7 +654,7 @@ "Suggested": "Sugéré", "Support": "Supporter", "Support this plugin:": "Supporter ce module", - "Sync directory": "", + "Sync directory": "Synchroniser le répertoire", "System": "Système", "System Prompt": "Prompt du système", "Tags": "Étiquettes", @@ -677,9 +677,9 @@ "This action cannot be undone. Do you wish to continue?": "Cette action ne peut pas être annulée. Souhaitez-vous continuer ?", "This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "Cela garantit que vos conversations précieuses soient sauvegardées en toute sécurité dans votre base de données backend. Merci !", "This is an experimental feature, it may not function as expected and is subject to change at any time.": "Il s'agit d'une fonctionnalité expérimentale, elle peut ne pas fonctionner comme prévu et est sujette à modification à tout moment.", - "This option will delete all existing files in the collection and replace them with newly uploaded files.": "", + "This option will delete all existing files in the collection and replace them with newly uploaded files.": "Cette option supprimera tous les fichiers existants dans la collection et les remplacera par les fichiers nouvellement téléchargés.", "This will delete": "Cela supprimera", - "This will reset the knowledge base and sync all files. Do you wish to continue?": "", + "This will reset the knowledge base and sync all files. Do you wish to continue?": "Cela réinitialisera la base de connaissances et synchronisera tous les fichiers. Souhaitez-vous continuer ?", "Thorough explanation": "Explication approfondie", "Tika": "Tika", "Tika Server URL required.": "URL du serveur Tika requise.", @@ -692,7 +692,7 @@ "To access the available model names for downloading,": "Pour accéder aux noms des modèles disponibles,", "To access the GGUF models available for downloading,": "Pour accéder aux modèles GGUF disponibles,", "To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.": "Pour accéder à l'interface Web, veuillez contacter l'administrateur. Les administrateurs peuvent gérer les statuts des utilisateurs depuis le panneau d'administration.", - "To attach knowledge base here, add them to the \"Knowledge\" workspace first.": "", + "To attach knowledge base here, add them to the \"Knowledge\" workspace first.": "Pour attacher une base de connaissances ici, ajoutez-les d'abord à l'espace de travail « Connaissances ».", "to chat input.": "Vers la zone de chat.", "To select actions here, add them to the \"Functions\" workspace first.": "Pour sélectionner des actions ici, ajoutez-les d'abord à l'espace de travail « Fonctions ».", "To select filters here, add them to the \"Functions\" workspace first.": "Pour sélectionner des filtres ici, ajoutez-les d'abord à l'espace de travail « Fonctions ». ", @@ -725,18 +725,18 @@ "Unpin": "Désépingler", "Update": "Mise à jour", "Update and Copy Link": "Mettre à jour et copier le lien", - "Update for the latest features and improvements.": "", + "Update for the latest features and improvements.": "Mettez à jour pour bénéficier des dernières fonctionnalités et améliorations.", "Update password": "Mettre à jour le mot de passe", "Updated at": "Mise à jour le", "Upload": "Télécharger", "Upload a GGUF model": "Téléverser un modèle GGUF", - "Upload directory": "", - "Upload files": "", + "Upload directory": "Répertoire de téléchargement", + "Upload files": "Télécharger des fichiers", "Upload Files": "Télécharger des fichiers", "Upload Pipeline": "Pipeline de téléchargement", "Upload Progress": "Progression de l'envoi", "URL Mode": "Mode d'URL", - "Use '#' in the prompt input to load and include your knowledge.": "", + "Use '#' in the prompt input to load and include your knowledge.": "Utilisez '#' dans la zone de saisie du prompt pour charger et inclure vos connaissances.", "Use '#' in the prompt input to load and select your documents.": "Utilisez '#' dans la zone de saisie du prompt pour charger et sélectionner vos documents.", "Use Gravatar": "Utilisez Gravatar", "Use Initials": "Utiliser les initiales", @@ -754,7 +754,7 @@ "variable": "variable", "variable to have them replaced with clipboard content.": "variable pour qu'elles soient remplacées par le contenu du presse-papiers.", "Version": "version:", - "Version {{selectedVersion}} of {{totalVersions}}": "", + "Version {{selectedVersion}} of {{totalVersions}}": "Version {{selectedVersion}} de {{totalVersions}}", "Voice": "Voix", "Warning": "Avertissement !", "Warning:": "Avertissement :", @@ -786,4 +786,4 @@ "Your entire contribution will go directly to the plugin developer; Open WebUI does not take any percentage. However, the chosen funding platform might have its own fees.": "L'intégralité de votre contribution ira directement au développeur du plugin ; Open WebUI ne prend aucun pourcentage. Cependant, la plateforme de financement choisie peut avoir ses propres frais.", "Youtube": "YouTube", "Youtube Loader Settings": "Paramètres de l'outil de téléchargement YouTube" -} +} \ No newline at end of file From 3b88ba88125b64fd2f99aa2b509c39b6312d9d38 Mon Sep 17 00:00:00 2001 From: Karl Lee <61072264+KarlLee830@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:36:39 +0800 Subject: [PATCH 17/69] i18n: Update Chinese translation --- src/lib/i18n/locales/zh-CN/translation.json | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 0bfca57dcc..d4bb8ba4dd 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -68,8 +68,8 @@ "Archived Chats": "已归档对话", "are allowed - Activate this command by typing": "允许 - 通过输入来激活这个命令", "Are you sure?": "是否确定?", - "Artifacts": "", - "Ask a question": "", + "Artifacts": "Artifacts", + "Ask a question": "提问", "Attach file": "添加文件", "Attention to detail": "注重细节", "Audio": "语音", @@ -384,7 +384,7 @@ "Knowledge deleted successfully.": "知识成功删除", "Knowledge reset successfully.": "知识成功重置", "Knowledge updated successfully": "知识成功更新", - "Landing Page Mode": "", + "Landing Page Mode": "默认主页样式", "Language": "语言", "large language models, locally.": "本地大语言模型", "Last Active": "最后在线时间", @@ -451,7 +451,7 @@ "New Password": "新密码", "No content to speak": "没有内容可朗读", "No file selected": "未选中文件", - "No HTML, CSS, or JavaScript content found.": "", + "No HTML, CSS, or JavaScript content found.": "未找到 HTML、CSS 或 JavaScript 内容。", "No knowledge found": "未找到知识", "No results found": "未找到结果", "No search query generated": "未生成搜索查询", @@ -483,7 +483,7 @@ "Oops! There was an error in the previous response. Please try again or contact admin.": "糟糕!之前的回复出现了错误。请重试或联系管理员。", "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "糟糕!你正在使用不被支持的方法(仅前端)。请从后端提供 WebUI 服务。", "Open file": "打开文件", - "Open in full screen": "", + "Open in full screen": "全屏打开", "Open new chat": "打开新对话", "Open WebUI version (v{{OPEN_WEBUI_VERSION}}) is lower than required version (v{{REQUIRED_VERSION}})": "当前 Open WebUI 版本 (v{{OPEN_WEBUI_VERSION}}) 低于所需的版本 (v{{REQUIRED_VERSION}})", "OpenAI": "OpenAI", @@ -561,7 +561,7 @@ "Save & Update": "保存并更新", "Save As Copy": "另存为副本", "Save Tag": "保存标签", - "Saved": "", + "Saved": "已保存", "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "我们不再支持将聊天记录直接保存到浏览器的存储空间。请点击下面的按钮下载并删除您的聊天记录。别担心,您可以轻松地将聊天记录重新导入到后台。", "Scroll to bottom when switching between branches": "在分支间切换时滚动到底部", "Search": "搜索", @@ -632,11 +632,11 @@ "Show your support!": "表达你的支持!", "Showcased creativity": "很有创意", "Sign in": "登录", - "Sign in to {{WEBUI_NAME}}": "", + "Sign in to {{WEBUI_NAME}}": "登录 {{WEBUI_NAME}}", "Sign Out": "登出", "Sign up": "注册", - "Sign up to {{WEBUI_NAME}}": "", - "Signing in to {{WEBUI_NAME}}": "", + "Sign up to {{WEBUI_NAME}}": "注册 {{WEBUI_NAME}}", + "Signing in to {{WEBUI_NAME}}": "正在登录 {{WEBUI_NAME}}", "Source": "来源", "Speech Playback Speed": "语音播放速度", "Speech recognition error: {{error}}": "语音识别错误:{{error}}", @@ -677,7 +677,7 @@ "This is an experimental feature, it may not function as expected and is subject to change at any time.": "这是一个实验功能,可能不会如预期那样工作,而且可能随时发生变化。", "This option will delete all existing files in the collection and replace them with newly uploaded files.": "此选项将会删除文件集中所有文件,并用新上传的文件替换。", "This will delete": "这将删除", - "This will reset the knowledge base and sync all files. Do you wish to continue?": "", + "This will reset the knowledge base and sync all files. Do you wish to continue?": "这将重置知识库并同步所有文件。确认继续吗?", "Thorough explanation": "解释较为详细", "Tika": "Tika", "Tika Server URL required.": "请输入 Tika 服务器地址。", @@ -752,7 +752,7 @@ "variable": "变量", "variable to have them replaced with clipboard content.": "变量将被剪贴板内容替换。", "Version": "版本", - "Version {{selectedVersion}} of {{totalVersions}}": "", + "Version {{selectedVersion}} of {{totalVersions}}": "版本 {{totalVersions}} 中的版本 {{selectedVersion}}", "Voice": "语音", "Warning": "警告", "Warning:": "警告:", From 4d45083b5d09dcf33144aec7cf2bc2aea230a7b2 Mon Sep 17 00:00:00 2001 From: Karl Lee <61072264+KarlLee830@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:39:45 +0800 Subject: [PATCH 18/69] i18n: Update Chinese translation --- src/lib/i18n/locales/zh-CN/translation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index d4bb8ba4dd..889e8d203b 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -752,7 +752,7 @@ "variable": "变量", "variable to have them replaced with clipboard content.": "变量将被剪贴板内容替换。", "Version": "版本", - "Version {{selectedVersion}} of {{totalVersions}}": "版本 {{totalVersions}} 中的版本 {{selectedVersion}}", + "Version {{selectedVersion}} of {{totalVersions}}": "版本 {{selectedVersion}}/{{totalVersions}}", "Voice": "语音", "Warning": "警告", "Warning:": "警告:", From 8c677ff7a1949bed9e434f6de565bd5c30b64ed0 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 7 Oct 2024 22:13:45 -0700 Subject: [PATCH 19/69] chore: i18n --- src/lib/components/workspace/Knowledge.svelte | 3 ++- .../Knowledge/Collection/AddTextContentModal.svelte | 4 ++-- src/lib/i18n/locales/ar-BH/translation.json | 3 ++- src/lib/i18n/locales/bg-BG/translation.json | 3 ++- src/lib/i18n/locales/bn-BD/translation.json | 3 ++- src/lib/i18n/locales/ca-ES/translation.json | 3 ++- src/lib/i18n/locales/ceb-PH/translation.json | 3 ++- src/lib/i18n/locales/de-DE/translation.json | 3 ++- src/lib/i18n/locales/dg-DG/translation.json | 3 ++- src/lib/i18n/locales/en-GB/translation.json | 3 ++- src/lib/i18n/locales/en-US/translation.json | 3 ++- src/lib/i18n/locales/es-ES/translation.json | 3 ++- src/lib/i18n/locales/fa-IR/translation.json | 3 ++- src/lib/i18n/locales/fi-FI/translation.json | 3 ++- src/lib/i18n/locales/fr-CA/translation.json | 3 ++- src/lib/i18n/locales/fr-FR/translation.json | 5 +++-- src/lib/i18n/locales/he-IL/translation.json | 3 ++- src/lib/i18n/locales/hi-IN/translation.json | 3 ++- src/lib/i18n/locales/hr-HR/translation.json | 3 ++- src/lib/i18n/locales/id-ID/translation.json | 3 ++- src/lib/i18n/locales/ie-GA/translation.json | 3 ++- src/lib/i18n/locales/it-IT/translation.json | 3 ++- src/lib/i18n/locales/ja-JP/translation.json | 3 ++- src/lib/i18n/locales/ka-GE/translation.json | 3 ++- src/lib/i18n/locales/ko-KR/translation.json | 3 ++- src/lib/i18n/locales/lt-LT/translation.json | 3 ++- src/lib/i18n/locales/ms-MY/translation.json | 3 ++- src/lib/i18n/locales/nb-NO/translation.json | 3 ++- src/lib/i18n/locales/nl-NL/translation.json | 3 ++- src/lib/i18n/locales/pa-IN/translation.json | 3 ++- src/lib/i18n/locales/pl-PL/translation.json | 3 ++- src/lib/i18n/locales/pt-BR/translation.json | 3 ++- src/lib/i18n/locales/pt-PT/translation.json | 3 ++- src/lib/i18n/locales/ro-RO/translation.json | 3 ++- src/lib/i18n/locales/ru-RU/translation.json | 3 ++- src/lib/i18n/locales/sr-RS/translation.json | 3 ++- src/lib/i18n/locales/sv-SE/translation.json | 3 ++- src/lib/i18n/locales/th-TH/translation.json | 3 ++- src/lib/i18n/locales/tk-TW/translation.json | 3 ++- src/lib/i18n/locales/tr-TR/translation.json | 3 ++- src/lib/i18n/locales/uk-UA/translation.json | 3 ++- src/lib/i18n/locales/vi-VN/translation.json | 3 ++- src/lib/i18n/locales/zh-CN/translation.json | 3 ++- src/lib/i18n/locales/zh-TW/translation.json | 3 ++- 44 files changed, 89 insertions(+), 46 deletions(-) diff --git a/src/lib/components/workspace/Knowledge.svelte b/src/lib/components/workspace/Knowledge.svelte index 1706ba0aa7..6ed4864e84 100644 --- a/src/lib/components/workspace/Knowledge.svelte +++ b/src/lib/components/workspace/Knowledge.svelte @@ -181,7 +181,8 @@ {/if}
- Updated {dayjs(item.updated_at * 1000).fromNow()} + {$i18n.t('Updated')} + {dayjs(item.updated_at * 1000).fromNow()}
diff --git a/src/lib/components/workspace/Knowledge/Collection/AddTextContentModal.svelte b/src/lib/components/workspace/Knowledge/Collection/AddTextContentModal.svelte index 8af334bc27..996447e2ac 100644 --- a/src/lib/components/workspace/Knowledge/Collection/AddTextContentModal.svelte +++ b/src/lib/components/workspace/Knowledge/Collection/AddTextContentModal.svelte @@ -59,7 +59,7 @@
-
Title
+
{$i18n.t('Title')}
-
Content
+
{$i18n.t('Content')}