From 3385bf8a1ba7a3dfebe47fa2a8204e37f8fcf1d7 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 12 Jun 2026 11:13:21 +0100 Subject: [PATCH] refac --- .../lib/components/Admin/Connections.svelte | 2 +- .../src/lib/components/ChangelogModal.svelte | 13 +- .../src/lib/components/Settings/About.svelte | 6 +- .../lib/components/Settings/General.svelte | 34 ++--- .../lib/components/Settings/Keyboard.svelte | 39 ++--- .../src/lib/components/SettingsModal.svelte | 26 ++-- .../automations/AutomationModal.svelte | 15 +- .../automations/AutomationsPanel.svelte | 87 +++++------ .../components/common/ModelSelector.svelte | 9 +- cptr/frontend/src/lib/i18n/locales/de.json | 102 ++++++++++++- cptr/frontend/src/lib/i18n/locales/en.json | 109 +++++++++++++- cptr/frontend/src/lib/i18n/locales/es.json | 124 +++++++++++---- cptr/frontend/src/lib/i18n/locales/fr.json | 102 ++++++++++++- cptr/frontend/src/lib/i18n/locales/ja.json | 102 ++++++++++++- cptr/frontend/src/lib/i18n/locales/ko.json | 102 ++++++++++++- cptr/frontend/src/lib/i18n/locales/pt-BR.json | 102 ++++++++++++- cptr/frontend/src/lib/i18n/locales/ru.json | 102 ++++++++++++- cptr/frontend/src/lib/i18n/locales/zh-CN.json | 102 ++++++++++++- cptr/frontend/src/lib/i18n/locales/zh-TW.json | 141 ++++++++++++++++-- 19 files changed, 1148 insertions(+), 171 deletions(-) diff --git a/cptr/frontend/src/lib/components/Admin/Connections.svelte b/cptr/frontend/src/lib/components/Admin/Connections.svelte index dbd4a32..566cc31 100644 --- a/cptr/frontend/src/lib/components/Admin/Connections.svelte +++ b/cptr/frontend/src/lib/components/Admin/Connections.svelte @@ -48,7 +48,7 @@ // Revert conn.enabled = !newVal; connections = [...connections]; - toast.error('Failed to update connection'); + toast.error($t('connections.failedToUpdate')); } } diff --git a/cptr/frontend/src/lib/components/ChangelogModal.svelte b/cptr/frontend/src/lib/components/ChangelogModal.svelte index 72012ef..26475ea 100644 --- a/cptr/frontend/src/lib/components/ChangelogModal.svelte +++ b/cptr/frontend/src/lib/components/ChangelogModal.svelte @@ -4,6 +4,7 @@ import Icon from './Icon.svelte'; import { appVersion, lastSeenVersion, showChangelog } from '$lib/stores'; import Spinner from '$lib/components/common/Spinner.svelte'; + import { t } from '$lib/i18n'; type ChangelogEntry = { title: string; content: string; raw: string }; type VersionData = { date: string; [section: string]: string | ChangelogEntry[] }; @@ -61,10 +62,10 @@
-

What's New

+

{$t('changelog.whatsNew')}

{#if $appVersion}

- Release Notes + {$t('changelog.releaseNotes')}

{/if}
@@ -138,18 +139,18 @@
{:else if error}
-

Couldn't load release notes.

+

{$t('changelog.loadError')}

{:else}
- Loading release notes... + {$t('changelog.loading')}
{/if} @@ -159,7 +160,7 @@ class="text-[13px] text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors duration-100" onclick={handleClose} > - Done + {$t('changelog.done')}
diff --git a/cptr/frontend/src/lib/components/Settings/About.svelte b/cptr/frontend/src/lib/components/Settings/About.svelte index cb9de7a..4176fd3 100644 --- a/cptr/frontend/src/lib/components/Settings/About.svelte +++ b/cptr/frontend/src/lib/components/Settings/About.svelte @@ -29,7 +29,7 @@ target="_blank" rel="noopener noreferrer" class="text-[11px] text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-300 transition-colors" - >v{$latestVersion} available{$t('about.updateAvailable', { version: $latestVersion })} {/if} @@ -44,11 +44,11 @@ href="https://github.com/open-webui/computer/blob/main/LICENSE" target="_blank" rel="noopener noreferrer" - class="underline hover:text-gray-700 dark:hover:text-gray-300">Open Use License{$t('about.licenseName')}
- Copyright © 2026 Open WebUI Inc. All rights reserved. + {$t('about.copyright')}

diff --git a/cptr/frontend/src/lib/components/Settings/General.svelte b/cptr/frontend/src/lib/components/Settings/General.svelte index e07e324..9c9d3eb 100644 --- a/cptr/frontend/src/lib/components/Settings/General.svelte +++ b/cptr/frontend/src/lib/components/Settings/General.svelte @@ -32,9 +32,9 @@ method: 'PUT', body: JSON.stringify({ config: { 'notifications.webhook_url': webhookUrl.trim() || null } }) }); - toast.success('Webhook URL saved'); + toast.success($t('general.webhookUrlSaved')); } catch { - toast.error('Failed to save webhook URL'); + toast.error($t('general.webhookUrlSaveFailed')); } finally { webhookLoading = false; } @@ -48,7 +48,7 @@ if (permission === 'granted') { notificationsEnabled.set(true); } else { - toast.error('Browser notification permission denied'); + toast.error($t('general.notificationPermissionDenied')); } } } else { @@ -88,28 +88,28 @@ -

Notifications

+

{$t('general.notifications')}

- Show OS-level notifications when a task completes and the tab is not focused. + {$t('general.browserNotificationsDesc')}

- Save + {$t('settings.save')}

- Supports Slack, Discord, Teams, and generic JSON webhooks. + {$t('general.webhookUrlHint')}

{#if $session?.role === 'admin'} -

Updates

+

{$t('general.updates')}

- Show a toast when a new version of cptr is available. + {$t('general.updateNotificationsDesc')}

{/if} -

Message queue

+

{$t('general.messageQueue')}

- {#each [{ value: 'queue' as StreamingBehavior, label: 'Queue' }, { value: 'interrupt' as StreamingBehavior, label: 'Interrupt' }] as opt} + {#each [{ value: 'queue' as StreamingBehavior, label: $t('general.queue') }, { value: 'interrupt' as StreamingBehavior, label: $t('general.interrupt') }] as opt} {$t('keyboard.resetDefaults')}
- Command + {$t('keyboard.command')} Keybinding{$t('keyboard.keybinding')}
@@ -110,7 +111,7 @@
{#if isRecording} - Press keys… + {$t('keyboard.pressKeys')} {:else if chord} startRecording(actionId)}>{$t('keyboard.unassigned')} {/if} @@ -138,7 +139,7 @@

- Click a binding to rebind. Press Esc to cancel. + {$t('keyboard.rebindHint')}

diff --git a/cptr/frontend/src/lib/components/SettingsModal.svelte b/cptr/frontend/src/lib/components/SettingsModal.svelte index 49d2524..4f4bad8 100644 --- a/cptr/frontend/src/lib/components/SettingsModal.svelte +++ b/cptr/frontend/src/lib/components/SettingsModal.svelte @@ -33,19 +33,19 @@ const isAdmin = $derived($session?.role === 'admin'); - const personalTabs: { id: Tab; label: string; icon: string }[] = [ - { id: 'general', label: 'General', icon: 'settings' }, - { id: 'keyboard', label: 'Keyboard', icon: 'terminal' }, - { id: 'account', label: 'Account', icon: 'user' }, - { id: 'about', label: 'About', icon: 'info' } - ]; + const personalTabs: { id: Tab; label: string; icon: string }[] = $derived([ + { id: 'general', label: $t('settings.general'), icon: 'settings' }, + { id: 'keyboard', label: $t('settings.keyboard'), icon: 'terminal' }, + { id: 'account', label: $t('settings.account'), icon: 'user' }, + { id: 'about', label: $t('settings.about'), icon: 'info' } + ]); - const adminTabs: { id: Tab; label: string; icon: string }[] = [ - { id: 'users', label: 'Users', icon: 'user' }, - { id: 'connections', label: 'Connections', icon: 'plug' }, - { id: 'models', label: 'Models', icon: 'cube' }, - { id: 'admin_settings', label: 'Configuration', icon: 'shield' } - ]; + const adminTabs: { id: Tab; label: string; icon: string }[] = $derived([ + { id: 'users', label: $t('admin.users'), icon: 'user' }, + { id: 'connections', label: $t('admin.connections'), icon: 'plug' }, + { id: 'models', label: $t('admin.models'), icon: 'cube' }, + { id: 'admin_settings', label: $t('settings.configuration'), icon: 'shield' } + ]); {#if isAdmin} - + {#each adminTabs as tab} diff --git a/cptr/frontend/src/lib/components/automations/AutomationsPanel.svelte b/cptr/frontend/src/lib/components/automations/AutomationsPanel.svelte index b6af222..f8391fa 100644 --- a/cptr/frontend/src/lib/components/automations/AutomationsPanel.svelte +++ b/cptr/frontend/src/lib/components/automations/AutomationsPanel.svelte @@ -22,6 +22,7 @@ type AutomationRunData } from '$lib/apis/automations'; import { toast } from 'svelte-sonner'; + import { t } from '$lib/i18n'; interface Props { automationId?: string; @@ -50,7 +51,7 @@ items = res.items; total = res.total; } catch (e: any) { - toast.error(e.message || 'Failed to load automations'); + toast.error(e.message || $t('automations.failedToLoad')); } finally { loading = false; } @@ -62,7 +63,7 @@ detail = await getAutomationById(id); runs = await getAutomationRuns(id); } catch (e: any) { - toast.error(e.message || 'Failed to load automation'); + toast.error(e.message || $t('automations.failedToLoadOne')); } finally { detailLoading = false; } @@ -86,28 +87,28 @@ items = items.map((i) => (i.id === a.id ? updated : i)); if (detail?.id === a.id) detail = updated; } catch (e: any) { - toast.error(e.message || 'Failed to toggle'); + toast.error(e.message || $t('automations.failedToToggle')); } } async function handleDelete(a: AutomationData) { - if (!confirm(`Delete "${a.name}"?`)) return; + if (!confirm($t('automations.deleteConfirm', { name: a.name }))) return; try { await deleteAutomation(a.id); items = items.filter((i) => i.id !== a.id); if (detail?.id === a.id) goto('/automations'); - toast.success('Deleted'); + toast.success($t('automations.deleted')); } catch (e: any) { - toast.error(e.message || 'Failed to delete'); + toast.error(e.message || $t('automations.failedToDelete')); } } async function handleRunNow(a: AutomationData) { try { await runAutomation(a.id); - toast.success(`"${a.name}" triggered`); + toast.success($t('automations.triggered', { name: a.name })); } catch (e: any) { - toast.error(e.message || 'Failed to run'); + toast.error(e.message || $t('automations.failedToRun')); } } @@ -153,9 +154,9 @@ const updated = await generateWebhook(detail.id); detail = updated; items = items.map((i) => (i.id === updated.id ? updated : i)); - toast.success('Webhook enabled'); + toast.success($t('automations.webhookEnabled')); } catch (e: any) { - toast.error(e.message || 'Failed to generate webhook'); + toast.error(e.message || $t('automations.failedToGenerateWebhook')); } finally { webhookLoading = false; } @@ -168,9 +169,9 @@ const updated = await deleteWebhook(detail.id); detail = updated; items = items.map((i) => (i.id === updated.id ? updated : i)); - toast.success('Webhook disabled'); + toast.success($t('automations.webhookDisabled')); } catch (e: any) { - toast.error(e.message || 'Failed to revoke webhook'); + toast.error(e.message || $t('automations.failedToRevokeWebhook')); } finally { webhookLoading = false; } @@ -198,7 +199,7 @@ @@ -208,7 +209,7 @@ onclick={() => goto('/automations')} > - Automations + {$t('automations.title')} / {detail.name} @@ -218,21 +219,21 @@ @@ -244,30 +245,30 @@
- Status + {$t('automations.status')}
- {detail.is_active ? 'Active' : 'Paused'} + {detail.is_active ? $t('automations.active') : $t('automations.paused')}
- Schedule + {$t('automations.schedule')} {parseFrequency(detail.rrule)}
- Model + {$t('automations.model')} {detail.model_id}
- Next run + {$t('automations.nextRun')} {formatTime(detail.next_run_at)}
- Last run + {$t('automations.lastRun')} {formatTime(detail.last_run_at)}
- Webhook + {$t('automations.webhook')} {#if detail.webhook_url}
...?token={detail.webhook_url.split('token=')[1]?.slice(0, 12)}... @@ -275,20 +276,20 @@ class="text-[11px] text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors duration-75 shrink-0" onclick={copyWebhookUrl} > - {webhookCopied ? 'Copied!' : 'Copy'} + {webhookCopied ? $t('automations.copied') : $t('automations.copy')}
{:else if detail.has_webhook}
- Enabled + {$t('automations.enabled')} · ·
{:else} @@ -305,7 +306,7 @@ onclick={handleGenerateWebhook} disabled={webhookLoading} > - Enable + {$t('automations.enable')} {/if}
@@ -313,7 +314,7 @@
-
Prompt
+
{$t('automations.prompt')}
{detail.prompt}
@@ -321,9 +322,9 @@
-
Runs
+
{$t('automations.runs')}
{#if runs.length === 0} -
No runs yet
+
{$t('automations.noRuns')}
{:else} {#each runs as run}
@@ -340,7 +341,7 @@ setTimeout(() => openChatTab(run.chat_id!), 300); }} > - view chat → + {$t('automations.viewChat')} {/if} {#if run.error} @@ -360,12 +361,12 @@ {/if} - Automations + {$t('automations.title')} {#if total > 0} {total} {/if} @@ -376,14 +377,14 @@ bind:value={statusFilter} onchange={loadList} > - - - + + + @@ -396,7 +397,7 @@ @@ -416,14 +417,14 @@ {:else if items.length === 0}

- {searchQuery ? 'No matches' : 'No automations yet'} + {searchQuery ? $t('automations.noMatches') : $t('automations.noAutomations')}

{#if !searchQuery} {/if}
@@ -448,7 +449,7 @@ diff --git a/cptr/frontend/src/lib/components/common/ModelSelector.svelte b/cptr/frontend/src/lib/components/common/ModelSelector.svelte index 5091d82..4dff816 100644 --- a/cptr/frontend/src/lib/components/common/ModelSelector.svelte +++ b/cptr/frontend/src/lib/components/common/ModelSelector.svelte @@ -2,6 +2,7 @@ import { tick } from 'svelte'; import { chatModels } from '$lib/stores/chat'; import DropdownMenu from '../DropdownMenu.svelte'; + import { t } from '$lib/i18n'; interface Props { selectedModel: string; @@ -52,8 +53,8 @@ > {$chatModels.length === 0 - ? 'No models available' - : $chatModels.find((m) => m.id === selectedModel)?.name || 'Select model'} m.id === selectedModel)?.name || $t('modelSelector.selectModel')} {#if $chatModels.length > 0} { if (e.key === 'Escape') open = false; @@ -105,7 +106,7 @@
{/snippet} {#snippet empty()} -
No matches
+
{$t('modelSelector.noMatches')}
{/snippet} {/if} diff --git a/cptr/frontend/src/lib/i18n/locales/de.json b/cptr/frontend/src/lib/i18n/locales/de.json index aea7b5e..964c9c4 100644 --- a/cptr/frontend/src/lib/i18n/locales/de.json +++ b/cptr/frontend/src/lib/i18n/locales/de.json @@ -77,7 +77,6 @@ "search.noResults": "Keine Ergebnisse gefunden", "search.recentChats": "Letzte Chats", "search.noRecentChats": "Keine letzten Chats", - "quickOpen.searchFiles": "Dateien suchen...", "quickOpen.noFiles": "Keine Dateien gefunden", "settings.back": "Zurück", @@ -275,8 +274,105 @@ "models.systemPromptInherited": "Erbt den globalen Standard", "models.templateVariables": "Variablen", "models.resetToDefault": "Zurücksetzen", - "update.available": "Eine neue Version (v{{version}}) ist verfügbar.", "update.viewRelease": "Versionshinweise ansehen →", - "update.updateAvailable": "Update verfügbar: v{{version}}" + "update.updateAvailable": "Update verfügbar: v{{version}}", + "general.notifications": "Benachrichtigungen", + "general.browserNotifications": "Browser-Benachrichtigungen", + "general.browserNotificationsDesc": "Systembenachrichtigungen anzeigen, wenn eine Aufgabe abgeschlossen ist und der Tab nicht fokussiert ist.", + "general.notificationSound": "Benachrichtigungston", + "general.notificationPermissionDenied": "Browser-Benachrichtigungserlaubnis verweigert", + "general.webhookUrl": "Webhook-URL", + "general.webhookUrlSaved": "Webhook-URL gespeichert", + "general.webhookUrlSaveFailed": "Webhook-URL konnte nicht gespeichert werden", + "general.webhookUrlHint": "Unterstützt Slack, Discord, Teams und generische JSON-Webhooks.", + "general.updates": "Aktualisierungen", + "general.updateNotifications": "Update-Benachrichtigungen", + "general.updateNotificationsDesc": "Eine Benachrichtigung anzeigen, wenn eine neue Version von cptr verfügbar ist.", + "general.messageQueue": "Nachrichtenwarteschlange", + "general.queue": "Warteschlange", + "general.interrupt": "Unterbrechen", + "general.queueDesc": "Während der Generierung gesendete Nachrichten werden in die Warteschlange gestellt und nach Abschluss gesendet.", + "general.interruptDesc": "Das Senden einer Nachricht bricht die aktuelle Generierung ab.", + "settings.keyboard": "Tastatur", + "settings.configuration": "Konfiguration", + "keyboard.title": "Tastenkürzel", + "keyboard.resetDefaults": "Zurücksetzen", + "keyboard.command": "Befehl", + "keyboard.keybinding": "Tastenkombination", + "keyboard.unassigned": "Nicht zugewiesen", + "keyboard.pressKeys": "Tasten drücken…", + "keyboard.rebindHint": "Klicken Sie auf eine Bindung zum Neuzuweisen. Esc zum Abbrechen.", + "changelog.whatsNew": "Neuigkeiten", + "changelog.releaseNotes": "Versionshinweise", + "changelog.loadError": "Versionshinweise konnten nicht geladen werden.", + "changelog.retry": "Erneut versuchen", + "changelog.loading": "Versionshinweise werden geladen...", + "changelog.done": "Fertig", + "modelSelector.noModels": "Keine Modelle verfügbar", + "modelSelector.selectModel": "Modell auswählen", + "modelSelector.noMatches": "Keine Treffer", + "modelSelector.search": "Suchen...", + "about.licenseName": "Open Use Lizenz", + "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", + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation" } diff --git a/cptr/frontend/src/lib/i18n/locales/en.json b/cptr/frontend/src/lib/i18n/locales/en.json index 88068ca..97fe5e5 100644 --- a/cptr/frontend/src/lib/i18n/locales/en.json +++ b/cptr/frontend/src/lib/i18n/locales/en.json @@ -301,5 +301,112 @@ "update.available": "A new version (v{{version}}) is available.", "update.viewRelease": "View release notes →", - "update.updateAvailable": "Update available: v{{version}}" + "update.updateAvailable": "Update available: v{{version}}", + + "general.notifications": "Notifications", + "general.browserNotifications": "Browser notifications", + "general.browserNotificationsDesc": "Show OS-level notifications when a task completes and the tab is not focused.", + "general.notificationSound": "Notification sound", + "general.notificationPermissionDenied": "Browser notification permission denied", + "general.webhookUrl": "Webhook URL", + "general.webhookUrlSaved": "Webhook URL saved", + "general.webhookUrlSaveFailed": "Failed to save webhook URL", + "general.webhookUrlHint": "Supports Slack, Discord, Teams, and generic JSON webhooks.", + "general.updates": "Updates", + "general.updateNotifications": "Update notifications", + "general.updateNotificationsDesc": "Show a toast when a new version of cptr is available.", + "general.messageQueue": "Message queue", + "general.queue": "Queue", + "general.interrupt": "Interrupt", + "general.queueDesc": "Messages sent during generation are queued and sent after completion.", + "general.interruptDesc": "Sending a message cancels the current generation.", + + "settings.keyboard": "Keyboard", + "settings.configuration": "Configuration", + + "keyboard.title": "Keyboard Shortcuts", + "keyboard.resetDefaults": "Reset defaults", + "keyboard.command": "Command", + "keyboard.keybinding": "Keybinding", + "keyboard.unassigned": "Unassigned", + "keyboard.pressKeys": "Press keys…", + "keyboard.rebindHint": "Click a binding to rebind. Press <1>Esc to cancel.", + "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", + + "changelog.whatsNew": "What's New", + "changelog.releaseNotes": "Release Notes", + "changelog.loadError": "Couldn't load release notes.", + "changelog.retry": "Retry", + "changelog.loading": "Loading release notes...", + "changelog.done": "Done", + + "modelSelector.noModels": "No models available", + "modelSelector.selectModel": "Select model", + "modelSelector.noMatches": "No matches", + "modelSelector.search": "Search...", + + "about.licenseName": "Open Use License", + "about.copyright": "Copyright © 2026 Open WebUI Inc. All rights reserved.", + "about.updateAvailable": "v{{version}} available", + + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation", + + "connections.failedToUpdate": "Failed to update connection" } diff --git a/cptr/frontend/src/lib/i18n/locales/es.json b/cptr/frontend/src/lib/i18n/locales/es.json index 1d8206d..274bb79 100644 --- a/cptr/frontend/src/lib/i18n/locales/es.json +++ b/cptr/frontend/src/lib/i18n/locales/es.json @@ -1,6 +1,5 @@ { "app.tagline": "Tu computadora, desde cualquier lugar.", - "auth.createAccountHint": "Crea tu cuenta para comenzar.", "auth.signInSystemHint": "Inicia sesión con tu cuenta del sistema.", "auth.setup": "Configuración", @@ -20,7 +19,6 @@ "auth.minChars": "Mínimo 6 caracteres", "auth.connectionFailed": "Error de conexión", "auth.accountPending": "Cuenta creada. Esperando aprobación del administrador.", - "sidebar.workspaces": "Espacios de trabajo", "sidebar.addWorkspace": "Agregar espacio de trabajo", "sidebar.collapse": "Contraer", @@ -32,14 +30,12 @@ "sidebar.workspaceOptions": "Opciones del espacio de trabajo", "sidebar.closeSidebar": "Cerrar barra lateral", "sidebar.showMore": "Mostrar más", - "bar.newFile": "Nuevo archivo", "bar.newTerminal": "Nueva terminal", "bar.closeTab": "Cerrar pestaña", "bar.new": "Nuevo...", "bar.sidebar": "Barra lateral", "bar.toggleSidebar": "Alternar barra lateral", - "files.filter": "Filtrar...", "files.refresh": "Actualizar", "files.sort": "Ordenar", @@ -74,7 +70,6 @@ "files.showHidden": "Mostrar dotfiles", "files.hideHidden": "Ocultar dotfiles", "files.failedToLoad": "Error al cargar el directorio", - "search.placeholder": "Buscar...", "search.search": "Buscar", "search.chats": "Chats", @@ -82,10 +77,8 @@ "search.noResults": "No se encontraron resultados", "search.recentChats": "Chats recientes", "search.noRecentChats": "Sin chats recientes", - "quickOpen.searchFiles": "Buscar archivos...", "quickOpen.noFiles": "No se encontraron archivos", - "settings.back": "Atrás", "settings.general": "General", "settings.account": "Cuenta", @@ -93,18 +86,15 @@ "settings.save": "Guardar", "settings.saved": "Guardado", "settings.saving": "Guardando…", - "general.title": "General", "general.theme": "Tema", "general.light": "Claro", "general.dark": "Oscuro", "general.system": "Sistema", "general.language": "Idioma", - "general.tools": "Herramientas", "general.autoApproveTools": "Aprobar automáticamente todas las llamadas a herramientas", "general.autoApproveToolsDesc": "Permitir automáticamente llamadas a herramientas (escribir, ejecutar, etc.) sin confirmación", - "account.title": "Cuenta", "account.displayName": "Nombre para mostrar", "account.displayNamePlaceholder": "Ingresa un nombre para mostrar", @@ -122,11 +112,9 @@ "account.uploadFailed": "Error al subir", "account.failedToUpdate": "Error al actualizar", "account.failedToRemoveAvatar": "Error al eliminar el avatar", - "about.title": "Acerca de", "about.license": "Licencia", "about.createdBy": "Creado por Tim Baek, hecho en la Tierra", - "git.changes": "Cambios", "git.history": "Historial", "git.fetch": "Obtener", @@ -169,7 +157,6 @@ "git.discard": "Descartar", "git.copyFilePath": "Copiar ruta del archivo", "git.copyRelativePath": "Copiar ruta relativa", - "admin.users": "Usuarios", "admin.settings": "Configuración", "admin.noUsers": "Sin usuarios", @@ -200,9 +187,7 @@ "admin.delete": "Eliminar", "admin.usernameRequired": "Nombre de usuario requerido", "admin.minCharsPassword": "Mínimo 6 caracteres", - "admin.connections": "Conexiones", - "connections.loadError": "Error al cargar conexiones", "connections.fieldsRequired": "Se requieren la URL base y la clave de API", "connections.added": "Conexión agregada", @@ -223,15 +208,12 @@ "connections.edit": "Editar conexión", "connections.updated": "Conexión actualizada", "connections.verify": "Verificar", - "bar.newChat": "Nuevo chat", - "home.start": "Inicio", "home.openFolder": "Abrir carpeta...", "home.recent": "Recientes", "home.folders": "Carpetas", "home.chatComingSoon": "Chat (próximamente)", - "directory.cancel": "Cancelar", "directory.open": "Abrir \"{{name}}\"", "directory.hidden": "Ocultos", @@ -239,24 +221,20 @@ "directory.goBack": "Volver", "directory.typePath": "Type a path... (Tab to complete)", "directory.retry": "Reintentar", - "saveDialog.fileNamePlaceholder": "Nombre de archivo…", "saveDialog.emptyFolder": "Carpeta vacía", "saveDialog.cancel": "Cancelar", "saveDialog.save": "Guardar", "saveDialog.hidden": "Ocultos", "saveDialog.retry": "Reintentar", - "port.preview": "Vista previa", "port.via": "vía {{name}}", - "system.title": "Sistema", "system.cpu": "CPU", "system.memory": "Memoria", "system.disk": "Disco", "system.cores": "{{count}} núcleos", "system.process": "PROCESO", - "admin.web": "Web", "admin.webEnabled": "Habilitar acceso web", "admin.webEnabledHint": "La IA puede buscar en la web y obtener URLs.", @@ -278,7 +256,6 @@ "admin.webCcKey": "Clave de API", "admin.webCcModel": "Modelo", "admin.webCcHint": "Cualquier endpoint compatible con OpenAI (ej. Perplexity Sonar, proxy LiteLLM)", - "admin.models": "Modelos", "models.defaults": "Predeterminados", "models.noDefaults": "Sin valores predeterminados globales", @@ -297,8 +274,105 @@ "models.systemPromptInherited": "Hereda el predeterminado global", "models.templateVariables": "Variables", "models.resetToDefault": "Restablecer", - "update.available": "Hay una nueva versión (v{{version}}) disponible.", "update.viewRelease": "Ver notas de la versión →", - "update.updateAvailable": "Actualización disponible: v{{version}}" + "update.updateAvailable": "Actualización disponible: v{{version}}", + "general.notifications": "Notificaciones", + "general.browserNotifications": "Notificaciones del navegador", + "general.browserNotificationsDesc": "Mostrar notificaciones del sistema cuando una tarea se completa y la pestaña no está enfocada.", + "general.notificationSound": "Sonido de notificación", + "general.notificationPermissionDenied": "Permiso de notificación del navegador denegado", + "general.webhookUrl": "URL del webhook", + "general.webhookUrlSaved": "URL del webhook guardada", + "general.webhookUrlSaveFailed": "Error al guardar URL del webhook", + "general.webhookUrlHint": "Compatible con Slack, Discord, Teams y webhooks JSON genéricos.", + "general.updates": "Actualizaciones", + "general.updateNotifications": "Notificaciones de actualización", + "general.updateNotificationsDesc": "Mostrar un aviso cuando hay una nueva versión de cptr disponible.", + "general.messageQueue": "Cola de mensajes", + "general.queue": "Cola", + "general.interrupt": "Interrumpir", + "general.queueDesc": "Los mensajes enviados durante la generación se ponen en cola y se envían al completarse.", + "general.interruptDesc": "Enviar un mensaje cancela la generación actual.", + "settings.keyboard": "Teclado", + "settings.configuration": "Configuración", + "keyboard.title": "Atajos de teclado", + "keyboard.resetDefaults": "Restablecer predeterminados", + "keyboard.command": "Comando", + "keyboard.keybinding": "Atajo", + "keyboard.unassigned": "Sin asignar", + "keyboard.pressKeys": "Presione teclas…", + "keyboard.rebindHint": "Haz clic en un atajo para reasignar. Presiona Esc para cancelar.", + "changelog.whatsNew": "Novedades", + "changelog.releaseNotes": "Notas de la versión", + "changelog.loadError": "No se pudieron cargar las notas de la versión.", + "changelog.retry": "Reintentar", + "changelog.loading": "Cargando notas de la versión...", + "changelog.done": "Listo", + "modelSelector.noModels": "Sin modelos disponibles", + "modelSelector.selectModel": "Seleccionar modelo", + "modelSelector.noMatches": "Sin coincidencias", + "modelSelector.search": "Buscar...", + "about.licenseName": "Licencia de Uso Abierto", + "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", + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation" } diff --git a/cptr/frontend/src/lib/i18n/locales/fr.json b/cptr/frontend/src/lib/i18n/locales/fr.json index 5f3461f..5b6498b 100644 --- a/cptr/frontend/src/lib/i18n/locales/fr.json +++ b/cptr/frontend/src/lib/i18n/locales/fr.json @@ -77,7 +77,6 @@ "search.noResults": "Aucun résultat trouvé", "search.recentChats": "Conversations récentes", "search.noRecentChats": "Aucune conversation récente", - "quickOpen.searchFiles": "Rechercher des fichiers...", "quickOpen.noFiles": "Aucun fichier trouvé", "settings.back": "Retour", @@ -275,8 +274,105 @@ "models.systemPromptInherited": "Hérite de la valeur par défaut globale", "models.templateVariables": "Variables", "models.resetToDefault": "Réinitialiser", - "update.available": "Une nouvelle version (v{{version}}) est disponible.", "update.viewRelease": "Voir les notes de version →", - "update.updateAvailable": "Mise à jour disponible : v{{version}}" + "update.updateAvailable": "Mise à jour disponible : v{{version}}", + "general.notifications": "Notifications", + "general.browserNotifications": "Notifications du navigateur", + "general.browserNotificationsDesc": "Afficher les notifications du système lorsqu'une tâche se termine et que l'onglet n'est pas actif.", + "general.notificationSound": "Son de notification", + "general.notificationPermissionDenied": "Permission de notification du navigateur refusée", + "general.webhookUrl": "URL du webhook", + "general.webhookUrlSaved": "URL du webhook enregistrée", + "general.webhookUrlSaveFailed": "Échec de l'enregistrement de l'URL du webhook", + "general.webhookUrlHint": "Prend en charge Slack, Discord, Teams et les webhooks JSON génériques.", + "general.updates": "Mises à jour", + "general.updateNotifications": "Notifications de mise à jour", + "general.updateNotificationsDesc": "Afficher une notification lorsqu'une nouvelle version de cptr est disponible.", + "general.messageQueue": "File de messages", + "general.queue": "File", + "general.interrupt": "Interrompre", + "general.queueDesc": "Les messages envoyés pendant la génération sont mis en file et envoyés après la fin.", + "general.interruptDesc": "L'envoi d'un message annule la génération en cours.", + "settings.keyboard": "Clavier", + "settings.configuration": "Configuration", + "keyboard.title": "Raccourcis clavier", + "keyboard.resetDefaults": "Réinitialiser", + "keyboard.command": "Commande", + "keyboard.keybinding": "Raccourci", + "keyboard.unassigned": "Non assigné", + "keyboard.pressKeys": "Appuyez sur des touches…", + "keyboard.rebindHint": "Cliquez sur un raccourci pour le modifier. Appuyez sur Échap pour annuler.", + "changelog.whatsNew": "Nouveautés", + "changelog.releaseNotes": "Notes de version", + "changelog.loadError": "Impossible de charger les notes de version.", + "changelog.retry": "Réessayer", + "changelog.loading": "Chargement des notes de version...", + "changelog.done": "Terminé", + "modelSelector.noModels": "Aucun modèle disponible", + "modelSelector.selectModel": "Sélectionner un modèle", + "modelSelector.noMatches": "Aucun résultat", + "modelSelector.search": "Rechercher...", + "about.licenseName": "Licence d'utilisation ouverte", + "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", + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation" } diff --git a/cptr/frontend/src/lib/i18n/locales/ja.json b/cptr/frontend/src/lib/i18n/locales/ja.json index 42063da..87b1d3c 100644 --- a/cptr/frontend/src/lib/i18n/locales/ja.json +++ b/cptr/frontend/src/lib/i18n/locales/ja.json @@ -77,7 +77,6 @@ "search.noResults": "結果が見つかりません", "search.recentChats": "最近のチャット", "search.noRecentChats": "最近のチャットはありません", - "quickOpen.searchFiles": "ファイルを検索...", "quickOpen.noFiles": "ファイルが見つかりません", "settings.back": "戻る", @@ -275,8 +274,105 @@ "models.systemPromptInherited": "グローバルデフォルトを継承", "models.templateVariables": "変数", "models.resetToDefault": "リセット", - "update.available": "新しいバージョン (v{{version}}) が利用可能です。", "update.viewRelease": "リリースノートを見る →", - "update.updateAvailable": "アップデート利用可能: v{{version}}" + "update.updateAvailable": "アップデート利用可能: v{{version}}", + "general.notifications": "通知", + "general.browserNotifications": "ブラウザ通知", + "general.browserNotificationsDesc": "タスク完了時にタブがフォーカスされていない場合、OS通知を表示します。", + "general.notificationSound": "通知音", + "general.notificationPermissionDenied": "ブラウザ通知の許可が拒否されました", + "general.webhookUrl": "Webhook URL", + "general.webhookUrlSaved": "Webhook URLを保存しました", + "general.webhookUrlSaveFailed": "Webhook URLの保存に失敗しました", + "general.webhookUrlHint": "Slack、Discord、Teams、汎用JSONウェブフックに対応。", + "general.updates": "アップデート", + "general.updateNotifications": "アップデート通知", + "general.updateNotificationsDesc": "cptrの新しいバージョンが利用可能な場合にトーストを表示します。", + "general.messageQueue": "メッセージキュー", + "general.queue": "キュー", + "general.interrupt": "中断", + "general.queueDesc": "生成中に送信されたメッセージはキューに入れられ、完了後に送信されます。", + "general.interruptDesc": "メッセージを送信すると現在の生成がキャンセルされます。", + "settings.keyboard": "キーボード", + "settings.configuration": "設定", + "keyboard.title": "キーボードショートカット", + "keyboard.resetDefaults": "デフォルトに戻す", + "keyboard.command": "コマンド", + "keyboard.keybinding": "キーバインド", + "keyboard.unassigned": "未設定", + "keyboard.pressKeys": "キーを押してください…", + "keyboard.rebindHint": "バインドをクリックして再設定。Escでキャンセル。", + "changelog.whatsNew": "新機能", + "changelog.releaseNotes": "リリースノート", + "changelog.loadError": "リリースノートを読み込めませんでした。", + "changelog.retry": "再試行", + "changelog.loading": "リリースノートを読み込み中...", + "changelog.done": "完了", + "modelSelector.noModels": "利用可能なモデルがありません", + "modelSelector.selectModel": "モデルを選択", + "modelSelector.noMatches": "一致なし", + "modelSelector.search": "検索...", + "about.licenseName": "オープンユースライセンス", + "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", + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation" } diff --git a/cptr/frontend/src/lib/i18n/locales/ko.json b/cptr/frontend/src/lib/i18n/locales/ko.json index 4a37f59..bcf9602 100644 --- a/cptr/frontend/src/lib/i18n/locales/ko.json +++ b/cptr/frontend/src/lib/i18n/locales/ko.json @@ -77,7 +77,6 @@ "search.noResults": "결과를 찾을 수 없습니다", "search.recentChats": "최근 채팅", "search.noRecentChats": "최근 채팅 없음", - "quickOpen.searchFiles": "파일 검색...", "quickOpen.noFiles": "파일을 찾을 수 없습니다", "settings.back": "뒤로", @@ -275,8 +274,105 @@ "models.systemPromptInherited": "글로벌 기본값 상속", "models.templateVariables": "변수", "models.resetToDefault": "초기화", - "update.available": "새 버전 (v{{version}})이 사용 가능합니다.", "update.viewRelease": "릴리스 노트 보기 →", - "update.updateAvailable": "업데이트 가능: v{{version}}" + "update.updateAvailable": "업데이트 가능: v{{version}}", + "general.notifications": "알림", + "general.browserNotifications": "브라우저 알림", + "general.browserNotificationsDesc": "작업이 완료되고 탭이 포커스되지 않았을 때 OS 알림을 표시합니다.", + "general.notificationSound": "알림 소리", + "general.notificationPermissionDenied": "브라우저 알림 권한이 거부되었습니다", + "general.webhookUrl": "Webhook URL", + "general.webhookUrlSaved": "Webhook URL이 저장되었습니다", + "general.webhookUrlSaveFailed": "Webhook URL 저장에 실패했습니다", + "general.webhookUrlHint": "Slack, Discord, Teams 및 일반 JSON 웹훅을 지원합니다.", + "general.updates": "업데이트", + "general.updateNotifications": "업데이트 알림", + "general.updateNotificationsDesc": "cptr의 새 버전이 사용 가능할 때 알림을 표시합니다.", + "general.messageQueue": "메시지 대기열", + "general.queue": "대기열", + "general.interrupt": "중단", + "general.queueDesc": "생성 중 전송된 메시지는 대기열에 넣어지고 완료 후 전송됩니다.", + "general.interruptDesc": "메시지를 보내면 현재 생성이 취소됩니다.", + "settings.keyboard": "키보드", + "settings.configuration": "구성", + "keyboard.title": "키보드 단축키", + "keyboard.resetDefaults": "기본값 복원", + "keyboard.command": "명령", + "keyboard.keybinding": "키 바인딩", + "keyboard.unassigned": "미지정", + "keyboard.pressKeys": "키를 누르세요…", + "keyboard.rebindHint": "바인딩을 클릭하여 재설정. Esc로 취소.", + "changelog.whatsNew": "새로운 기능", + "changelog.releaseNotes": "릴리스 노트", + "changelog.loadError": "릴리스 노트를 불러올 수 없습니다.", + "changelog.retry": "재시도", + "changelog.loading": "릴리스 노트 불러오는 중...", + "changelog.done": "완료", + "modelSelector.noModels": "사용 가능한 모델 없음", + "modelSelector.selectModel": "모델 선택", + "modelSelector.noMatches": "결과 없음", + "modelSelector.search": "검색...", + "about.licenseName": "오픈 사용 라이선스", + "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", + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation" } diff --git a/cptr/frontend/src/lib/i18n/locales/pt-BR.json b/cptr/frontend/src/lib/i18n/locales/pt-BR.json index 5f39676..fcf57e6 100644 --- a/cptr/frontend/src/lib/i18n/locales/pt-BR.json +++ b/cptr/frontend/src/lib/i18n/locales/pt-BR.json @@ -77,7 +77,6 @@ "search.noResults": "Nenhum resultado encontrado", "search.recentChats": "Conversas recentes", "search.noRecentChats": "Sem conversas recentes", - "quickOpen.searchFiles": "Buscar arquivos...", "quickOpen.noFiles": "Nenhum arquivo encontrado", "settings.back": "Voltar", @@ -275,8 +274,105 @@ "models.systemPromptInherited": "Herda o padrão global", "models.templateVariables": "Variáveis", "models.resetToDefault": "Redefinir", - "update.available": "Uma nova versão (v{{version}}) está disponível.", "update.viewRelease": "Ver notas da versão →", - "update.updateAvailable": "Atualização disponível: v{{version}}" + "update.updateAvailable": "Atualização disponível: v{{version}}", + "general.notifications": "Notificações", + "general.browserNotifications": "Notificações do navegador", + "general.browserNotificationsDesc": "Mostrar notificações do sistema quando uma tarefa é concluída e a aba não está em foco.", + "general.notificationSound": "Som de notificação", + "general.notificationPermissionDenied": "Permissão de notificação do navegador negada", + "general.webhookUrl": "URL do webhook", + "general.webhookUrlSaved": "URL do webhook salva", + "general.webhookUrlSaveFailed": "Falha ao salvar URL do webhook", + "general.webhookUrlHint": "Suporta Slack, Discord, Teams e webhooks JSON genéricos.", + "general.updates": "Atualizações", + "general.updateNotifications": "Notificações de atualização", + "general.updateNotificationsDesc": "Mostrar um aviso quando uma nova versão do cptr estiver disponível.", + "general.messageQueue": "Fila de mensagens", + "general.queue": "Fila", + "general.interrupt": "Interromper", + "general.queueDesc": "Mensagens enviadas durante a geração são enfileiradas e enviadas após a conclusão.", + "general.interruptDesc": "Enviar uma mensagem cancela a geração atual.", + "settings.keyboard": "Teclado", + "settings.configuration": "Configuração", + "keyboard.title": "Atalhos de teclado", + "keyboard.resetDefaults": "Redefinir padrões", + "keyboard.command": "Comando", + "keyboard.keybinding": "Atalho", + "keyboard.unassigned": "Não atribuído", + "keyboard.pressKeys": "Pressione as teclas…", + "keyboard.rebindHint": "Clique em um atalho para reatribuir. Pressione Esc para cancelar.", + "changelog.whatsNew": "Novidades", + "changelog.releaseNotes": "Notas da versão", + "changelog.loadError": "Não foi possível carregar as notas da versão.", + "changelog.retry": "Tentar novamente", + "changelog.loading": "Carregando notas da versão...", + "changelog.done": "Concluído", + "modelSelector.noModels": "Nenhum modelo disponível", + "modelSelector.selectModel": "Selecionar modelo", + "modelSelector.noMatches": "Sem resultados", + "modelSelector.search": "Pesquisar...", + "about.licenseName": "Licença de Uso Aberto", + "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", + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation" } diff --git a/cptr/frontend/src/lib/i18n/locales/ru.json b/cptr/frontend/src/lib/i18n/locales/ru.json index f4bf945..2c01255 100644 --- a/cptr/frontend/src/lib/i18n/locales/ru.json +++ b/cptr/frontend/src/lib/i18n/locales/ru.json @@ -77,7 +77,6 @@ "search.noResults": "Результаты не найдены", "search.recentChats": "Недавние чаты", "search.noRecentChats": "Нет недавних чатов", - "quickOpen.searchFiles": "Поиск файлов...", "quickOpen.noFiles": "Файлы не найдены", "settings.back": "Назад", @@ -275,8 +274,105 @@ "models.systemPromptInherited": "Наследует глобальные настройки", "models.templateVariables": "Переменные", "models.resetToDefault": "Сбросить", - "update.available": "Доступна новая версия (v{{version}}).", "update.viewRelease": "Посмотреть заметки о выпуске →", - "update.updateAvailable": "Доступно обновление: v{{version}}" + "update.updateAvailable": "Доступно обновление: v{{version}}", + "general.notifications": "Уведомления", + "general.browserNotifications": "Уведомления браузера", + "general.browserNotificationsDesc": "Показывать уведомления ОС при завершении задачи, когда вкладка не в фокусе.", + "general.notificationSound": "Звук уведомления", + "general.notificationPermissionDenied": "Разрешение на уведомления браузера отклонено", + "general.webhookUrl": "URL вебхука", + "general.webhookUrlSaved": "URL вебхука сохранён", + "general.webhookUrlSaveFailed": "Не удалось сохранить URL вебхука", + "general.webhookUrlHint": "Поддерживает Slack, Discord, Teams и универсальные JSON-вебхуки.", + "general.updates": "Обновления", + "general.updateNotifications": "Уведомления об обновлениях", + "general.updateNotificationsDesc": "Показывать уведомление, когда доступна новая версия cptr.", + "general.messageQueue": "Очередь сообщений", + "general.queue": "Очередь", + "general.interrupt": "Прервать", + "general.queueDesc": "Сообщения, отправленные во время генерации, ставятся в очередь и отправляются после завершения.", + "general.interruptDesc": "Отправка сообщения отменяет текущую генерацию.", + "settings.keyboard": "Клавиатура", + "settings.configuration": "Конфигурация", + "keyboard.title": "Сочетания клавиш", + "keyboard.resetDefaults": "Сбросить настройки", + "keyboard.command": "Команда", + "keyboard.keybinding": "Клавиша", + "keyboard.unassigned": "Не назначено", + "keyboard.pressKeys": "Нажмите клавиши…", + "keyboard.rebindHint": "Нажмите на привязку для переназначения. Esc для отмены.", + "changelog.whatsNew": "Что нового", + "changelog.releaseNotes": "Примечания к выпуску", + "changelog.loadError": "Не удалось загрузить примечания к выпуску.", + "changelog.retry": "Повторить", + "changelog.loading": "Загрузка примечаний к выпуску...", + "changelog.done": "Готово", + "modelSelector.noModels": "Нет доступных моделей", + "modelSelector.selectModel": "Выбрать модель", + "modelSelector.noMatches": "Нет совпадений", + "modelSelector.search": "Поиск...", + "about.licenseName": "Открытая лицензия", + "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", + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation" } diff --git a/cptr/frontend/src/lib/i18n/locales/zh-CN.json b/cptr/frontend/src/lib/i18n/locales/zh-CN.json index be0981f..3433a9f 100644 --- a/cptr/frontend/src/lib/i18n/locales/zh-CN.json +++ b/cptr/frontend/src/lib/i18n/locales/zh-CN.json @@ -77,7 +77,6 @@ "search.noResults": "未找到结果", "search.recentChats": "最近对话", "search.noRecentChats": "没有最近对话", - "quickOpen.searchFiles": "搜索文件...", "quickOpen.noFiles": "未找到文件", "settings.back": "返回", @@ -275,8 +274,105 @@ "models.systemPromptInherited": "继承全局默认值", "models.templateVariables": "变量", "models.resetToDefault": "重置", - "update.available": "新版本 (v{{version}}) 可用。", "update.viewRelease": "查看发行说明 →", - "update.updateAvailable": "有可用更新: v{{version}}" + "update.updateAvailable": "有可用更新: v{{version}}", + "general.notifications": "通知", + "general.browserNotifications": "浏览器通知", + "general.browserNotificationsDesc": "当任务完成且标签页未聚焦时显示系统通知。", + "general.notificationSound": "通知声音", + "general.notificationPermissionDenied": "浏览器通知权限被拒绝", + "general.webhookUrl": "Webhook URL", + "general.webhookUrlSaved": "Webhook URL 已保存", + "general.webhookUrlSaveFailed": "保存 Webhook URL 失败", + "general.webhookUrlHint": "支持 Slack、Discord、Teams 和通用 JSON Webhook。", + "general.updates": "更新", + "general.updateNotifications": "更新通知", + "general.updateNotificationsDesc": "当 cptr 有新版本可用时显示提示。", + "general.messageQueue": "消息队列", + "general.queue": "队列", + "general.interrupt": "中断", + "general.queueDesc": "生成期间发送的消息将排队,并在完成后发送。", + "general.interruptDesc": "发送消息会取消当前生成。", + "settings.keyboard": "键盘", + "settings.configuration": "配置", + "keyboard.title": "键盘快捷键", + "keyboard.resetDefaults": "恢复默认", + "keyboard.command": "命令", + "keyboard.keybinding": "快捷键", + "keyboard.unassigned": "未分配", + "keyboard.pressKeys": "按下按键…", + "keyboard.rebindHint": "点击绑定重新设置。按 Esc 取消。", + "changelog.whatsNew": "新功能", + "changelog.releaseNotes": "发行说明", + "changelog.loadError": "无法加载发行说明。", + "changelog.retry": "重试", + "changelog.loading": "正在加载发行说明...", + "changelog.done": "完成", + "modelSelector.noModels": "没有可用模型", + "modelSelector.selectModel": "选择模型", + "modelSelector.noMatches": "无匹配", + "modelSelector.search": "搜索...", + "about.licenseName": "开放使用许可", + "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", + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation" } diff --git a/cptr/frontend/src/lib/i18n/locales/zh-TW.json b/cptr/frontend/src/lib/i18n/locales/zh-TW.json index 0f96c2f..4f313cf 100644 --- a/cptr/frontend/src/lib/i18n/locales/zh-TW.json +++ b/cptr/frontend/src/lib/i18n/locales/zh-TW.json @@ -29,6 +29,7 @@ "sidebar.remove": "移除", "sidebar.workspaceOptions": "工作區選項", "sidebar.closeSidebar": "關閉側邊欄", + "sidebar.showMore": "顯示更多", "bar.newFile": "新增檔案", "bar.newTerminal": "新增終端機", "bar.closeTab": "關閉分頁", @@ -69,6 +70,13 @@ "files.showHidden": "顯示點檔", "files.hideHidden": "隱藏點檔", "files.failedToLoad": "載入目錄失敗", + "search.placeholder": "搜尋...", + "search.search": "搜尋", + "search.chats": "對話", + "search.files": "檔案", + "search.noResults": "找不到結果", + "search.recentChats": "最近對話", + "search.noRecentChats": "沒有最近對話", "quickOpen.searchFiles": "搜尋檔案...", "quickOpen.noFiles": "找不到檔案", "settings.back": "返回", @@ -194,8 +202,11 @@ "connections.baseUrl": "基礎 URL", "connections.prefixId": "前綴 ID", "connections.models": "模型(以逗號分隔,可選)", + "connections.modelsHint": "留空以從提供商自動探索。", "connections.cancel": "取消", "connections.add": "新增", + "connections.edit": "編輯連線", + "connections.updated": "連線已更新", "connections.verify": "驗證", "bar.newChat": "新增聊天", "home.start": "開始", @@ -245,15 +256,123 @@ "admin.webCcKey": "API 金鑰", "admin.webCcModel": "模型", "admin.webCcHint": "使用任何 OpenAI 相容端點(如 Perplexity Sonar、LiteLLM 代理)", - "admin.models": "Models", - "models.defaults": "Defaults", - "models.noModels": "No models available", - "models.failedToLoad": "Failed to load model config", - "models.failedToToggle": "Failed to toggle model", - "models.failedToSave": "Failed to save", - "models.systemPrompt": "System Prompt", - "models.systemPromptHint": "Default instructions sent to the model. Use {{VARIABLES}} for dynamic content.", - "models.systemPromptInherited": "Inherits global default", - "models.templateVariables": "Variables", - "models.resetToDefault": "Reset" + "admin.models": "模型", + "models.defaults": "預設值", + "models.noDefaults": "沒有全域預設值", + "models.noParams": "沒有參數", + "models.noModels": "沒有可用模型", + "models.addConnection": "請先新增連線。", + "models.failedToLoad": "載入模型設定失敗", + "models.failedToToggle": "切換模型失敗", + "models.failedToSave": "儲存失敗", + "models.savedDefaults": "全域預設值已儲存", + "models.savedParams": "{{name}} 的參數已儲存", + "models.add": "+ 新增", + "models.save": "儲存", + "models.systemPrompt": "系統提示詞", + "models.systemPromptHint": "傳送給模型的預設指令。使用 {{VARIABLES}} 插入動態內容。", + "models.systemPromptInherited": "繼承全域預設值", + "models.templateVariables": "變數", + "models.resetToDefault": "重設", + "update.available": "新版本 (v{{version}}) 可用。", + "update.viewRelease": "查看發行說明 →", + "update.updateAvailable": "有可用更新: v{{version}}", + "general.notifications": "通知", + "general.browserNotifications": "瀏覽器通知", + "general.browserNotificationsDesc": "當任務完成且分頁未聚焦時顯示系統通知。", + "general.notificationSound": "通知聲音", + "general.notificationPermissionDenied": "瀏覽器通知權限被拒絕", + "general.webhookUrl": "Webhook URL", + "general.webhookUrlSaved": "Webhook URL 已儲存", + "general.webhookUrlSaveFailed": "儲存 Webhook URL 失敗", + "general.webhookUrlHint": "支援 Slack、Discord、Teams 和通用 JSON Webhook。", + "general.updates": "更新", + "general.updateNotifications": "更新通知", + "general.updateNotificationsDesc": "當 cptr 有新版本可用時顯示提示。", + "general.messageQueue": "訊息佇列", + "general.queue": "佇列", + "general.interrupt": "中斷", + "general.queueDesc": "生成期間傳送的訊息會排入佇列,並在完成後傳送。", + "general.interruptDesc": "傳送訊息會取消目前的生成。", + "settings.keyboard": "鍵盤", + "settings.configuration": "設定", + "keyboard.title": "鍵盤快捷鍵", + "keyboard.resetDefaults": "恢復預設", + "keyboard.command": "指令", + "keyboard.keybinding": "快捷鍵", + "keyboard.unassigned": "未指定", + "keyboard.pressKeys": "按下按鍵…", + "keyboard.rebindHint": "點擊綁定重新設定。按 Esc 取消。", + "changelog.whatsNew": "最新消息", + "changelog.releaseNotes": "發行說明", + "changelog.loadError": "無法載入發行說明。", + "changelog.retry": "重試", + "changelog.loading": "正在載入發行說明...", + "changelog.done": "完成", + "modelSelector.noModels": "沒有可用模型", + "modelSelector.selectModel": "選擇模型", + "modelSelector.noMatches": "無匹配", + "modelSelector.search": "搜尋...", + "about.licenseName": "開放使用許可", + "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", + "automations.title": "Automations", + "automations.filter": "Filter...", + "automations.noMatches": "No matches", + "automations.noAutomations": "No automations yet", + "automations.create": "Create automation", + "automations.status": "Status", + "automations.active": "Active", + "automations.paused": "Paused", + "automations.all": "All", + "automations.schedule": "Schedule", + "automations.model": "Model", + "automations.nextRun": "Next run", + "automations.lastRun": "Last run", + "automations.webhook": "Webhook", + "automations.enabled": "Enabled", + "automations.regenerate": "Regenerate", + "automations.disable": "Disable", + "automations.enable": "Enable", + "automations.copied": "Copied!", + "automations.copy": "Copy", + "automations.prompt": "Prompt", + "automations.runs": "Runs", + "automations.noRuns": "No runs yet", + "automations.viewChat": "view chat →", + "automations.deleted": "Deleted", + "automations.webhookEnabled": "Webhook enabled", + "automations.webhookDisabled": "Webhook disabled", + "automations.failedToLoad": "Failed to load automations", + "automations.failedToLoadOne": "Failed to load automation", + "automations.failedToToggle": "Failed to toggle", + "automations.failedToDelete": "Failed to delete", + "automations.failedToRun": "Failed to run", + "automations.failedToGenerateWebhook": "Failed to generate webhook", + "automations.failedToRevokeWebhook": "Failed to revoke webhook", + "automations.triggered": "\"{{name}}\" triggered", + "automations.deleteConfirm": "Delete \"{{name}}\"?", + "automations.runNow": "Run now", + "automations.newAutomation": "New automation", + "automations.toggleSidebar": "Toggle sidebar", + "automationModal.titlePlaceholder": "Automation title", + "automationModal.instructions": "Instructions", + "automationModal.promptPlaceholder": "Enter prompt here...", + "automationModal.selectWorkspace": "Select workspace", + "automationModal.cancel": "Cancel", + "automationModal.saving": "Saving...", + "automationModal.save": "Save", + "automationModal.createBtn": "Create", + "automationModal.failedToSave": "Failed to save automation" }