diff --git a/cptr/frontend/src/lib/components/Settings/Keyboard.svelte b/cptr/frontend/src/lib/components/Settings/Keyboard.svelte index 09dfff4..6aed5ad 100644 --- a/cptr/frontend/src/lib/components/Settings/Keyboard.svelte +++ b/cptr/frontend/src/lib/components/Settings/Keyboard.svelte @@ -2,7 +2,6 @@ import { keybindings, ACTION_IDS, - ACTION_LABELS, DEFAULT_KEYBINDINGS, formatChord, eventToChord, @@ -26,6 +25,22 @@ toggleSidebar: $t('keyboard.toggleSidebar') }); + /** Translated action labels for display. */ + const ACTION_LABELS: Record = $derived({ + newFile: $t('keyboard.action.newFile'), + newTerminal: $t('keyboard.action.newTerminal'), + newChat: $t('keyboard.action.newChat'), + closeTab: $t('keyboard.action.closeTab'), + nextTab: $t('keyboard.action.nextTab'), + prevTab: $t('keyboard.action.prevTab'), + quickOpen: $t('keyboard.action.quickOpen'), + searchAll: $t('keyboard.action.searchAll'), + openSettings: $t('keyboard.action.openSettings'), + toggleSplit: $t('keyboard.action.toggleSplit'), + toggleSidebar: $t('keyboard.action.toggleSidebar'), + voiceMemo: $t('keyboard.action.voiceMemo') + }); + let recordingAction = $state(null); function startRecording(actionId: ActionId) { @@ -130,7 +145,7 @@ {#if conflict} !! {/if} diff --git a/cptr/frontend/src/lib/components/chat/ChatHistory.svelte b/cptr/frontend/src/lib/components/chat/ChatHistory.svelte index 4824db3..9b5f74f 100644 --- a/cptr/frontend/src/lib/components/chat/ChatHistory.svelte +++ b/cptr/frontend/src/lib/components/chat/ChatHistory.svelte @@ -1,5 +1,6 @@ diff --git a/cptr/frontend/src/lib/i18n/locales/de.json b/cptr/frontend/src/lib/i18n/locales/de.json index 7cc3f83..7c89e6c 100644 --- a/cptr/frontend/src/lib/i18n/locales/de.json +++ b/cptr/frontend/src/lib/i18n/locales/de.json @@ -317,16 +317,16 @@ "about.copyright": "Copyright © 2026 Open WebUI Inc. Alle Rechte vorbehalten.", "about.updateAvailable": "v{{version}} verfügbar", "connections.failedToUpdate": "Verbindung konnte nicht aktualisiert werden", - "keyboard.newFile": "Open a new untitled file", - "keyboard.newTerminal": "Open a new terminal session", - "keyboard.newChat": "Start a new AI chat", - "keyboard.closeTab": "Close the active tab", - "keyboard.nextTab": "Switch to the next tab", - "keyboard.prevTab": "Switch to the previous tab", - "keyboard.quickOpen": "Search and open files quickly", - "keyboard.openSettings": "Open the settings panel", - "keyboard.toggleSplit": "Toggle split editor view", - "keyboard.toggleSidebar": "Show or hide the sidebar", + "keyboard.newFile": "Eine neue leere Datei öffnen", + "keyboard.newTerminal": "Eine neue Terminalsitzung öffnen", + "keyboard.newChat": "Einen neuen KI-Chat starten", + "keyboard.closeTab": "Den aktiven Tab schließen", + "keyboard.nextTab": "Zum nächsten Tab wechseln", + "keyboard.prevTab": "Zum vorherigen Tab wechseln", + "keyboard.quickOpen": "Dateien schnell suchen und öffnen", + "keyboard.openSettings": "Einstellungen öffnen", + "keyboard.toggleSplit": "Geteilte Ansicht umschalten", + "keyboard.toggleSidebar": "Seitenleiste ein-/ausblenden", "automations.title": "Automatisierungen", "automations.filter": "Filtern...", "automations.noMatches": "Keine Treffer", @@ -524,5 +524,49 @@ "admin.gateway.apiKey": "API-Schlüssel:", "admin.gateway.headers": "Header:", "admin.messaging": "Nachrichten", - "admin.gateway.tab": "Gateway" + "admin.gateway.tab": "Gateway", + "keyboard.action.newFile": "Neue Datei", + "keyboard.action.newTerminal": "Neues Terminal", + "keyboard.action.newChat": "Neuer Chat", + "keyboard.action.closeTab": "Tab schließen", + "keyboard.action.nextTab": "Nächster Tab", + "keyboard.action.prevTab": "Vorheriger Tab", + "keyboard.action.quickOpen": "Schnell öffnen", + "keyboard.action.searchAll": "Suche", + "keyboard.action.openSettings": "Einstellungen öffnen", + "keyboard.action.toggleSplit": "Teilung umschalten", + "keyboard.action.toggleSidebar": "Seitenleiste umschalten", + "keyboard.action.voiceMemo": "Sprachnotiz", + "keyboard.conflict": "Auch belegt von {{action}}", + "chat.history.justNow": "Gerade eben", + "chat.history.minutesAgo": "vor {{count}}min", + "chat.history.hoursAgo": "vor {{count}}h", + "chat.history.daysAgo": "vor {{count}}T", + "chat.history.title": "Titel", + "chat.history.updated": "Aktualisiert", + "chat.history.delete": "Löschen", + "chat.edit.text": "Text", + "chat.edit.thought": "Gedanke", + "chat.edit.tool": "Werkzeug", + "chat.edit.item": "Element", + "chat.dictate.unsupported": "Spracherkennung wird in diesem Browser nicht unterstützt.", + "chat.fallbackTitle": "Chat", + "admin.gateway.copied": "In die Zwischenablage kopiert", + "admin.gateway.createError": "Schlüssel konnte nicht erstellt werden", + "admin.gateway.createKey": "Schlüssel erstellen", + "admin.gateway.deleteError": "Schlüssel konnte nicht gelöscht werden", + "admin.gateway.description": "Generieren Sie API-Schlüssel, um Open WebUI oder einen OpenAI-kompatiblen Client mit Ihren Arbeitsbereichen zu verbinden.", + "admin.gateway.howToConnect": "Von Open WebUI verbinden", + "admin.gateway.keyCreated": "API-Schlüssel erstellt", + "admin.gateway.keyDeleted": "API-Schlüssel gelöscht", + "admin.gateway.keyNamePlaceholder": "Schlüsselname (z.B. open-webui)", + "admin.gateway.keyWarning": "Dieser Schlüssel wird nur einmal angezeigt. Speichern Sie ihn sicher.", + "admin.gateway.loadError": "API-Schlüssel konnten nicht geladen werden", + "admin.gateway.model": "Antwortmodell", + "admin.gateway.modelDescription": "Gateway-Clients wählen einen Arbeitsbereich; cptr verwendet dieses Modell für die Antwort.", + "admin.gateway.modelFallback": "Arbeitsbereich-/Standardmodell verwenden", + "admin.gateway.modelSaveError": "Gateway-Modell konnte nicht gespeichert werden", + "admin.gateway.newKey": "Neuer API-Schlüssel erstellt. Jetzt kopieren", + "admin.gateway.noKeys": "Noch keine API-Schlüssel", + "admin.gateway.title": "API-Gateway" } diff --git a/cptr/frontend/src/lib/i18n/locales/en.json b/cptr/frontend/src/lib/i18n/locales/en.json index b501692..8e87a66 100644 --- a/cptr/frontend/src/lib/i18n/locales/en.json +++ b/cptr/frontend/src/lib/i18n/locales/en.json @@ -614,6 +614,36 @@ "admin.gateway.copy": "Copy", "admin.gateway.baseUrl": "Base URL:", "admin.gateway.apiKey": "API Key:", - "admin.gateway.headers": "Headers:" + "admin.gateway.headers": "Headers:", + + "keyboard.action.newFile": "New File", + "keyboard.action.newTerminal": "New Terminal", + "keyboard.action.newChat": "New Chat", + "keyboard.action.closeTab": "Close Tab", + "keyboard.action.nextTab": "Next Tab", + "keyboard.action.prevTab": "Previous Tab", + "keyboard.action.quickOpen": "Quick Open", + "keyboard.action.searchAll": "Search", + "keyboard.action.openSettings": "Open Settings", + "keyboard.action.toggleSplit": "Toggle Split", + "keyboard.action.toggleSidebar": "Toggle Sidebar", + "keyboard.action.voiceMemo": "Voice Memo", + "keyboard.conflict": "Also bound to {{action}}", + + "chat.history.justNow": "Just now", + "chat.history.minutesAgo": "{{count}}m ago", + "chat.history.hoursAgo": "{{count}}h ago", + "chat.history.daysAgo": "{{count}}d ago", + "chat.history.title": "Title", + "chat.history.updated": "Updated", + "chat.history.delete": "Delete", + + "chat.edit.text": "Text", + "chat.edit.thought": "Thought", + "chat.edit.tool": "Tool", + "chat.edit.item": "Item", + + "chat.dictate.unsupported": "Speech recognition not supported in this browser.", + "chat.fallbackTitle": "Chat" } diff --git a/cptr/frontend/src/lib/i18n/locales/es.json b/cptr/frontend/src/lib/i18n/locales/es.json index 110b106..47f37f9 100644 --- a/cptr/frontend/src/lib/i18n/locales/es.json +++ b/cptr/frontend/src/lib/i18n/locales/es.json @@ -317,16 +317,16 @@ "about.copyright": "Copyright © 2026 Open WebUI Inc. Todos los derechos reservados.", "about.updateAvailable": "v{{version}} disponible", "connections.failedToUpdate": "Error al actualizar conexión", - "keyboard.newFile": "Open a new untitled file", - "keyboard.newTerminal": "Open a new terminal session", - "keyboard.newChat": "Start a new AI chat", - "keyboard.closeTab": "Close the active tab", - "keyboard.nextTab": "Switch to the next tab", - "keyboard.prevTab": "Switch to the previous tab", - "keyboard.quickOpen": "Search and open files quickly", - "keyboard.openSettings": "Open the settings panel", - "keyboard.toggleSplit": "Toggle split editor view", - "keyboard.toggleSidebar": "Show or hide the sidebar", + "keyboard.newFile": "Abrir un archivo nuevo vacío", + "keyboard.newTerminal": "Abrir una nueva sesión de terminal", + "keyboard.newChat": "Iniciar un nuevo chat de IA", + "keyboard.closeTab": "Cerrar la pestaña activa", + "keyboard.nextTab": "Cambiar a la siguiente pestaña", + "keyboard.prevTab": "Cambiar a la pestaña anterior", + "keyboard.quickOpen": "Buscar y abrir archivos rápidamente", + "keyboard.openSettings": "Abrir el panel de ajustes", + "keyboard.toggleSplit": "Alternar vista dividida del editor", + "keyboard.toggleSidebar": "Mostrar u ocultar la barra lateral", "automations.title": "Automatizaciones", "automations.filter": "Filtrar...", "automations.noMatches": "Sin resultados", @@ -524,5 +524,49 @@ "admin.gateway.apiKey": "Clave API:", "admin.gateway.headers": "Encabezados:", "admin.messaging": "Mensajería", - "admin.gateway.tab": "Gateway" + "admin.gateway.tab": "Gateway", + "keyboard.action.newFile": "Nuevo archivo", + "keyboard.action.newTerminal": "Nueva terminal", + "keyboard.action.newChat": "Nuevo chat", + "keyboard.action.closeTab": "Cerrar pestaña", + "keyboard.action.nextTab": "Siguiente pestaña", + "keyboard.action.prevTab": "Pestaña anterior", + "keyboard.action.quickOpen": "Apertura rápida", + "keyboard.action.searchAll": "Buscar", + "keyboard.action.openSettings": "Abrir ajustes", + "keyboard.action.toggleSplit": "Alternar división", + "keyboard.action.toggleSidebar": "Alternar barra lateral", + "keyboard.action.voiceMemo": "Nota de voz", + "keyboard.conflict": "También asignado a {{action}}", + "chat.history.justNow": "Ahora mismo", + "chat.history.minutesAgo": "hace {{count}}min", + "chat.history.hoursAgo": "hace {{count}}h", + "chat.history.daysAgo": "hace {{count}}d", + "chat.history.title": "Título", + "chat.history.updated": "Actualizado", + "chat.history.delete": "Eliminar", + "chat.edit.text": "Texto", + "chat.edit.thought": "Pensamiento", + "chat.edit.tool": "Herramienta", + "chat.edit.item": "Elemento", + "chat.dictate.unsupported": "El reconocimiento de voz no es compatible con este navegador.", + "chat.fallbackTitle": "Chat", + "admin.gateway.copied": "Copiado al portapapeles", + "admin.gateway.createError": "Error al crear la clave", + "admin.gateway.createKey": "Crear clave", + "admin.gateway.deleteError": "Error al eliminar la clave", + "admin.gateway.description": "Genera claves API para conectar Open WebUI o cualquier cliente compatible con OpenAI a tus espacios de trabajo.", + "admin.gateway.howToConnect": "Conectar desde Open WebUI", + "admin.gateway.keyCreated": "Clave API creada", + "admin.gateway.keyDeleted": "Clave API eliminada", + "admin.gateway.keyNamePlaceholder": "Nombre de la clave (ej. open-webui)", + "admin.gateway.keyWarning": "Esta clave solo se mostrará una vez. Guárdala de forma segura.", + "admin.gateway.loadError": "Error al cargar las claves API", + "admin.gateway.model": "Modelo de respuesta", + "admin.gateway.modelDescription": "Los clientes gateway eligen un espacio de trabajo; cptr usa este modelo para generar la respuesta.", + "admin.gateway.modelFallback": "Usar modelo del espacio de trabajo/predeterminado", + "admin.gateway.modelSaveError": "Error al guardar el modelo gateway", + "admin.gateway.newKey": "Nueva clave API creada. Cópiala ahora", + "admin.gateway.noKeys": "Aún no hay claves API", + "admin.gateway.title": "API Gateway" } diff --git a/cptr/frontend/src/lib/i18n/locales/fr.json b/cptr/frontend/src/lib/i18n/locales/fr.json index af39f5b..121c915 100644 --- a/cptr/frontend/src/lib/i18n/locales/fr.json +++ b/cptr/frontend/src/lib/i18n/locales/fr.json @@ -316,16 +316,16 @@ "about.copyright": "Copyright © 2026 Open WebUI Inc. Tous droits réservés.", "about.updateAvailable": "v{{version}} disponible", "connections.failedToUpdate": "Échec de la mise à jour de la connexion", - "keyboard.newFile": "Open a new untitled file", - "keyboard.newTerminal": "Open a new terminal session", - "keyboard.newChat": "Start a new AI chat", - "keyboard.closeTab": "Close the active tab", - "keyboard.nextTab": "Switch to the next tab", - "keyboard.prevTab": "Switch to the previous tab", - "keyboard.quickOpen": "Search and open files quickly", - "keyboard.openSettings": "Open the settings panel", - "keyboard.toggleSplit": "Toggle split editor view", - "keyboard.toggleSidebar": "Show or hide the sidebar", + "keyboard.newFile": "Ouvrir un nouveau fichier vide", + "keyboard.newTerminal": "Ouvrir une nouvelle session de terminal", + "keyboard.newChat": "Démarrer un nouveau chat IA", + "keyboard.closeTab": "Fermer l'onglet actif", + "keyboard.nextTab": "Passer à l'onglet suivant", + "keyboard.prevTab": "Passer à l'onglet précédent", + "keyboard.quickOpen": "Rechercher et ouvrir des fichiers rapidement", + "keyboard.openSettings": "Ouvrir le panneau des paramètres", + "keyboard.toggleSplit": "Basculer la vue divisée de l'éditeur", + "keyboard.toggleSidebar": "Afficher ou masquer la barre latérale", "automations.title": "Automatisations", "automations.filter": "Filtrer...", "automations.noMatches": "Aucun résultat", @@ -523,5 +523,49 @@ "admin.gateway.apiKey": "Clé API :", "admin.gateway.headers": "En-têtes :", "admin.messaging": "Messagerie", - "admin.gateway.tab": "Passerelle" + "admin.gateway.tab": "Passerelle", + "keyboard.action.newFile": "Nouveau fichier", + "keyboard.action.newTerminal": "Nouveau terminal", + "keyboard.action.newChat": "Nouveau chat", + "keyboard.action.closeTab": "Fermer l'onglet", + "keyboard.action.nextTab": "Onglet suivant", + "keyboard.action.prevTab": "Onglet précédent", + "keyboard.action.quickOpen": "Ouverture rapide", + "keyboard.action.searchAll": "Rechercher", + "keyboard.action.openSettings": "Ouvrir les paramètres", + "keyboard.action.toggleSplit": "Basculer la division", + "keyboard.action.toggleSidebar": "Basculer la barre latérale", + "keyboard.action.voiceMemo": "Note vocale", + "keyboard.conflict": "Également lié à {{action}}", + "chat.history.justNow": "À l'instant", + "chat.history.minutesAgo": "il y a {{count}}min", + "chat.history.hoursAgo": "il y a {{count}}h", + "chat.history.daysAgo": "il y a {{count}}j", + "chat.history.title": "Titre", + "chat.history.updated": "Mis à jour", + "chat.history.delete": "Supprimer", + "chat.edit.text": "Texte", + "chat.edit.thought": "Réflexion", + "chat.edit.tool": "Outil", + "chat.edit.item": "Élément", + "chat.dictate.unsupported": "La reconnaissance vocale n'est pas prise en charge dans ce navigateur.", + "chat.fallbackTitle": "Chat", + "admin.gateway.copied": "Copié dans le presse-papiers", + "admin.gateway.createError": "Échec de la création de la clé", + "admin.gateway.createKey": "Créer une clé", + "admin.gateway.deleteError": "Échec de la suppression de la clé", + "admin.gateway.description": "Générez des clés API pour connecter Open WebUI ou tout client compatible OpenAI à vos espaces de travail.", + "admin.gateway.howToConnect": "Se connecter depuis Open WebUI", + "admin.gateway.keyCreated": "Clé API créée", + "admin.gateway.keyDeleted": "Clé API supprimée", + "admin.gateway.keyNamePlaceholder": "Nom de la clé (ex. open-webui)", + "admin.gateway.keyWarning": "Cette clé ne sera affichée qu'une seule fois. Conservez-la en sécurité.", + "admin.gateway.loadError": "Échec du chargement des clés API", + "admin.gateway.model": "Modèle de réponse", + "admin.gateway.modelDescription": "Les clients passerelle choisissent un espace de travail ; cptr utilise ce modèle pour générer la réponse.", + "admin.gateway.modelFallback": "Utiliser le modèle de l'espace de travail/par défaut", + "admin.gateway.modelSaveError": "Échec de l'enregistrement du modèle passerelle", + "admin.gateway.newKey": "Nouvelle clé API créée. Copiez-la maintenant", + "admin.gateway.noKeys": "Aucune clé API", + "admin.gateway.title": "Passerelle API" } diff --git a/cptr/frontend/src/lib/i18n/locales/ja.json b/cptr/frontend/src/lib/i18n/locales/ja.json index d3de12b..f872477 100644 --- a/cptr/frontend/src/lib/i18n/locales/ja.json +++ b/cptr/frontend/src/lib/i18n/locales/ja.json @@ -317,16 +317,16 @@ "about.copyright": "Copyright © 2026 Open WebUI Inc. All rights reserved.", "about.updateAvailable": "v{{version}} が利用可能", "connections.failedToUpdate": "接続の更新に失敗しました", - "keyboard.newFile": "Open a new untitled file", - "keyboard.newTerminal": "Open a new terminal session", - "keyboard.newChat": "Start a new AI chat", - "keyboard.closeTab": "Close the active tab", - "keyboard.nextTab": "Switch to the next tab", - "keyboard.prevTab": "Switch to the previous tab", - "keyboard.quickOpen": "Search and open files quickly", - "keyboard.openSettings": "Open the settings panel", - "keyboard.toggleSplit": "Toggle split editor view", - "keyboard.toggleSidebar": "Show or hide the sidebar", + "keyboard.newFile": "新しい空のファイルを開く", + "keyboard.newTerminal": "新しいターミナルセッションを開く", + "keyboard.newChat": "新しいAIチャットを開始", + "keyboard.closeTab": "アクティブなタブを閉じる", + "keyboard.nextTab": "次のタブに切り替える", + "keyboard.prevTab": "前のタブに切り替える", + "keyboard.quickOpen": "ファイルをすばやく検索して開く", + "keyboard.openSettings": "設定パネルを開く", + "keyboard.toggleSplit": "エディタの分割表示を切替", + "keyboard.toggleSidebar": "サイドバーの表示/非表示", "automations.title": "自動化", "automations.filter": "フィルター...", "automations.noMatches": "一致なし", @@ -524,5 +524,49 @@ "admin.gateway.apiKey": "APIキー:", "admin.gateway.headers": "ヘッダー:", "admin.messaging": "メッセージング", - "admin.gateway.tab": "ゲートウェイ" + "admin.gateway.tab": "ゲートウェイ", + "keyboard.action.newFile": "新規ファイル", + "keyboard.action.newTerminal": "新規ターミナル", + "keyboard.action.newChat": "新規チャット", + "keyboard.action.closeTab": "タブを閉じる", + "keyboard.action.nextTab": "次のタブ", + "keyboard.action.prevTab": "前のタブ", + "keyboard.action.quickOpen": "クイックオープン", + "keyboard.action.searchAll": "検索", + "keyboard.action.openSettings": "設定を開く", + "keyboard.action.toggleSplit": "分割を切替", + "keyboard.action.toggleSidebar": "サイドバーを切替", + "keyboard.action.voiceMemo": "音声メモ", + "keyboard.conflict": "{{action}}にも割り当て済み", + "chat.history.justNow": "たった今", + "chat.history.minutesAgo": "{{count}}分前", + "chat.history.hoursAgo": "{{count}}時間前", + "chat.history.daysAgo": "{{count}}日前", + "chat.history.title": "タイトル", + "chat.history.updated": "更新日", + "chat.history.delete": "削除", + "chat.edit.text": "テキスト", + "chat.edit.thought": "思考", + "chat.edit.tool": "ツール", + "chat.edit.item": "項目", + "chat.dictate.unsupported": "このブラウザでは音声認識がサポートされていません。", + "chat.fallbackTitle": "チャット", + "admin.gateway.copied": "クリップボードにコピーしました", + "admin.gateway.createError": "キーの作成に失敗しました", + "admin.gateway.createKey": "キーを作成", + "admin.gateway.deleteError": "キーの削除に失敗しました", + "admin.gateway.description": "APIキーを生成して、Open WebUIまたはOpenAI互換クライアントをワークスペースに接続します。", + "admin.gateway.howToConnect": "Open WebUIから接続", + "admin.gateway.keyCreated": "APIキーが作成されました", + "admin.gateway.keyDeleted": "APIキーが削除されました", + "admin.gateway.keyNamePlaceholder": "キー名(例:open-webui)", + "admin.gateway.keyWarning": "このキーは一度だけ表示されます。安全に保管してください。", + "admin.gateway.loadError": "APIキーの読み込みに失敗しました", + "admin.gateway.model": "応答モデル", + "admin.gateway.modelDescription": "ゲートウェイクライアントがワークスペースを選択し、cptrがこのモデルで応答を生成します。", + "admin.gateway.modelFallback": "ワークスペース/デフォルトモデルを使用", + "admin.gateway.modelSaveError": "ゲートウェイモデルの保存に失敗しました", + "admin.gateway.newKey": "新しいAPIキーが作成されました。今すぐコピーしてください", + "admin.gateway.noKeys": "APIキーがまだありません", + "admin.gateway.title": "APIゲートウェイ" } diff --git a/cptr/frontend/src/lib/i18n/locales/ko.json b/cptr/frontend/src/lib/i18n/locales/ko.json index 23c7f38..212145c 100644 --- a/cptr/frontend/src/lib/i18n/locales/ko.json +++ b/cptr/frontend/src/lib/i18n/locales/ko.json @@ -317,16 +317,16 @@ "about.copyright": "Copyright © 2026 Open WebUI Inc. All rights reserved.", "about.updateAvailable": "v{{version}} 사용 가능", "connections.failedToUpdate": "연결 업데이트에 실패했습니다", - "keyboard.newFile": "Open a new untitled file", - "keyboard.newTerminal": "Open a new terminal session", - "keyboard.newChat": "Start a new AI chat", - "keyboard.closeTab": "Close the active tab", - "keyboard.nextTab": "Switch to the next tab", - "keyboard.prevTab": "Switch to the previous tab", - "keyboard.quickOpen": "Search and open files quickly", - "keyboard.openSettings": "Open the settings panel", - "keyboard.toggleSplit": "Toggle split editor view", - "keyboard.toggleSidebar": "Show or hide the sidebar", + "keyboard.newFile": "새 빈 파일 열기", + "keyboard.newTerminal": "새 터미널 세션 열기", + "keyboard.newChat": "새 AI 채팅 시작", + "keyboard.closeTab": "활성 탭 닫기", + "keyboard.nextTab": "다음 탭으로 전환", + "keyboard.prevTab": "이전 탭으로 전환", + "keyboard.quickOpen": "파일을 빠르게 검색하고 열기", + "keyboard.openSettings": "설정 패널 열기", + "keyboard.toggleSplit": "편집기 분할 보기 전환", + "keyboard.toggleSidebar": "사이드바 표시/숨기기", "automations.title": "자동화", "automations.filter": "필터...", "automations.noMatches": "일치 항목 없음", @@ -524,5 +524,49 @@ "admin.gateway.apiKey": "API 키:", "admin.gateway.headers": "헤더:", "admin.messaging": "메시징", - "admin.gateway.tab": "게이트웨이" + "admin.gateway.tab": "게이트웨이", + "keyboard.action.newFile": "새 파일", + "keyboard.action.newTerminal": "새 터미널", + "keyboard.action.newChat": "새 채팅", + "keyboard.action.closeTab": "탭 닫기", + "keyboard.action.nextTab": "다음 탭", + "keyboard.action.prevTab": "이전 탭", + "keyboard.action.quickOpen": "빠른 열기", + "keyboard.action.searchAll": "검색", + "keyboard.action.openSettings": "설정 열기", + "keyboard.action.toggleSplit": "분할 전환", + "keyboard.action.toggleSidebar": "사이드바 전환", + "keyboard.action.voiceMemo": "음성 메모", + "keyboard.conflict": "{{action}}에도 할당됨", + "chat.history.justNow": "방금", + "chat.history.minutesAgo": "{{count}}분 전", + "chat.history.hoursAgo": "{{count}}시간 전", + "chat.history.daysAgo": "{{count}}일 전", + "chat.history.title": "제목", + "chat.history.updated": "수정됨", + "chat.history.delete": "삭제", + "chat.edit.text": "텍스트", + "chat.edit.thought": "생각", + "chat.edit.tool": "도구", + "chat.edit.item": "항목", + "chat.dictate.unsupported": "이 브라우저에서는 음성 인식이 지원되지 않습니다.", + "chat.fallbackTitle": "채팅", + "admin.gateway.copied": "클립보드에 복사됨", + "admin.gateway.createError": "키 생성에 실패했습니다", + "admin.gateway.createKey": "키 생성", + "admin.gateway.deleteError": "키 삭제에 실패했습니다", + "admin.gateway.description": "API 키를 생성하여 Open WebUI 또는 OpenAI 호환 클라이언트를 작업 공간에 연결합니다.", + "admin.gateway.howToConnect": "Open WebUI에서 연결", + "admin.gateway.keyCreated": "API 키가 생성되었습니다", + "admin.gateway.keyDeleted": "API 키가 삭제되었습니다", + "admin.gateway.keyNamePlaceholder": "키 이름 (예: open-webui)", + "admin.gateway.keyWarning": "이 키는 한 번만 표시됩니다. 안전하게 보관하세요.", + "admin.gateway.loadError": "API 키 로드에 실패했습니다", + "admin.gateway.model": "응답 모델", + "admin.gateway.modelDescription": "게이트웨이 클라이언트가 작업 공간을 선택하고, cptr이 이 모델로 응답을 생성합니다.", + "admin.gateway.modelFallback": "작업 공간/기본 모델 사용", + "admin.gateway.modelSaveError": "게이트웨이 모델 저장에 실패했습니다", + "admin.gateway.newKey": "새 API 키가 생성되었습니다. 지금 복사하세요", + "admin.gateway.noKeys": "API 키가 아직 없습니다", + "admin.gateway.title": "API 게이트웨이" } diff --git a/cptr/frontend/src/lib/i18n/locales/pt-BR.json b/cptr/frontend/src/lib/i18n/locales/pt-BR.json index c82d79f..ccff04e 100644 --- a/cptr/frontend/src/lib/i18n/locales/pt-BR.json +++ b/cptr/frontend/src/lib/i18n/locales/pt-BR.json @@ -317,16 +317,16 @@ "about.copyright": "Copyright © 2026 Open WebUI Inc. Todos os direitos reservados.", "about.updateAvailable": "v{{version}} disponível", "connections.failedToUpdate": "Falha ao atualizar conexão", - "keyboard.newFile": "Open a new untitled file", - "keyboard.newTerminal": "Open a new terminal session", - "keyboard.newChat": "Start a new AI chat", - "keyboard.closeTab": "Close the active tab", - "keyboard.nextTab": "Switch to the next tab", - "keyboard.prevTab": "Switch to the previous tab", - "keyboard.quickOpen": "Search and open files quickly", - "keyboard.openSettings": "Open the settings panel", - "keyboard.toggleSplit": "Toggle split editor view", - "keyboard.toggleSidebar": "Show or hide the sidebar", + "keyboard.newFile": "Abrir um novo arquivo vazio", + "keyboard.newTerminal": "Abrir uma nova sessão de terminal", + "keyboard.newChat": "Iniciar um novo chat de IA", + "keyboard.closeTab": "Fechar a aba ativa", + "keyboard.nextTab": "Mudar para a próxima aba", + "keyboard.prevTab": "Mudar para a aba anterior", + "keyboard.quickOpen": "Pesquisar e abrir arquivos rapidamente", + "keyboard.openSettings": "Abrir o painel de configurações", + "keyboard.toggleSplit": "Alternar visualização dividida do editor", + "keyboard.toggleSidebar": "Mostrar ou ocultar a barra lateral", "automations.title": "Automações", "automations.filter": "Filtrar...", "automations.noMatches": "Sem resultados", @@ -524,5 +524,49 @@ "admin.gateway.apiKey": "Chave API:", "admin.gateway.headers": "Cabeçalhos:", "admin.messaging": "Mensagens", - "admin.gateway.tab": "Gateway" + "admin.gateway.tab": "Gateway", + "keyboard.action.newFile": "Novo arquivo", + "keyboard.action.newTerminal": "Novo terminal", + "keyboard.action.newChat": "Novo chat", + "keyboard.action.closeTab": "Fechar aba", + "keyboard.action.nextTab": "Próxima aba", + "keyboard.action.prevTab": "Aba anterior", + "keyboard.action.quickOpen": "Abertura rápida", + "keyboard.action.searchAll": "Pesquisar", + "keyboard.action.openSettings": "Abrir configurações", + "keyboard.action.toggleSplit": "Alternar divisão", + "keyboard.action.toggleSidebar": "Alternar barra lateral", + "keyboard.action.voiceMemo": "Nota de voz", + "keyboard.conflict": "Também atribuído a {{action}}", + "chat.history.justNow": "Agora", + "chat.history.minutesAgo": "há {{count}}min", + "chat.history.hoursAgo": "há {{count}}h", + "chat.history.daysAgo": "há {{count}}d", + "chat.history.title": "Título", + "chat.history.updated": "Atualizado", + "chat.history.delete": "Excluir", + "chat.edit.text": "Texto", + "chat.edit.thought": "Pensamento", + "chat.edit.tool": "Ferramenta", + "chat.edit.item": "Item", + "chat.dictate.unsupported": "O reconhecimento de voz não é suportado neste navegador.", + "chat.fallbackTitle": "Chat", + "admin.gateway.copied": "Copiado para a área de transferência", + "admin.gateway.createError": "Falha ao criar a chave", + "admin.gateway.createKey": "Criar chave", + "admin.gateway.deleteError": "Falha ao excluir a chave", + "admin.gateway.description": "Gere chaves API para conectar o Open WebUI ou qualquer cliente compatível com OpenAI aos seus workspaces.", + "admin.gateway.howToConnect": "Conectar do Open WebUI", + "admin.gateway.keyCreated": "Chave API criada", + "admin.gateway.keyDeleted": "Chave API excluída", + "admin.gateway.keyNamePlaceholder": "Nome da chave (ex. open-webui)", + "admin.gateway.keyWarning": "Esta chave será exibida apenas uma vez. Guarde-a com segurança.", + "admin.gateway.loadError": "Falha ao carregar as chaves API", + "admin.gateway.model": "Modelo de resposta", + "admin.gateway.modelDescription": "Clientes gateway escolhem um workspace; cptr usa este modelo para gerar a resposta.", + "admin.gateway.modelFallback": "Usar modelo do workspace/padrão", + "admin.gateway.modelSaveError": "Falha ao salvar o modelo gateway", + "admin.gateway.newKey": "Nova chave API criada. Copie-a agora", + "admin.gateway.noKeys": "Nenhuma chave API ainda", + "admin.gateway.title": "API Gateway" } diff --git a/cptr/frontend/src/lib/i18n/locales/ru.json b/cptr/frontend/src/lib/i18n/locales/ru.json index 56ffd64..1f7358a 100644 --- a/cptr/frontend/src/lib/i18n/locales/ru.json +++ b/cptr/frontend/src/lib/i18n/locales/ru.json @@ -317,16 +317,16 @@ "about.copyright": "Copyright © 2026 Open WebUI Inc. Все права защищены.", "about.updateAvailable": "v{{version}} доступна", "connections.failedToUpdate": "Не удалось обновить подключение", - "keyboard.newFile": "Open a new untitled file", - "keyboard.newTerminal": "Open a new terminal session", - "keyboard.newChat": "Start a new AI chat", - "keyboard.closeTab": "Close the active tab", - "keyboard.nextTab": "Switch to the next tab", - "keyboard.prevTab": "Switch to the previous tab", - "keyboard.quickOpen": "Search and open files quickly", - "keyboard.openSettings": "Open the settings panel", - "keyboard.toggleSplit": "Toggle split editor view", - "keyboard.toggleSidebar": "Show or hide the sidebar", + "keyboard.newFile": "Открыть новый пустой файл", + "keyboard.newTerminal": "Открыть новую сессию терминала", + "keyboard.newChat": "Начать новый ИИ-чат", + "keyboard.closeTab": "Закрыть активную вкладку", + "keyboard.nextTab": "Перейти к следующей вкладке", + "keyboard.prevTab": "Перейти к предыдущей вкладке", + "keyboard.quickOpen": "Быстрый поиск и открытие файлов", + "keyboard.openSettings": "Открыть панель настроек", + "keyboard.toggleSplit": "Переключить разделённый вид редактора", + "keyboard.toggleSidebar": "Показать или скрыть боковую панель", "automations.title": "Автоматизации", "automations.filter": "Фильтр...", "automations.noMatches": "Нет совпадений", @@ -524,5 +524,49 @@ "admin.gateway.apiKey": "API-ключ:", "admin.gateway.headers": "Заголовки:", "admin.messaging": "Сообщения", - "admin.gateway.tab": "Шлюз" + "admin.gateway.tab": "Шлюз", + "keyboard.action.newFile": "Новый файл", + "keyboard.action.newTerminal": "Новый терминал", + "keyboard.action.newChat": "Новый чат", + "keyboard.action.closeTab": "Закрыть вкладку", + "keyboard.action.nextTab": "Следующая вкладка", + "keyboard.action.prevTab": "Предыдущая вкладка", + "keyboard.action.quickOpen": "Быстрое открытие", + "keyboard.action.searchAll": "Поиск", + "keyboard.action.openSettings": "Открыть настройки", + "keyboard.action.toggleSplit": "Переключить разделение", + "keyboard.action.toggleSidebar": "Переключить боковую панель", + "keyboard.action.voiceMemo": "Голосовая заметка", + "keyboard.conflict": "Также назначено на {{action}}", + "chat.history.justNow": "Только что", + "chat.history.minutesAgo": "{{count}}мин назад", + "chat.history.hoursAgo": "{{count}}ч назад", + "chat.history.daysAgo": "{{count}}д назад", + "chat.history.title": "Название", + "chat.history.updated": "Обновлено", + "chat.history.delete": "Удалить", + "chat.edit.text": "Текст", + "chat.edit.thought": "Мысль", + "chat.edit.tool": "Инструмент", + "chat.edit.item": "Элемент", + "chat.dictate.unsupported": "Распознавание речи не поддерживается в этом браузере.", + "chat.fallbackTitle": "Чат", + "admin.gateway.copied": "Скопировано в буфер обмена", + "admin.gateway.createError": "Не удалось создать ключ", + "admin.gateway.createKey": "Создать ключ", + "admin.gateway.deleteError": "Не удалось удалить ключ", + "admin.gateway.description": "Генерируйте API-ключи для подключения Open WebUI или любого совместимого с OpenAI клиента к вашим рабочим пространствам.", + "admin.gateway.howToConnect": "Подключение из Open WebUI", + "admin.gateway.keyCreated": "API-ключ создан", + "admin.gateway.keyDeleted": "API-ключ удалён", + "admin.gateway.keyNamePlaceholder": "Имя ключа (напр. open-webui)", + "admin.gateway.keyWarning": "Этот ключ будет показан только один раз. Сохраните его надёжно.", + "admin.gateway.loadError": "Не удалось загрузить API-ключи", + "admin.gateway.model": "Модель ответа", + "admin.gateway.modelDescription": "Клиенты шлюза выбирают рабочее пространство; cptr использует эту модель для генерации ответа.", + "admin.gateway.modelFallback": "Использовать модель рабочего пространства/по умолчанию", + "admin.gateway.modelSaveError": "Не удалось сохранить модель шлюза", + "admin.gateway.newKey": "Новый API-ключ создан. Скопируйте его сейчас", + "admin.gateway.noKeys": "API-ключей пока нет", + "admin.gateway.title": "API-шлюз" } diff --git a/cptr/frontend/src/lib/i18n/locales/zh-CN.json b/cptr/frontend/src/lib/i18n/locales/zh-CN.json index b0bb31d..5b1d16f 100644 --- a/cptr/frontend/src/lib/i18n/locales/zh-CN.json +++ b/cptr/frontend/src/lib/i18n/locales/zh-CN.json @@ -317,16 +317,16 @@ "about.copyright": "Copyright © 2026 Open WebUI Inc. 保留所有权利。", "about.updateAvailable": "v{{version}} 可用", "connections.failedToUpdate": "更新连接失败", - "keyboard.newFile": "Open a new untitled file", - "keyboard.newTerminal": "Open a new terminal session", - "keyboard.newChat": "Start a new AI chat", - "keyboard.closeTab": "Close the active tab", - "keyboard.nextTab": "Switch to the next tab", - "keyboard.prevTab": "Switch to the previous tab", - "keyboard.quickOpen": "Search and open files quickly", - "keyboard.openSettings": "Open the settings panel", - "keyboard.toggleSplit": "Toggle split editor view", - "keyboard.toggleSidebar": "Show or hide the sidebar", + "keyboard.newFile": "打开新的空白文件", + "keyboard.newTerminal": "打开新的终端会话", + "keyboard.newChat": "开始新的 AI 聊天", + "keyboard.closeTab": "关闭活动标签页", + "keyboard.nextTab": "切换到下一个标签页", + "keyboard.prevTab": "切换到上一个标签页", + "keyboard.quickOpen": "快速搜索并打开文件", + "keyboard.openSettings": "打开设置面板", + "keyboard.toggleSplit": "切换编辑器分割视图", + "keyboard.toggleSidebar": "显示或隐藏侧边栏", "automations.title": "自动化", "automations.filter": "筛选...", "automations.noMatches": "无匹配", @@ -524,5 +524,49 @@ "admin.gateway.apiKey": "API 密钥:", "admin.gateway.headers": "请求头:", "admin.messaging": "消息", - "admin.gateway.tab": "网关" + "admin.gateway.tab": "网关", + "keyboard.action.newFile": "新建文件", + "keyboard.action.newTerminal": "新建终端", + "keyboard.action.newChat": "新建聊天", + "keyboard.action.closeTab": "关闭标签页", + "keyboard.action.nextTab": "下一个标签页", + "keyboard.action.prevTab": "上一个标签页", + "keyboard.action.quickOpen": "快速打开", + "keyboard.action.searchAll": "搜索", + "keyboard.action.openSettings": "打开设置", + "keyboard.action.toggleSplit": "切换分割", + "keyboard.action.toggleSidebar": "切换侧边栏", + "keyboard.action.voiceMemo": "语音备忘录", + "keyboard.conflict": "同时绑定到 {{action}}", + "chat.history.justNow": "刚刚", + "chat.history.minutesAgo": "{{count}}分钟前", + "chat.history.hoursAgo": "{{count}}小时前", + "chat.history.daysAgo": "{{count}}天前", + "chat.history.title": "标题", + "chat.history.updated": "已更新", + "chat.history.delete": "删除", + "chat.edit.text": "文本", + "chat.edit.thought": "思考", + "chat.edit.tool": "工具", + "chat.edit.item": "项目", + "chat.dictate.unsupported": "此浏览器不支持语音识别。", + "chat.fallbackTitle": "聊天", + "admin.gateway.copied": "已复制到剪贴板", + "admin.gateway.createError": "创建密钥失败", + "admin.gateway.createKey": "创建密钥", + "admin.gateway.deleteError": "删除密钥失败", + "admin.gateway.description": "生成 API 密钥,将 Open WebUI 或任何兼容 OpenAI 的客户端连接到您的工作区。", + "admin.gateway.howToConnect": "从 Open WebUI 连接", + "admin.gateway.keyCreated": "API 密钥已创建", + "admin.gateway.keyDeleted": "API 密钥已删除", + "admin.gateway.keyNamePlaceholder": "密钥名称(例如 open-webui)", + "admin.gateway.keyWarning": "此密钥只会显示一次。请安全保存。", + "admin.gateway.loadError": "加载 API 密钥失败", + "admin.gateway.model": "响应模型", + "admin.gateway.modelDescription": "网关客户端选择工作区;cptr 使用此模型生成响应。", + "admin.gateway.modelFallback": "使用工作区/默认模型", + "admin.gateway.modelSaveError": "保存网关模型失败", + "admin.gateway.newKey": "新 API 密钥已创建。请立即复制", + "admin.gateway.noKeys": "暂无 API 密钥", + "admin.gateway.title": "API 网关" } diff --git a/cptr/frontend/src/lib/i18n/locales/zh-TW.json b/cptr/frontend/src/lib/i18n/locales/zh-TW.json index a8d8053..bdd3412 100644 --- a/cptr/frontend/src/lib/i18n/locales/zh-TW.json +++ b/cptr/frontend/src/lib/i18n/locales/zh-TW.json @@ -317,16 +317,16 @@ "about.copyright": "Copyright © 2026 Open WebUI Inc. 保留所有權利。", "about.updateAvailable": "v{{version}} 可用", "connections.failedToUpdate": "更新連線失敗", - "keyboard.newFile": "Open a new untitled file", - "keyboard.newTerminal": "Open a new terminal session", - "keyboard.newChat": "Start a new AI chat", - "keyboard.closeTab": "Close the active tab", - "keyboard.nextTab": "Switch to the next tab", - "keyboard.prevTab": "Switch to the previous tab", - "keyboard.quickOpen": "Search and open files quickly", - "keyboard.openSettings": "Open the settings panel", - "keyboard.toggleSplit": "Toggle split editor view", - "keyboard.toggleSidebar": "Show or hide the sidebar", + "keyboard.newFile": "開啟新的空白檔案", + "keyboard.newTerminal": "開啟新的終端機工作階段", + "keyboard.newChat": "開始新的 AI 聊天", + "keyboard.closeTab": "關閉使用中的分頁", + "keyboard.nextTab": "切換到下一個分頁", + "keyboard.prevTab": "切換到上一個分頁", + "keyboard.quickOpen": "快速搜尋並開啟檔案", + "keyboard.openSettings": "開啟設定面板", + "keyboard.toggleSplit": "切換編輯器分割檢視", + "keyboard.toggleSidebar": "顯示或隱藏側邊欄", "automations.title": "自動化", "automations.filter": "篩選...", "automations.noMatches": "無符合項目", @@ -524,5 +524,49 @@ "admin.gateway.apiKey": "API 金鑰:", "admin.gateway.headers": "標頭:", "admin.messaging": "訊息", - "admin.gateway.tab": "閘道" + "admin.gateway.tab": "閘道", + "keyboard.action.newFile": "新增檔案", + "keyboard.action.newTerminal": "新增終端機", + "keyboard.action.newChat": "新增聊天", + "keyboard.action.closeTab": "關閉分頁", + "keyboard.action.nextTab": "下一個分頁", + "keyboard.action.prevTab": "上一個分頁", + "keyboard.action.quickOpen": "快速開啟", + "keyboard.action.searchAll": "搜尋", + "keyboard.action.openSettings": "開啟設定", + "keyboard.action.toggleSplit": "切換分割", + "keyboard.action.toggleSidebar": "切換側邊欄", + "keyboard.action.voiceMemo": "語音備忘錄", + "keyboard.conflict": "同時繫結到 {{action}}", + "chat.history.justNow": "剛才", + "chat.history.minutesAgo": "{{count}}分鐘前", + "chat.history.hoursAgo": "{{count}}小時前", + "chat.history.daysAgo": "{{count}}天前", + "chat.history.title": "標題", + "chat.history.updated": "已更新", + "chat.history.delete": "刪除", + "chat.edit.text": "文字", + "chat.edit.thought": "思考", + "chat.edit.tool": "工具", + "chat.edit.item": "項目", + "chat.dictate.unsupported": "此瀏覽器不支援語音辨識。", + "chat.fallbackTitle": "聊天", + "admin.gateway.copied": "已複製到剪貼簿", + "admin.gateway.createError": "建立金鑰失敗", + "admin.gateway.createKey": "建立金鑰", + "admin.gateway.deleteError": "刪除金鑰失敗", + "admin.gateway.description": "產生 API 金鑰,將 Open WebUI 或任何相容 OpenAI 的客戶端連接到您的工作區。", + "admin.gateway.howToConnect": "從 Open WebUI 連線", + "admin.gateway.keyCreated": "API 金鑰已建立", + "admin.gateway.keyDeleted": "API 金鑰已刪除", + "admin.gateway.keyNamePlaceholder": "金鑰名稱(例如 open-webui)", + "admin.gateway.keyWarning": "此金鑰只會顯示一次。請安全儲存。", + "admin.gateway.loadError": "載入 API 金鑰失敗", + "admin.gateway.model": "回應模型", + "admin.gateway.modelDescription": "閘道客戶端選擇工作區;cptr 使用此模型產生回應。", + "admin.gateway.modelFallback": "使用工作區/預設模型", + "admin.gateway.modelSaveError": "儲存閘道模型失敗", + "admin.gateway.newKey": "新 API 金鑰已建立。請立即複製", + "admin.gateway.noKeys": "尚無 API 金鑰", + "admin.gateway.title": "API 閘道" }