-
System info
+
{$t('system.infoTitle')}
{#if welcomeData?.hostname}
{welcomeData.hostname}
@@ -67,7 +68,7 @@
{:else}
- System info unavailable
+ {$t('system.unavailable')}
{/if}
diff --git a/cptr/frontend/src/lib/i18n/locales/de.json b/cptr/frontend/src/lib/i18n/locales/de.json
index 268f031..b77e386 100644
--- a/cptr/frontend/src/lib/i18n/locales/de.json
+++ b/cptr/frontend/src/lib/i18n/locales/de.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "Keine letzten Chats",
"settings.back": "Zurück",
"settings.general": "Allgemein",
+ "settings.memory": "Speicher",
"pwa.settingsTitle": "Progressive Web App",
"intent.chooseWorkspace": "Arbeitsbereich",
"intent.newNote": "Notiz",
@@ -113,6 +114,17 @@
"settings.save": "Speichern",
"settings.saved": "Gespeichert",
"settings.saving": "Speichern…",
+ "memory.failedToLoad": "Speicher konnte nicht geladen werden",
+ "memory.failedToSaveSettings": "Speichereinstellungen konnten nicht gespeichert werden",
+ "memory.failedToUpdate": "Speicher konnte nicht aktualisiert werden",
+ "memory.behavior": "Verhalten",
+ "memory.enable": "Speicher aktivieren",
+ "memory.assistantCanSave": "Assistent darf Erinnerungen speichern",
+ "memory.backgroundReview": "Hintergrundprüfung",
+ "memory.limits": "Limits",
+ "memory.reviewEvery": "Prüfen alle",
+ "memory.userLimit": "Benutzerlimit",
+ "memory.userMemory": "Benutzerspeicher",
"general.title": "Allgemein",
"general.theme": "Design",
"general.light": "Hell",
@@ -265,7 +277,16 @@
"bar.newChat": "Neuer Chat",
"home.start": "Start",
"home.openFolder": "Ordner öffnen...",
+ "home.openWorkspace": "Arbeitsbereich öffnen",
"home.recent": "Zuletzt verwendet",
+ "home.continue": "Fortsetzen",
+ "home.noWorkspaces": "Noch keine Arbeitsbereiche",
+ "home.terminalShort_one": "{{count}} Terminal",
+ "home.terminalShort_other": "{{count}} Terminals",
+ "home.activeChat_one": "{{count}} aktiver Chat",
+ "home.activeChat_other": "{{count}} aktive Chats",
+ "home.chat_one": "{{count}} Chat",
+ "home.chat_other": "{{count}} Chats",
"home.folders": "Vorgeschlagen",
"home.chatComingSoon": "Chat (demnächst verfügbar)",
"directory.cancel": "Abbrechen",
@@ -284,11 +305,20 @@
"port.preview": "Vorschau",
"port.via": "über {{name}}",
"system.title": "System",
+ "system.infoTitle": "Systeminfo",
+ "system.unavailable": "Systeminfo nicht verfügbar",
"system.cpu": "CPU",
+ "system.cpuShort": "CPU",
"system.memory": "Speicher",
+ "system.memoryShort": "RAM",
"system.disk": "Festplatte",
"system.cores": "{{count}} Kerne",
"system.process": "PROZESS",
+ "system.summaryCpu": "CPU {{percent}}%",
+ "system.summaryMemory": "RAM {{percent}}%",
+ "system.summaryDisk": "Disk {{percent}}%",
+ "system.uptime": "läuft {{value}}",
+ "system.load": "Last {{value}}",
"admin.web": "Web",
"admin.webSearch": "Suche",
"admin.webEnabled": "Webzugriff aktivieren",
diff --git a/cptr/frontend/src/lib/i18n/locales/en.json b/cptr/frontend/src/lib/i18n/locales/en.json
index 691e84a..28b1382 100644
--- a/cptr/frontend/src/lib/i18n/locales/en.json
+++ b/cptr/frontend/src/lib/i18n/locales/en.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "No recent chats",
"settings.back": "Back",
"settings.general": "General",
+ "settings.memory": "Memory",
"pwa.settingsTitle": "Progressive Web App",
"intent.chooseWorkspace": "Workspace",
"intent.newNote": "Note",
@@ -113,6 +114,17 @@
"settings.save": "Save",
"settings.saved": "Saved",
"settings.saving": "Saving…",
+ "memory.failedToLoad": "Failed to load memory",
+ "memory.failedToSaveSettings": "Failed to save memory settings",
+ "memory.failedToUpdate": "Failed to update memory",
+ "memory.behavior": "Behavior",
+ "memory.enable": "Enable memory",
+ "memory.assistantCanSave": "Assistant can save memories",
+ "memory.backgroundReview": "Background review",
+ "memory.limits": "Limits",
+ "memory.reviewEvery": "Review every",
+ "memory.userLimit": "User limit",
+ "memory.userMemory": "User Memory",
"general.title": "General",
"general.theme": "Theme",
"general.light": "Light",
@@ -265,7 +277,16 @@
"bar.newChat": "New Chat",
"home.start": "Start",
"home.openFolder": "Open Folder...",
+ "home.openWorkspace": "Open workspace",
"home.recent": "Recent",
+ "home.continue": "Continue",
+ "home.noWorkspaces": "No workspaces yet",
+ "home.terminalShort_one": "{{count}} term",
+ "home.terminalShort_other": "{{count}} terms",
+ "home.activeChat_one": "{{count}} active chat",
+ "home.activeChat_other": "{{count}} active chats",
+ "home.chat_one": "{{count}} chat",
+ "home.chat_other": "{{count}} chats",
"home.folders": "Suggested",
"home.chatComingSoon": "Chat (coming soon)",
"directory.cancel": "Cancel",
@@ -284,11 +305,20 @@
"port.preview": "Preview",
"port.via": "via {{name}}",
"system.title": "System",
+ "system.infoTitle": "System info",
+ "system.unavailable": "System info unavailable",
"system.cpu": "CPU",
+ "system.cpuShort": "CPU",
"system.memory": "Memory",
+ "system.memoryShort": "MEM",
"system.disk": "Disk",
"system.cores": "{{count}} cores",
"system.process": "PROCESS",
+ "system.summaryCpu": "cpu {{percent}}%",
+ "system.summaryMemory": "mem {{percent}}%",
+ "system.summaryDisk": "disk {{percent}}%",
+ "system.uptime": "up {{value}}",
+ "system.load": "load {{value}}",
"admin.web": "Web",
"admin.webSearch": "Search",
"admin.webEnabled": "Enable web access",
diff --git a/cptr/frontend/src/lib/i18n/locales/es.json b/cptr/frontend/src/lib/i18n/locales/es.json
index c964a8c..18a48e0 100644
--- a/cptr/frontend/src/lib/i18n/locales/es.json
+++ b/cptr/frontend/src/lib/i18n/locales/es.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "Sin chats recientes",
"settings.back": "Atrás",
"settings.general": "General",
+ "settings.memory": "Memoria",
"pwa.settingsTitle": "Aplicación web progresiva",
"intent.chooseWorkspace": "Espacio de trabajo",
"intent.newNote": "Nota",
@@ -113,6 +114,17 @@
"settings.save": "Guardar",
"settings.saved": "Guardado",
"settings.saving": "Guardando…",
+ "memory.failedToLoad": "Error al cargar la memoria",
+ "memory.failedToSaveSettings": "Error al guardar la configuración de memoria",
+ "memory.failedToUpdate": "Error al actualizar la memoria",
+ "memory.behavior": "Comportamiento",
+ "memory.enable": "Activar memoria",
+ "memory.assistantCanSave": "El asistente puede guardar recuerdos",
+ "memory.backgroundReview": "Revisión en segundo plano",
+ "memory.limits": "Límites",
+ "memory.reviewEvery": "Revisar cada",
+ "memory.userLimit": "Límite de usuario",
+ "memory.userMemory": "Memoria de usuario",
"general.title": "General",
"general.theme": "Tema",
"general.light": "Claro",
@@ -265,7 +277,16 @@
"bar.newChat": "Nuevo chat",
"home.start": "Inicio",
"home.openFolder": "Abrir carpeta...",
+ "home.openWorkspace": "Abrir espacio de trabajo",
"home.recent": "Recientes",
+ "home.continue": "Continuar",
+ "home.noWorkspaces": "Aún no hay espacios de trabajo",
+ "home.terminalShort_one": "{{count}} terminal",
+ "home.terminalShort_other": "{{count}} terminales",
+ "home.activeChat_one": "{{count}} chat activo",
+ "home.activeChat_other": "{{count}} chats activos",
+ "home.chat_one": "{{count}} chat",
+ "home.chat_other": "{{count}} chats",
"home.folders": "Sugeridos",
"home.chatComingSoon": "Chat (próximamente)",
"directory.cancel": "Cancelar",
@@ -284,11 +305,20 @@
"port.preview": "Vista previa",
"port.via": "vía {{name}}",
"system.title": "Sistema",
+ "system.infoTitle": "Información del sistema",
+ "system.unavailable": "Información del sistema no disponible",
"system.cpu": "CPU",
+ "system.cpuShort": "CPU",
"system.memory": "Memoria",
+ "system.memoryShort": "MEM",
"system.disk": "Disco",
"system.cores": "{{count}} núcleos",
"system.process": "PROCESO",
+ "system.summaryCpu": "cpu {{percent}}%",
+ "system.summaryMemory": "mem {{percent}}%",
+ "system.summaryDisk": "disco {{percent}}%",
+ "system.uptime": "activo {{value}}",
+ "system.load": "carga {{value}}",
"admin.web": "Web",
"admin.webSearch": "Búsqueda",
"admin.webEnabled": "Habilitar acceso web",
diff --git a/cptr/frontend/src/lib/i18n/locales/fr.json b/cptr/frontend/src/lib/i18n/locales/fr.json
index e5a365f..bc8cb85 100644
--- a/cptr/frontend/src/lib/i18n/locales/fr.json
+++ b/cptr/frontend/src/lib/i18n/locales/fr.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "Aucune conversation récente",
"settings.back": "Retour",
"settings.general": "Général",
+ "settings.memory": "Mémoire",
"pwa.settingsTitle": "Application web progressive",
"intent.chooseWorkspace": "Espace de travail",
"intent.newNote": "Note",
@@ -113,6 +114,17 @@
"settings.save": "Enregistrer",
"settings.saved": "Enregistré",
"settings.saving": "Enregistrement…",
+ "memory.failedToLoad": "Échec du chargement de la mémoire",
+ "memory.failedToSaveSettings": "Échec d’enregistrement des paramètres de mémoire",
+ "memory.failedToUpdate": "Échec de mise à jour de la mémoire",
+ "memory.behavior": "Comportement",
+ "memory.enable": "Activer la mémoire",
+ "memory.assistantCanSave": "L’assistant peut enregistrer des souvenirs",
+ "memory.backgroundReview": "Révision en arrière-plan",
+ "memory.limits": "Limites",
+ "memory.reviewEvery": "Réviser tous les",
+ "memory.userLimit": "Limite utilisateur",
+ "memory.userMemory": "Mémoire utilisateur",
"general.title": "Général",
"general.theme": "Thème",
"general.light": "Clair",
@@ -265,7 +277,16 @@
"bar.newChat": "Nouveau chat",
"home.start": "Démarrer",
"home.openFolder": "Ouvrir un dossier...",
+ "home.openWorkspace": "Ouvrir un espace de travail",
"home.recent": "Récents",
+ "home.continue": "Continuer",
+ "home.noWorkspaces": "Aucun espace de travail pour le moment",
+ "home.terminalShort_one": "{{count}} terminal",
+ "home.terminalShort_other": "{{count}} terminaux",
+ "home.activeChat_one": "{{count}} chat actif",
+ "home.activeChat_other": "{{count}} chats actifs",
+ "home.chat_one": "{{count}} chat",
+ "home.chat_other": "{{count}} chats",
"home.folders": "Suggérés",
"home.chatComingSoon": "Chat (bientôt disponible)",
"directory.cancel": "Annuler",
@@ -284,11 +305,20 @@
"port.preview": "Aperçu",
"port.via": "via {{name}}",
"system.title": "Système",
+ "system.infoTitle": "Infos système",
+ "system.unavailable": "Infos système indisponibles",
"system.cpu": "CPU",
+ "system.cpuShort": "CPU",
"system.memory": "Mémoire",
+ "system.memoryShort": "MÉM",
"system.disk": "Disque",
"system.cores": "{{count}} cœurs",
"system.process": "PROCESSUS",
+ "system.summaryCpu": "cpu {{percent}}%",
+ "system.summaryMemory": "mém {{percent}}%",
+ "system.summaryDisk": "disque {{percent}}%",
+ "system.uptime": "actif {{value}}",
+ "system.load": "charge {{value}}",
"admin.web": "Web",
"admin.webSearch": "Recherche",
"admin.webEnabled": "Activer l’accès web",
diff --git a/cptr/frontend/src/lib/i18n/locales/ja.json b/cptr/frontend/src/lib/i18n/locales/ja.json
index a7f59f6..6287db7 100644
--- a/cptr/frontend/src/lib/i18n/locales/ja.json
+++ b/cptr/frontend/src/lib/i18n/locales/ja.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "最近のチャットはありません",
"settings.back": "戻る",
"settings.general": "一般",
+ "settings.memory": "メモリ",
"pwa.settingsTitle": "プログレッシブ Web アプリ",
"intent.chooseWorkspace": "ワークスペース",
"intent.newNote": "メモ",
@@ -113,6 +114,17 @@
"settings.save": "保存",
"settings.saved": "保存しました",
"settings.saving": "保存中…",
+ "memory.failedToLoad": "メモリの読み込みに失敗しました",
+ "memory.failedToSaveSettings": "メモリ設定の保存に失敗しました",
+ "memory.failedToUpdate": "メモリの更新に失敗しました",
+ "memory.behavior": "動作",
+ "memory.enable": "メモリを有効化",
+ "memory.assistantCanSave": "アシスタントがメモリを保存できます",
+ "memory.backgroundReview": "バックグラウンドレビュー",
+ "memory.limits": "制限",
+ "memory.reviewEvery": "レビュー間隔",
+ "memory.userLimit": "ユーザー制限",
+ "memory.userMemory": "ユーザーメモリ",
"general.title": "一般",
"general.theme": "テーマ",
"general.light": "ライト",
@@ -265,7 +277,16 @@
"bar.newChat": "新しいチャット",
"home.start": "スタート",
"home.openFolder": "フォルダを開く...",
+ "home.openWorkspace": "ワークスペースを開く",
"home.recent": "最近",
+ "home.continue": "続ける",
+ "home.noWorkspaces": "ワークスペースはまだありません",
+ "home.terminalShort_one": "{{count}} 件のターミナル",
+ "home.terminalShort_other": "{{count}} 件のターミナル",
+ "home.activeChat_one": "{{count}} 件のアクティブなチャット",
+ "home.activeChat_other": "{{count}} 件のアクティブなチャット",
+ "home.chat_one": "{{count}} 件のチャット",
+ "home.chat_other": "{{count}} 件のチャット",
"home.folders": "おすすめ",
"home.chatComingSoon": "チャット(近日公開)",
"directory.cancel": "キャンセル",
@@ -284,11 +305,20 @@
"port.preview": "プレビュー",
"port.via": "{{name}} 経由",
"system.title": "システム",
+ "system.infoTitle": "システム情報",
+ "system.unavailable": "システム情報を利用できません",
"system.cpu": "CPU",
+ "system.cpuShort": "CPU",
"system.memory": "メモリ",
+ "system.memoryShort": "メモリ",
"system.disk": "ディスク",
"system.cores": "{{count}} コア",
"system.process": "プロセス",
+ "system.summaryCpu": "CPU {{percent}}%",
+ "system.summaryMemory": "メモリ {{percent}}%",
+ "system.summaryDisk": "ディスク {{percent}}%",
+ "system.uptime": "稼働 {{value}}",
+ "system.load": "負荷 {{value}}",
"admin.web": "ウェブ",
"admin.webSearch": "検索",
"admin.webEnabled": "Webアクセスを有効にする",
diff --git a/cptr/frontend/src/lib/i18n/locales/ko.json b/cptr/frontend/src/lib/i18n/locales/ko.json
index 13e1b9c..dbc49dd 100644
--- a/cptr/frontend/src/lib/i18n/locales/ko.json
+++ b/cptr/frontend/src/lib/i18n/locales/ko.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "최근 채팅 없음",
"settings.back": "뒤로",
"settings.general": "일반",
+ "settings.memory": "메모리",
"pwa.settingsTitle": "프로그레시브 웹 앱",
"intent.chooseWorkspace": "작업공간",
"intent.newNote": "노트",
@@ -113,6 +114,17 @@
"settings.save": "저장",
"settings.saved": "저장됨",
"settings.saving": "저장 중…",
+ "memory.failedToLoad": "메모리를 불러오지 못했습니다",
+ "memory.failedToSaveSettings": "메모리 설정 저장 실패",
+ "memory.failedToUpdate": "메모리 업데이트 실패",
+ "memory.behavior": "동작",
+ "memory.enable": "메모리 활성화",
+ "memory.assistantCanSave": "어시스턴트가 메모리를 저장할 수 있음",
+ "memory.backgroundReview": "백그라운드 검토",
+ "memory.limits": "제한",
+ "memory.reviewEvery": "검토 간격",
+ "memory.userLimit": "사용자 제한",
+ "memory.userMemory": "사용자 메모리",
"general.title": "일반",
"general.theme": "테마",
"general.light": "라이트",
@@ -265,7 +277,16 @@
"bar.newChat": "새 채팅",
"home.start": "시작",
"home.openFolder": "폴더 열기...",
+ "home.openWorkspace": "작업공간 열기",
"home.recent": "최근",
+ "home.continue": "계속",
+ "home.noWorkspaces": "아직 작업공간이 없습니다",
+ "home.terminalShort_one": "터미널 {{count}}개",
+ "home.terminalShort_other": "터미널 {{count}}개",
+ "home.activeChat_one": "활성 채팅 {{count}}개",
+ "home.activeChat_other": "활성 채팅 {{count}}개",
+ "home.chat_one": "채팅 {{count}}개",
+ "home.chat_other": "채팅 {{count}}개",
"home.folders": "추천",
"home.chatComingSoon": "채팅 (출시 예정)",
"directory.cancel": "취소",
@@ -284,11 +305,20 @@
"port.preview": "미리보기",
"port.via": "{{name}} 경유",
"system.title": "시스템",
+ "system.infoTitle": "시스템 정보",
+ "system.unavailable": "시스템 정보를 사용할 수 없습니다",
"system.cpu": "CPU",
+ "system.cpuShort": "CPU",
"system.memory": "메모리",
+ "system.memoryShort": "메모리",
"system.disk": "디스크",
"system.cores": "{{count}} 코어",
"system.process": "프로세스",
+ "system.summaryCpu": "cpu {{percent}}%",
+ "system.summaryMemory": "메모리 {{percent}}%",
+ "system.summaryDisk": "디스크 {{percent}}%",
+ "system.uptime": "가동 {{value}}",
+ "system.load": "부하 {{value}}",
"admin.web": "웹",
"admin.webSearch": "검색",
"admin.webEnabled": "웹 액세스 활성화",
diff --git a/cptr/frontend/src/lib/i18n/locales/pt-BR.json b/cptr/frontend/src/lib/i18n/locales/pt-BR.json
index 9c393f2..b387652 100644
--- a/cptr/frontend/src/lib/i18n/locales/pt-BR.json
+++ b/cptr/frontend/src/lib/i18n/locales/pt-BR.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "Sem conversas recentes",
"settings.back": "Voltar",
"settings.general": "Geral",
+ "settings.memory": "Memória",
"pwa.settingsTitle": "Aplicativo Web Progressivo",
"intent.chooseWorkspace": "Workspace",
"intent.newNote": "Nota",
@@ -113,6 +114,17 @@
"settings.save": "Salvar",
"settings.saved": "Salvo",
"settings.saving": "Salvando…",
+ "memory.failedToLoad": "Falha ao carregar memória",
+ "memory.failedToSaveSettings": "Falha ao salvar configurações de memória",
+ "memory.failedToUpdate": "Falha ao atualizar memória",
+ "memory.behavior": "Comportamento",
+ "memory.enable": "Ativar memória",
+ "memory.assistantCanSave": "Assistente pode salvar memórias",
+ "memory.backgroundReview": "Revisão em segundo plano",
+ "memory.limits": "Limites",
+ "memory.reviewEvery": "Revisar a cada",
+ "memory.userLimit": "Limite do usuário",
+ "memory.userMemory": "Memória do usuário",
"general.title": "Geral",
"general.theme": "Tema",
"general.light": "Claro",
@@ -265,7 +277,16 @@
"bar.newChat": "Novo chat",
"home.start": "Início",
"home.openFolder": "Abrir pasta...",
+ "home.openWorkspace": "Abrir workspace",
"home.recent": "Recentes",
+ "home.continue": "Continuar",
+ "home.noWorkspaces": "Nenhum workspace ainda",
+ "home.terminalShort_one": "{{count}} terminal",
+ "home.terminalShort_other": "{{count}} terminais",
+ "home.activeChat_one": "{{count}} chat ativo",
+ "home.activeChat_other": "{{count}} chats ativos",
+ "home.chat_one": "{{count}} chat",
+ "home.chat_other": "{{count}} chats",
"home.folders": "Sugeridos",
"home.chatComingSoon": "Chat (em breve)",
"directory.cancel": "Cancelar",
@@ -284,11 +305,20 @@
"port.preview": "Visualizar",
"port.via": "via {{name}}",
"system.title": "Sistema",
+ "system.infoTitle": "Informações do sistema",
+ "system.unavailable": "Informações do sistema indisponíveis",
"system.cpu": "CPU",
+ "system.cpuShort": "CPU",
"system.memory": "Memória",
+ "system.memoryShort": "MEM",
"system.disk": "Disco",
"system.cores": "{{count}} núcleos",
"system.process": "PROCESSO",
+ "system.summaryCpu": "cpu {{percent}}%",
+ "system.summaryMemory": "mem {{percent}}%",
+ "system.summaryDisk": "disco {{percent}}%",
+ "system.uptime": "ativo {{value}}",
+ "system.load": "carga {{value}}",
"admin.web": "Web",
"admin.webSearch": "Pesquisa",
"admin.webEnabled": "Ativar acesso à web",
diff --git a/cptr/frontend/src/lib/i18n/locales/ru.json b/cptr/frontend/src/lib/i18n/locales/ru.json
index 9549b09..734900e 100644
--- a/cptr/frontend/src/lib/i18n/locales/ru.json
+++ b/cptr/frontend/src/lib/i18n/locales/ru.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "Нет недавних чатов",
"settings.back": "Назад",
"settings.general": "Основные",
+ "settings.memory": "Память",
"pwa.settingsTitle": "Прогрессивное веб-приложение",
"intent.chooseWorkspace": "Рабочая область",
"intent.newNote": "Заметка",
@@ -113,6 +114,17 @@
"settings.save": "Сохранить",
"settings.saved": "Сохранено",
"settings.saving": "Сохранение…",
+ "memory.failedToLoad": "Не удалось загрузить память",
+ "memory.failedToSaveSettings": "Не удалось сохранить настройки памяти",
+ "memory.failedToUpdate": "Не удалось обновить память",
+ "memory.behavior": "Поведение",
+ "memory.enable": "Включить память",
+ "memory.assistantCanSave": "Ассистент может сохранять воспоминания",
+ "memory.backgroundReview": "Фоновая проверка",
+ "memory.limits": "Лимиты",
+ "memory.reviewEvery": "Проверять каждые",
+ "memory.userLimit": "Лимит пользователя",
+ "memory.userMemory": "Память пользователя",
"general.title": "Основные",
"general.theme": "Тема",
"general.light": "Светлая",
@@ -265,7 +277,16 @@
"bar.newChat": "Новый чат",
"home.start": "Начало",
"home.openFolder": "Открыть папку...",
+ "home.openWorkspace": "Открыть рабочую область",
"home.recent": "Недавние",
+ "home.continue": "Продолжить",
+ "home.noWorkspaces": "Рабочих областей пока нет",
+ "home.terminalShort_one": "{{count}} терминал",
+ "home.terminalShort_other": "{{count}} терминалов",
+ "home.activeChat_one": "{{count}} активный чат",
+ "home.activeChat_other": "{{count}} активных чатов",
+ "home.chat_one": "{{count}} чат",
+ "home.chat_other": "{{count}} чатов",
"home.folders": "Предложенные",
"home.chatComingSoon": "Чат (скоро)",
"directory.cancel": "Отмена",
@@ -284,11 +305,20 @@
"port.preview": "Предпросмотр",
"port.via": "через {{name}}",
"system.title": "Система",
+ "system.infoTitle": "Информация о системе",
+ "system.unavailable": "Информация о системе недоступна",
"system.cpu": "ЦП",
+ "system.cpuShort": "CPU",
"system.memory": "Память",
+ "system.memoryShort": "ПАМ",
"system.disk": "Диск",
"system.cores": "{{count}} ядер",
"system.process": "ПРОЦЕСС",
+ "system.summaryCpu": "cpu {{percent}}%",
+ "system.summaryMemory": "пам {{percent}}%",
+ "system.summaryDisk": "диск {{percent}}%",
+ "system.uptime": "работает {{value}}",
+ "system.load": "нагрузка {{value}}",
"admin.web": "Веб",
"admin.webSearch": "Поиск",
"admin.webEnabled": "Включить доступ к вебу",
diff --git a/cptr/frontend/src/lib/i18n/locales/zh-CN.json b/cptr/frontend/src/lib/i18n/locales/zh-CN.json
index 514f921..b01cf83 100644
--- a/cptr/frontend/src/lib/i18n/locales/zh-CN.json
+++ b/cptr/frontend/src/lib/i18n/locales/zh-CN.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "没有最近对话",
"settings.back": "返回",
"settings.general": "通用",
+ "settings.memory": "记忆",
"pwa.settingsTitle": "渐进式 Web 应用",
"intent.chooseWorkspace": "工作区",
"intent.newNote": "笔记",
@@ -113,6 +114,17 @@
"settings.save": "保存",
"settings.saved": "已保存",
"settings.saving": "保存中…",
+ "memory.failedToLoad": "加载记忆失败",
+ "memory.failedToSaveSettings": "保存记忆设置失败",
+ "memory.failedToUpdate": "更新记忆失败",
+ "memory.behavior": "行为",
+ "memory.enable": "启用记忆",
+ "memory.assistantCanSave": "助手可以保存记忆",
+ "memory.backgroundReview": "后台审查",
+ "memory.limits": "限制",
+ "memory.reviewEvery": "审查间隔",
+ "memory.userLimit": "用户限制",
+ "memory.userMemory": "用户记忆",
"general.title": "通用",
"general.theme": "主题",
"general.light": "浅色",
@@ -265,7 +277,16 @@
"bar.newChat": "新建聊天",
"home.start": "开始",
"home.openFolder": "打开文件夹...",
+ "home.openWorkspace": "打开工作区",
"home.recent": "最近",
+ "home.continue": "继续",
+ "home.noWorkspaces": "还没有工作区",
+ "home.terminalShort_one": "{{count}} 个终端",
+ "home.terminalShort_other": "{{count}} 个终端",
+ "home.activeChat_one": "{{count}} 个活跃聊天",
+ "home.activeChat_other": "{{count}} 个活跃聊天",
+ "home.chat_one": "{{count}} 个聊天",
+ "home.chat_other": "{{count}} 个聊天",
"home.folders": "建议",
"home.chatComingSoon": "聊天(即将推出)",
"directory.cancel": "取消",
@@ -284,11 +305,20 @@
"port.preview": "预览",
"port.via": "来自 {{name}}",
"system.title": "系统",
+ "system.infoTitle": "系统信息",
+ "system.unavailable": "系统信息不可用",
"system.cpu": "CPU",
+ "system.cpuShort": "CPU",
"system.memory": "内存",
+ "system.memoryShort": "内存",
"system.disk": "磁盘",
"system.cores": "{{count}} 核",
"system.process": "进程",
+ "system.summaryCpu": "cpu {{percent}}%",
+ "system.summaryMemory": "内存 {{percent}}%",
+ "system.summaryDisk": "磁盘 {{percent}}%",
+ "system.uptime": "运行 {{value}}",
+ "system.load": "负载 {{value}}",
"admin.web": "网络",
"admin.webSearch": "搜索",
"admin.webEnabled": "启用网页访问",
diff --git a/cptr/frontend/src/lib/i18n/locales/zh-TW.json b/cptr/frontend/src/lib/i18n/locales/zh-TW.json
index 5e9ab26..0d80b28 100644
--- a/cptr/frontend/src/lib/i18n/locales/zh-TW.json
+++ b/cptr/frontend/src/lib/i18n/locales/zh-TW.json
@@ -84,6 +84,7 @@
"search.noRecentChats": "沒有最近對話",
"settings.back": "返回",
"settings.general": "一般",
+ "settings.memory": "記憶",
"pwa.settingsTitle": "漸進式 Web 應用程式",
"intent.chooseWorkspace": "工作區",
"intent.newNote": "筆記",
@@ -113,6 +114,17 @@
"settings.save": "儲存",
"settings.saved": "已儲存",
"settings.saving": "儲存中…",
+ "memory.failedToLoad": "載入記憶失敗",
+ "memory.failedToSaveSettings": "儲存記憶設定失敗",
+ "memory.failedToUpdate": "更新記憶失敗",
+ "memory.behavior": "行為",
+ "memory.enable": "啟用記憶",
+ "memory.assistantCanSave": "助理可以儲存記憶",
+ "memory.backgroundReview": "背景審查",
+ "memory.limits": "限制",
+ "memory.reviewEvery": "審查間隔",
+ "memory.userLimit": "使用者限制",
+ "memory.userMemory": "使用者記憶",
"general.title": "一般",
"general.theme": "佈景主題",
"general.light": "淺色",
@@ -265,7 +277,16 @@
"bar.newChat": "新增聊天",
"home.start": "開始",
"home.openFolder": "開啟資料夾...",
+ "home.openWorkspace": "開啟工作區",
"home.recent": "最近",
+ "home.continue": "繼續",
+ "home.noWorkspaces": "還沒有工作區",
+ "home.terminalShort_one": "{{count}} 個終端機",
+ "home.terminalShort_other": "{{count}} 個終端機",
+ "home.activeChat_one": "{{count}} 個活躍聊天",
+ "home.activeChat_other": "{{count}} 個活躍聊天",
+ "home.chat_one": "{{count}} 個聊天",
+ "home.chat_other": "{{count}} 個聊天",
"home.folders": "建議",
"home.chatComingSoon": "聊天(即將推出)",
"directory.cancel": "取消",
@@ -284,11 +305,20 @@
"port.preview": "預覽",
"port.via": "來自 {{name}}",
"system.title": "系統",
+ "system.infoTitle": "系統資訊",
+ "system.unavailable": "系統資訊無法使用",
"system.cpu": "CPU",
+ "system.cpuShort": "CPU",
"system.memory": "記憶體",
+ "system.memoryShort": "記憶體",
"system.disk": "磁碟",
"system.cores": "{{count}} 核心",
"system.process": "處理程序",
+ "system.summaryCpu": "cpu {{percent}}%",
+ "system.summaryMemory": "記憶體 {{percent}}%",
+ "system.summaryDisk": "磁碟 {{percent}}%",
+ "system.uptime": "運行 {{value}}",
+ "system.load": "負載 {{value}}",
"admin.web": "網路",
"admin.webSearch": "搜尋",
"admin.webEnabled": "啟用網頁存取",
diff --git a/cptr/frontend/src/routes/+page.svelte b/cptr/frontend/src/routes/+page.svelte
index 75db121..2a505df 100644
--- a/cptr/frontend/src/routes/+page.svelte
+++ b/cptr/frontend/src/routes/+page.svelte
@@ -540,14 +540,15 @@
function resumeSignals(resume: WorkspaceResume | undefined): string[] {
if (!resume) return [];
const signals: string[] = [];
- if (resume.terminalCount) signals.push(`${resume.terminalCount} term`);
+ if (resume.terminalCount)
+ signals.push($t('home.terminalShort', { count: resume.terminalCount }));
if (resume.previewPorts.length)
signals.push(resume.previewPorts.map((port) => `:${port}`).join(', '));
if (resume.chatCount || resume.activeChatCount) {
signals.push(
resume.activeChatCount
- ? `${resume.activeChatCount} active chat${resume.activeChatCount === 1 ? '' : 's'}`
- : `${resume.chatCount} chat${resume.chatCount === 1 ? '' : 's'}`
+ ? $t('home.activeChat', { count: resume.activeChatCount })
+ : $t('home.chat', { count: resume.chatCount })
);
}
return signals;
@@ -733,13 +734,13 @@
class="text-[13px] text-gray-600 transition-colors duration-100 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white"
onclick={() => (showPicker = true)}
>
- Open workspace
+ {$t('home.openWorkspace')}