diff --git a/src/renderer/src/components/NewThreadMock.vue b/src/renderer/src/components/NewThreadMock.vue index 6b6a112f7..55862f267 100644 --- a/src/renderer/src/components/NewThreadMock.vue +++ b/src/renderer/src/components/NewThreadMock.vue @@ -9,7 +9,9 @@ -

Build and explore

+

+ {{ t('chat.newThread.title') }} +

@@ -25,7 +27,7 @@ - Recent Projects + {{ t('common.project.recent') }} - Open folder... + {{ t('common.project.openFolder') }} @@ -62,6 +64,7 @@ diff --git a/src/renderer/src/components/mock/MockStatusBar.vue b/src/renderer/src/components/mock/MockStatusBar.vue index b032dfefc..017b0b70e 100644 --- a/src/renderer/src/components/mock/MockStatusBar.vue +++ b/src/renderer/src/components/mock/MockStatusBar.vue @@ -69,14 +69,18 @@ class="h-6 px-2 gap-1.5 text-xs text-muted-foreground hover:text-foreground backdrop-blur-lg" > - Default permissions + {{ t('chat.permissionMode.default') }} - Default permissions + {{ + t('chat.permissionMode.default') + }} Restricted - Full access + {{ + t('chat.permissionMode.fullAccess') + }} @@ -91,8 +95,10 @@ import { DropdownMenuTrigger } from '@shadcn/components/ui/dropdown-menu' import { Icon } from '@iconify/vue' +import { useI18n } from 'vue-i18n' import ModelIcon from '../icons/ModelIcon.vue' import { useThemeStore } from '@/stores/theme' const themeStore = useThemeStore() +const { t } = useI18n() diff --git a/src/renderer/src/i18n/da-DK/chat.json b/src/renderer/src/i18n/da-DK/chat.json index cc4dce7a7..5c298e734 100644 --- a/src/renderer/src/i18n/da-DK/chat.json +++ b/src/renderer/src/i18n/da-DK/chat.json @@ -19,7 +19,7 @@ "historyPlaceholder": "(Udfyld med Tab)", "inputArea": "Indtastningsområde", "pasteFiles": "Understøtter kopiering og indsættelse af filer", - "placeholder": "Spørg om noget? Du kan referere til værktøjer, filer, ressourcer osv. ved at bruge {'@'}.", + "placeholder": "Spørg DeepChat om hvad som helst, @ for at nævne filer, / for kommandoer", "promptFilesAdded": "Prompt-filen er blevet tilføjet", "promptFilesAddedDesc": "{count} filer er blevet tilføjet successfully", "promptFilesError": "Filbehandlingsfejl", @@ -210,5 +210,21 @@ "compaction": { "compacting": "Komprimerer automatisk kontekst...", "compacted": "Konteksten blev automatisk komprimeret" + }, + "newThread": { + "title": "Byg og udforsk" + }, + "permissionMode": { + "default": "Standardtilladelser", + "fullAccess": "Fuld adgang" + }, + "sidebar": { + "allAgents": "Alle agenter", + "expandSidebar": "Udvid sidepanelet", + "collapseSidebar": "Skjul sidepanelet", + "groupByDate": "Gruppér efter dato", + "groupByProject": "Gruppér efter projekt", + "emptyTitle": "Ingen samtaler endnu", + "emptyDescription": "Start en ny samtale for at komme i gang" } } diff --git a/src/renderer/src/i18n/da-DK/common.json b/src/renderer/src/i18n/da-DK/common.json index d53dbaf09..7795af12c 100644 --- a/src/renderer/src/i18n/da-DK/common.json +++ b/src/renderer/src/i18n/da-DK/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} byte" + }, + "time": { + "today": "I dag", + "yesterday": "I går", + "lastWeek": "Sidste uge", + "older": "Ældre" + }, + "project": { + "select": "Vælg projekt", + "none": "Intet projekt", + "recent": "Seneste projekter", + "openFolder": "Åbn mappe..." } } diff --git a/src/renderer/src/i18n/da-DK/index.ts b/src/renderer/src/i18n/da-DK/index.ts index 92d0c4646..ad4fc3d5a 100644 --- a/src/renderer/src/i18n/da-DK/index.ts +++ b/src/renderer/src/i18n/da-DK/index.ts @@ -12,7 +12,6 @@ import artifacts from './artifacts.json' import sync from './sync.json' import toolCall from './toolCall.json' import components from './components.json' -import newThread from './newThread.json' import about from './about.json' import contextMenu from './contextMenu.json' import promptSetting from './promptSetting.json' @@ -48,7 +47,6 @@ export default { sync, toolCall, components, - newThread, about, contextMenu, promptSetting, diff --git a/src/renderer/src/i18n/da-DK/newThread.json b/src/renderer/src/i18n/da-DK/newThread.json deleted file mode 100644 index d71eb12d6..000000000 --- a/src/renderer/src/i18n/da-DK/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "Hej med dig!", - "prompt": "Hvad tænker du på?" -} diff --git a/src/renderer/src/i18n/en-US/chat.json b/src/renderer/src/i18n/en-US/chat.json index eed69d43f..f5e42647a 100644 --- a/src/renderer/src/i18n/en-US/chat.json +++ b/src/renderer/src/i18n/en-US/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "Ask something? You can quote tools, files, resources via {'@'}...", + "placeholder": "Ask DeepChat anything, @ to mention files, / for commands", "fileArea": "File Area", "inputArea": "Input Area", "functionSwitch": "Function Switch", @@ -210,5 +210,21 @@ "aborted": "Aborted" } } + }, + "newThread": { + "title": "Build and explore" + }, + "permissionMode": { + "default": "Default permissions", + "fullAccess": "Full access" + }, + "sidebar": { + "allAgents": "All Agents", + "expandSidebar": "Expand sidebar", + "collapseSidebar": "Collapse sidebar", + "groupByDate": "Group by date", + "groupByProject": "Group by project", + "emptyTitle": "No conversations yet", + "emptyDescription": "Start a new chat to begin" } } diff --git a/src/renderer/src/i18n/en-US/common.json b/src/renderer/src/i18n/en-US/common.json index ebd522fde..ed1612745 100644 --- a/src/renderer/src/i18n/en-US/common.json +++ b/src/renderer/src/i18n/en-US/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} bytes" + }, + "time": { + "today": "Today", + "yesterday": "Yesterday", + "lastWeek": "Last week", + "older": "Older" + }, + "project": { + "select": "Select project", + "none": "No project", + "recent": "Recent projects", + "openFolder": "Open folder..." } } diff --git a/src/renderer/src/i18n/en-US/index.ts b/src/renderer/src/i18n/en-US/index.ts index 9210a456d..e6102ac6f 100644 --- a/src/renderer/src/i18n/en-US/index.ts +++ b/src/renderer/src/i18n/en-US/index.ts @@ -12,7 +12,6 @@ import artifacts from './artifacts.json' import sync from './sync.json' import toolCall from './toolCall.json' import components from './components.json' -import newThread from './newThread.json' import about from './about.json' import contextMenu from './contextMenu.json' import promptSetting from './promptSetting.json' @@ -48,7 +47,6 @@ export default { sync, toolCall, components, - newThread, about, contextMenu, promptSetting, diff --git a/src/renderer/src/i18n/en-US/newThread.json b/src/renderer/src/i18n/en-US/newThread.json deleted file mode 100644 index 39cd6888c..000000000 --- a/src/renderer/src/i18n/en-US/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "Hello there!", - "prompt": "What's on your mind?" -} diff --git a/src/renderer/src/i18n/fa-IR/chat.json b/src/renderer/src/i18n/fa-IR/chat.json index c460884e1..9d52ee743 100644 --- a/src/renderer/src/i18n/fa-IR/chat.json +++ b/src/renderer/src/i18n/fa-IR/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "چیزی بپرسید؟ می‌توانید با {'@'} به ابزارها، پرونده‌ها، منابع ارجاع دهید...", + "placeholder": "هر چیزی از DeepChat بپرسید، با @ به فایل‌ها اشاره کنید و با / از دستورها استفاده کنید", "fileArea": "ناحیه پرونده", "inputArea": "ناحیه ورودی", "functionSwitch": "کلید کارکرد", @@ -210,5 +210,21 @@ "compaction": { "compacting": "در حال فشرده‌سازی خودکار زمینه...", "compacted": "زمینه به‌صورت خودکار فشرده شد" + }, + "newThread": { + "title": "بسازید و کاوش کنید" + }, + "permissionMode": { + "default": "مجوزهای پیش‌فرض", + "fullAccess": "دسترسی کامل" + }, + "sidebar": { + "allAgents": "همه عامل‌ها", + "expandSidebar": "گسترش نوار کناری", + "collapseSidebar": "جمع کردن نوار کناری", + "groupByDate": "گروه‌بندی بر اساس تاریخ", + "groupByProject": "گروه‌بندی بر اساس پروژه", + "emptyTitle": "هنوز گفت‌وگویی وجود ندارد", + "emptyDescription": "برای شروع، یک گفت‌وگوی جدید آغاز کنید" } } diff --git a/src/renderer/src/i18n/fa-IR/common.json b/src/renderer/src/i18n/fa-IR/common.json index dc7b06ffd..d76dc7016 100644 --- a/src/renderer/src/i18n/fa-IR/common.json +++ b/src/renderer/src/i18n/fa-IR/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} بایت" + }, + "time": { + "today": "امروز", + "yesterday": "دیروز", + "lastWeek": "هفته گذشته", + "older": "قدیمی‌تر" + }, + "project": { + "select": "انتخاب پروژه", + "none": "بدون پروژه", + "recent": "پروژه‌های اخیر", + "openFolder": "باز کردن پوشه..." } } diff --git a/src/renderer/src/i18n/fa-IR/index.ts b/src/renderer/src/i18n/fa-IR/index.ts index f39124789..ca4f9f7ed 100644 --- a/src/renderer/src/i18n/fa-IR/index.ts +++ b/src/renderer/src/i18n/fa-IR/index.ts @@ -10,7 +10,6 @@ import welcome from './welcome.json' import components from './components.json' import dialog from './dialog.json' import model from './model.json' -import newThread from './newThread.json' import routes from './routes.json' import artifacts from './artifacts.json' import chat from './chat.json' @@ -44,7 +43,6 @@ export default { components, dialog, model, - newThread, routes, artifacts, chat, diff --git a/src/renderer/src/i18n/fa-IR/newThread.json b/src/renderer/src/i18n/fa-IR/newThread.json deleted file mode 100644 index c9f0bedd3..000000000 --- a/src/renderer/src/i18n/fa-IR/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "درود", - "prompt": "امروز میخواهید درباره چه چیزی بپرسید؟" -} diff --git a/src/renderer/src/i18n/fr-FR/chat.json b/src/renderer/src/i18n/fr-FR/chat.json index d9868939b..358c1f584 100644 --- a/src/renderer/src/i18n/fr-FR/chat.json +++ b/src/renderer/src/i18n/fr-FR/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "Posez une question ? Vous pouvez citer des outils, des fichiers, des ressources via {'@'}...", + "placeholder": "Demandez n'importe quoi à DeepChat, @ pour mentionner des fichiers, / pour les commandes", "fileArea": "Zone de fichiers", "inputArea": "Zone de saisie", "functionSwitch": "Commutateur de fonction", @@ -210,5 +210,21 @@ "compaction": { "compacting": "Compactage automatique du contexte...", "compacted": "Le contexte a été compacté automatiquement" + }, + "newThread": { + "title": "Créer et explorer" + }, + "permissionMode": { + "default": "Autorisations par défaut", + "fullAccess": "Accès complet" + }, + "sidebar": { + "allAgents": "Tous les agents", + "expandSidebar": "Développer la barre latérale", + "collapseSidebar": "Réduire la barre latérale", + "groupByDate": "Grouper par date", + "groupByProject": "Grouper par projet", + "emptyTitle": "Aucune conversation pour le moment", + "emptyDescription": "Commencez une nouvelle discussion pour démarrer" } } diff --git a/src/renderer/src/i18n/fr-FR/common.json b/src/renderer/src/i18n/fr-FR/common.json index d501635d7..223afb0e9 100644 --- a/src/renderer/src/i18n/fr-FR/common.json +++ b/src/renderer/src/i18n/fr-FR/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} octets" + }, + "time": { + "today": "Aujourd'hui", + "yesterday": "Hier", + "lastWeek": "La semaine dernière", + "older": "Plus anciennes" + }, + "project": { + "select": "Sélectionner un projet", + "none": "Aucun projet", + "recent": "Projets récents", + "openFolder": "Ouvrir un dossier..." } } diff --git a/src/renderer/src/i18n/fr-FR/index.ts b/src/renderer/src/i18n/fr-FR/index.ts index 21f464d99..4cbe2d050 100644 --- a/src/renderer/src/i18n/fr-FR/index.ts +++ b/src/renderer/src/i18n/fr-FR/index.ts @@ -10,7 +10,6 @@ import welcome from './welcome.json' import components from './components.json' import dialog from './dialog.json' import model from './model.json' -import newThread from './newThread.json' import routes from './routes.json' import artifacts from './artifacts.json' import chat from './chat.json' @@ -45,7 +44,6 @@ export default { components, dialog, model, - newThread, routes, artifacts, chat, diff --git a/src/renderer/src/i18n/fr-FR/newThread.json b/src/renderer/src/i18n/fr-FR/newThread.json deleted file mode 100644 index 8e8049900..000000000 --- a/src/renderer/src/i18n/fr-FR/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "Bonjour", - "prompt": "Que souhaitez-vous demander aujourd'hui ?" -} diff --git a/src/renderer/src/i18n/he-IL/chat.json b/src/renderer/src/i18n/he-IL/chat.json index ecdfb0817..44d0ca47a 100644 --- a/src/renderer/src/i18n/he-IL/chat.json +++ b/src/renderer/src/i18n/he-IL/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "שאל משהו? ניתן לצטט כלים, קבצים ומשאבים באמצעות {'@'}...", + "placeholder": "שאלו את DeepChat כל דבר, השתמשו ב-@ כדי להזכיר קבצים וב-/ לפקודות", "fileArea": "אזור קבצים", "inputArea": "אזור קלט", "functionSwitch": "מתג פונקציות", @@ -210,5 +210,21 @@ "compaction": { "compacting": "דחיסת ההקשר מתבצעת באופן אוטומטי...", "compacted": "ההקשר נדחס אוטומטית" + }, + "newThread": { + "title": "בנו וגלו" + }, + "permissionMode": { + "default": "הרשאות ברירת מחדל", + "fullAccess": "גישה מלאה" + }, + "sidebar": { + "allAgents": "כל הסוכנים", + "expandSidebar": "הרחב את הסרגל הצדדי", + "collapseSidebar": "כווץ את הסרגל הצדדי", + "groupByDate": "קבץ לפי תאריך", + "groupByProject": "קבץ לפי פרויקט", + "emptyTitle": "עדיין אין שיחות", + "emptyDescription": "התחילו שיחה חדשה כדי להתחיל" } } diff --git a/src/renderer/src/i18n/he-IL/common.json b/src/renderer/src/i18n/he-IL/common.json index 7fef5cb11..6f0916f1c 100644 --- a/src/renderer/src/i18n/he-IL/common.json +++ b/src/renderer/src/i18n/he-IL/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} בתים" + }, + "time": { + "today": "היום", + "yesterday": "אתמול", + "lastWeek": "השבוע שעבר", + "older": "ישן יותר" + }, + "project": { + "select": "בחר פרויקט", + "none": "ללא פרויקט", + "recent": "פרויקטים אחרונים", + "openFolder": "פתח תיקייה..." } } diff --git a/src/renderer/src/i18n/he-IL/index.ts b/src/renderer/src/i18n/he-IL/index.ts index 0bbef06ad..64d3a9def 100644 --- a/src/renderer/src/i18n/he-IL/index.ts +++ b/src/renderer/src/i18n/he-IL/index.ts @@ -12,7 +12,6 @@ import artifacts from './artifacts.json' import sync from './sync.json' import toolCall from './toolCall.json' import components from './components.json' -import newThread from './newThread.json' import about from './about.json' import contextMenu from './contextMenu.json' import promptSetting from './promptSetting.json' @@ -48,7 +47,6 @@ export default { sync, toolCall, components, - newThread, about, contextMenu, promptSetting, diff --git a/src/renderer/src/i18n/he-IL/newThread.json b/src/renderer/src/i18n/he-IL/newThread.json deleted file mode 100644 index 0c5c81044..000000000 --- a/src/renderer/src/i18n/he-IL/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "שלום!", - "prompt": "על מה תרצה לדבר?" -} diff --git a/src/renderer/src/i18n/ja-JP/chat.json b/src/renderer/src/i18n/ja-JP/chat.json index 6ff8ccdc9..9ab4b195a 100644 --- a/src/renderer/src/i18n/ja-JP/chat.json +++ b/src/renderer/src/i18n/ja-JP/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "何か質問は?{'@'}でツール、ファイル、リソースを引用できます...", + "placeholder": "DeepChat に何でも聞いてください。@ でファイルをメンション、/ でコマンドを使用できます", "fileArea": "ファイルエリア", "inputArea": "入力エリア", "functionSwitch": "機能スイッチ", @@ -210,5 +210,21 @@ "compaction": { "compacting": "コンテキストを自動圧縮しています...", "compacted": "コンテキストは自動圧縮されました" + }, + "newThread": { + "title": "作成して探索" + }, + "permissionMode": { + "default": "デフォルト権限", + "fullAccess": "フルアクセス" + }, + "sidebar": { + "allAgents": "すべてのエージェント", + "expandSidebar": "サイドバーを展開", + "collapseSidebar": "サイドバーを折りたたむ", + "groupByDate": "日付でグループ化", + "groupByProject": "プロジェクトでグループ化", + "emptyTitle": "まだ会話がありません", + "emptyDescription": "新しいチャットを始めましょう" } } diff --git a/src/renderer/src/i18n/ja-JP/common.json b/src/renderer/src/i18n/ja-JP/common.json index f1e9c07d0..2a8d9e3cf 100644 --- a/src/renderer/src/i18n/ja-JP/common.json +++ b/src/renderer/src/i18n/ja-JP/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} バイト" + }, + "time": { + "today": "今日", + "yesterday": "昨日", + "lastWeek": "先週", + "older": "以前" + }, + "project": { + "select": "プロジェクトを選択", + "none": "プロジェクトなし", + "recent": "最近のプロジェクト", + "openFolder": "フォルダを開く..." } } diff --git a/src/renderer/src/i18n/ja-JP/index.ts b/src/renderer/src/i18n/ja-JP/index.ts index a6738c07a..29249223a 100644 --- a/src/renderer/src/i18n/ja-JP/index.ts +++ b/src/renderer/src/i18n/ja-JP/index.ts @@ -12,7 +12,6 @@ import artifacts from './artifacts.json' import sync from './sync.json' import toolCall from './toolCall.json' import components from './components.json' -import newThread from './newThread.json' import about from './about.json' import contextMenu from './contextMenu.json' import promptSetting from './promptSetting.json' @@ -46,7 +45,6 @@ export default { sync, toolCall, components, - newThread, about, contextMenu, promptSetting, diff --git a/src/renderer/src/i18n/ja-JP/newThread.json b/src/renderer/src/i18n/ja-JP/newThread.json deleted file mode 100644 index b357d3993..000000000 --- a/src/renderer/src/i18n/ja-JP/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "こんにちは", - "prompt": "今日は何を聞きたいですか?" -} diff --git a/src/renderer/src/i18n/ko-KR/chat.json b/src/renderer/src/i18n/ko-KR/chat.json index f8b05b3d1..73cb91d40 100644 --- a/src/renderer/src/i18n/ko-KR/chat.json +++ b/src/renderer/src/i18n/ko-KR/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "질문하세요. {'@'}를 통해 도구, 파일, 리소스를 인용할 수 있습니다...", + "placeholder": "DeepChat에 무엇이든 물어보세요. @로 파일을 언급하고 /로 명령을 사용할 수 있습니다", "fileArea": "파일 영역", "inputArea": "입력 영역", "functionSwitch": "기능 전환", @@ -210,5 +210,21 @@ "compaction": { "compacting": "컨텍스트를 자동 압축하는 중...", "compacted": "컨텍스트가 자동으로 압축되었습니다" + }, + "newThread": { + "title": "만들고 탐색하기" + }, + "permissionMode": { + "default": "기본 권한", + "fullAccess": "전체 접근" + }, + "sidebar": { + "allAgents": "모든 에이전트", + "expandSidebar": "사이드바 펼치기", + "collapseSidebar": "사이드바 접기", + "groupByDate": "날짜별 그룹화", + "groupByProject": "프로젝트별 그룹화", + "emptyTitle": "아직 대화가 없습니다", + "emptyDescription": "새 대화를 시작해 보세요" } } diff --git a/src/renderer/src/i18n/ko-KR/common.json b/src/renderer/src/i18n/ko-KR/common.json index 8482710f9..a9149ed03 100644 --- a/src/renderer/src/i18n/ko-KR/common.json +++ b/src/renderer/src/i18n/ko-KR/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} 바이트" + }, + "time": { + "today": "오늘", + "yesterday": "어제", + "lastWeek": "지난 주", + "older": "이전" + }, + "project": { + "select": "프로젝트 선택", + "none": "프로젝트 없음", + "recent": "최근 프로젝트", + "openFolder": "폴더 열기..." } } diff --git a/src/renderer/src/i18n/ko-KR/index.ts b/src/renderer/src/i18n/ko-KR/index.ts index c63cac55e..404c0ee75 100644 --- a/src/renderer/src/i18n/ko-KR/index.ts +++ b/src/renderer/src/i18n/ko-KR/index.ts @@ -12,7 +12,6 @@ import artifacts from './artifacts.json' import sync from './sync.json' import toolCall from './toolCall.json' import components from './components.json' -import newThread from './newThread.json' import about from './about.json' import contextMenu from './contextMenu.json' import promptSetting from './promptSetting.json' @@ -47,7 +46,6 @@ export default { sync, toolCall, components, - newThread, about, contextMenu, promptSetting, diff --git a/src/renderer/src/i18n/ko-KR/newThread.json b/src/renderer/src/i18n/ko-KR/newThread.json deleted file mode 100644 index adeee0bde..000000000 --- a/src/renderer/src/i18n/ko-KR/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "안녕하세요", - "prompt": "오늘은 무엇을 물어보시겠습니까?" -} diff --git a/src/renderer/src/i18n/pt-BR/chat.json b/src/renderer/src/i18n/pt-BR/chat.json index 483cee8eb..4324384b5 100644 --- a/src/renderer/src/i18n/pt-BR/chat.json +++ b/src/renderer/src/i18n/pt-BR/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "Pergunte algo? Você pode citar ferramentas, arquivos, recursos usando {'@'}...", + "placeholder": "Pergunte qualquer coisa ao DeepChat, @ para mencionar arquivos, / para comandos", "fileArea": "Área de Arquivos", "inputArea": "Área de Entrada", "functionSwitch": "Alternar Função", @@ -210,5 +210,21 @@ "compaction": { "compacting": "Compactando o contexto automaticamente...", "compacted": "O contexto foi compactado automaticamente" + }, + "newThread": { + "title": "Criar e explorar" + }, + "permissionMode": { + "default": "Permissões padrão", + "fullAccess": "Acesso total" + }, + "sidebar": { + "allAgents": "Todos os agentes", + "expandSidebar": "Expandir barra lateral", + "collapseSidebar": "Recolher barra lateral", + "groupByDate": "Agrupar por data", + "groupByProject": "Agrupar por projeto", + "emptyTitle": "Ainda não há conversas", + "emptyDescription": "Inicie um novo chat para começar" } } diff --git a/src/renderer/src/i18n/pt-BR/common.json b/src/renderer/src/i18n/pt-BR/common.json index 6f7f5f7b5..2024ebca9 100644 --- a/src/renderer/src/i18n/pt-BR/common.json +++ b/src/renderer/src/i18n/pt-BR/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} bytes" + }, + "time": { + "today": "Hoje", + "yesterday": "Ontem", + "lastWeek": "Semana passada", + "older": "Mais antigos" + }, + "project": { + "select": "Selecionar projeto", + "none": "Sem projeto", + "recent": "Projetos recentes", + "openFolder": "Abrir pasta..." } } diff --git a/src/renderer/src/i18n/pt-BR/index.ts b/src/renderer/src/i18n/pt-BR/index.ts index 805ce6a94..1d6b07423 100644 --- a/src/renderer/src/i18n/pt-BR/index.ts +++ b/src/renderer/src/i18n/pt-BR/index.ts @@ -12,7 +12,6 @@ import artifacts from './artifacts.json' import sync from './sync.json' import toolCall from './toolCall.json' import components from './components.json' -import newThread from './newThread.json' import about from './about.json' import contextMenu from './contextMenu.json' import promptSetting from './promptSetting.json' @@ -47,7 +46,6 @@ export default { sync, toolCall, components, - newThread, about, contextMenu, promptSetting, diff --git a/src/renderer/src/i18n/pt-BR/newThread.json b/src/renderer/src/i18n/pt-BR/newThread.json deleted file mode 100644 index 0a600da09..000000000 --- a/src/renderer/src/i18n/pt-BR/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "Olá!", - "prompt": "Em que posso ajudar?" -} diff --git a/src/renderer/src/i18n/ru-RU/chat.json b/src/renderer/src/i18n/ru-RU/chat.json index 4d670099f..b1eef0135 100644 --- a/src/renderer/src/i18n/ru-RU/chat.json +++ b/src/renderer/src/i18n/ru-RU/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "Задайте вопрос? Вы можете ссылаться на инструменты, файлы, ресурсы через {'@'}...", + "placeholder": "Спросите DeepChat о чем угодно, @ чтобы упомянуть файлы, / для команд", "fileArea": "Область файлов", "inputArea": "Область ввода", "functionSwitch": "Переключатель функций", @@ -210,5 +210,21 @@ "compaction": { "compacting": "Контекст автоматически сжимается...", "compacted": "Контекст был автоматически сжат" + }, + "newThread": { + "title": "Создавайте и исследуйте" + }, + "permissionMode": { + "default": "Разрешения по умолчанию", + "fullAccess": "Полный доступ" + }, + "sidebar": { + "allAgents": "Все агенты", + "expandSidebar": "Развернуть боковую панель", + "collapseSidebar": "Свернуть боковую панель", + "groupByDate": "Группировать по дате", + "groupByProject": "Группировать по проекту", + "emptyTitle": "Пока нет диалогов", + "emptyDescription": "Начните новый чат, чтобы приступить" } } diff --git a/src/renderer/src/i18n/ru-RU/common.json b/src/renderer/src/i18n/ru-RU/common.json index 772f1a532..86351b67b 100644 --- a/src/renderer/src/i18n/ru-RU/common.json +++ b/src/renderer/src/i18n/ru-RU/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} байт" + }, + "time": { + "today": "Сегодня", + "yesterday": "Вчера", + "lastWeek": "На прошлой неделе", + "older": "Ранее" + }, + "project": { + "select": "Выбрать проект", + "none": "Нет проекта", + "recent": "Недавние проекты", + "openFolder": "Открыть папку..." } } diff --git a/src/renderer/src/i18n/ru-RU/index.ts b/src/renderer/src/i18n/ru-RU/index.ts index 46bf0e6b8..1241e68b2 100644 --- a/src/renderer/src/i18n/ru-RU/index.ts +++ b/src/renderer/src/i18n/ru-RU/index.ts @@ -12,7 +12,6 @@ import artifacts from './artifacts.json' import sync from './sync.json' import toolCall from './toolCall.json' import components from './components.json' -import newThread from './newThread.json' import about from './about.json' import promptSetting from './promptSetting.json' import plan from './plan.json' @@ -46,7 +45,6 @@ export default { sync, toolCall, components, - newThread, about, promptSetting, plan, diff --git a/src/renderer/src/i18n/ru-RU/newThread.json b/src/renderer/src/i18n/ru-RU/newThread.json deleted file mode 100644 index 09f3e093e..000000000 --- a/src/renderer/src/i18n/ru-RU/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "Здравствуйте", - "prompt": "Что бы вы хотели спросить сегодня?" -} diff --git a/src/renderer/src/i18n/zh-CN/chat.json b/src/renderer/src/i18n/zh-CN/chat.json index b500ab907..df3e78f9f 100644 --- a/src/renderer/src/i18n/zh-CN/chat.json +++ b/src/renderer/src/i18n/zh-CN/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "问点什么?可以通过{'@'}来引用工具、文件、资源...", + "placeholder": "向 DeepChat 发送消息,@ 可引用文件,/ 可使用命令", "fileArea": "文件区域", "inputArea": "输入区域", "functionSwitch": "功能开关", @@ -210,5 +210,21 @@ "aborted": "已中止" } } + }, + "newThread": { + "title": "构建与探索" + }, + "permissionMode": { + "default": "默认权限", + "fullAccess": "完全访问" + }, + "sidebar": { + "allAgents": "所有 Agents", + "expandSidebar": "展开侧边栏", + "collapseSidebar": "收起侧边栏", + "groupByDate": "按时间分组", + "groupByProject": "按项目分组", + "emptyTitle": "还没有会话", + "emptyDescription": "开始一个新会话吧" } } diff --git a/src/renderer/src/i18n/zh-CN/common.json b/src/renderer/src/i18n/zh-CN/common.json index f30a31af4..f76e86b71 100644 --- a/src/renderer/src/i18n/zh-CN/common.json +++ b/src/renderer/src/i18n/zh-CN/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} 字节" + }, + "time": { + "today": "今天", + "yesterday": "昨天", + "lastWeek": "最近一周", + "older": "更早" + }, + "project": { + "select": "选择项目", + "none": "未关联项目", + "recent": "最近项目", + "openFolder": "打开文件夹..." } } diff --git a/src/renderer/src/i18n/zh-CN/index.ts b/src/renderer/src/i18n/zh-CN/index.ts index 514dcc30f..a11c62de6 100644 --- a/src/renderer/src/i18n/zh-CN/index.ts +++ b/src/renderer/src/i18n/zh-CN/index.ts @@ -12,7 +12,6 @@ import artifacts from './artifacts.json' import sync from './sync.json' import toolCall from './toolCall.json' import components from './components.json' -import newThread from './newThread.json' import about from './about.json' import contextMenu from './contextMenu.json' import promptSetting from './promptSetting.json' @@ -49,7 +48,6 @@ export default { sync, toolCall, components, - newThread, about, contextMenu, promptSetting, diff --git a/src/renderer/src/i18n/zh-CN/newThread.json b/src/renderer/src/i18n/zh-CN/newThread.json deleted file mode 100644 index 3a89e1f86..000000000 --- a/src/renderer/src/i18n/zh-CN/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "你好呀", - "prompt": "今天你想问点什么?" -} diff --git a/src/renderer/src/i18n/zh-HK/chat.json b/src/renderer/src/i18n/zh-HK/chat.json index 2d8076ab4..14bd44c5c 100644 --- a/src/renderer/src/i18n/zh-HK/chat.json +++ b/src/renderer/src/i18n/zh-HK/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "問點什麼?可以通過{'@'}來引用工具、文件、資源...", + "placeholder": "向 DeepChat 發送訊息,@ 可引用檔案,/ 可使用指令", "fileArea": "文件區域", "inputArea": "輸入區域", "functionSwitch": "功能開關", @@ -210,5 +210,21 @@ "manage": "管理", "title": "技能" } + }, + "newThread": { + "title": "建構與探索" + }, + "permissionMode": { + "default": "預設權限", + "fullAccess": "完全存取" + }, + "sidebar": { + "allAgents": "所有 Agents", + "expandSidebar": "展開側邊欄", + "collapseSidebar": "收起側邊欄", + "groupByDate": "按時間分組", + "groupByProject": "按專案分組", + "emptyTitle": "還沒有對話", + "emptyDescription": "開始一個新對話吧" } } diff --git a/src/renderer/src/i18n/zh-HK/common.json b/src/renderer/src/i18n/zh-HK/common.json index 933145fa5..8f7fb40b8 100644 --- a/src/renderer/src/i18n/zh-HK/common.json +++ b/src/renderer/src/i18n/zh-HK/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} 位元組" + }, + "time": { + "today": "今天", + "yesterday": "昨天", + "lastWeek": "最近一週", + "older": "更早" + }, + "project": { + "select": "選擇專案", + "none": "未關聯專案", + "recent": "最近專案", + "openFolder": "開啟資料夾..." } } diff --git a/src/renderer/src/i18n/zh-HK/index.ts b/src/renderer/src/i18n/zh-HK/index.ts index 8617a95c4..0e42bf9d7 100644 --- a/src/renderer/src/i18n/zh-HK/index.ts +++ b/src/renderer/src/i18n/zh-HK/index.ts @@ -12,7 +12,6 @@ import artifacts from './artifacts.json' import sync from './sync.json' import toolCall from './toolCall.json' import components from './components.json' -import newThread from './newThread.json' import about from './about.json' import promptSetting from './promptSetting.json' import plan from './plan.json' @@ -47,7 +46,6 @@ export default { sync, toolCall, components, - newThread, about, promptSetting, plan, diff --git a/src/renderer/src/i18n/zh-HK/newThread.json b/src/renderer/src/i18n/zh-HK/newThread.json deleted file mode 100644 index 35fc824ad..000000000 --- a/src/renderer/src/i18n/zh-HK/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "你好呀", - "prompt": "今天你想問點什麼?" -} diff --git a/src/renderer/src/i18n/zh-TW/chat.json b/src/renderer/src/i18n/zh-TW/chat.json index 27e7680d4..84561a3c1 100644 --- a/src/renderer/src/i18n/zh-TW/chat.json +++ b/src/renderer/src/i18n/zh-TW/chat.json @@ -1,6 +1,6 @@ { "input": { - "placeholder": "問點什麼?可以通過{'@'}來引用工具、文件、資源...", + "placeholder": "向 DeepChat 傳送訊息,@ 可引用檔案,/ 可使用指令", "fileArea": "檔案區域", "inputArea": "輸入區域", "functionSwitch": "功能切換", @@ -210,5 +210,21 @@ "manage": "管理", "title": "技能" } + }, + "newThread": { + "title": "建構與探索" + }, + "permissionMode": { + "default": "預設權限", + "fullAccess": "完全存取" + }, + "sidebar": { + "allAgents": "所有 Agents", + "expandSidebar": "展開側邊欄", + "collapseSidebar": "收起側邊欄", + "groupByDate": "依時間分組", + "groupByProject": "依專案分組", + "emptyTitle": "還沒有對話", + "emptyDescription": "開始新的對話吧" } } diff --git a/src/renderer/src/i18n/zh-TW/common.json b/src/renderer/src/i18n/zh-TW/common.json index 04e716bce..8e96e8e5c 100644 --- a/src/renderer/src/i18n/zh-TW/common.json +++ b/src/renderer/src/i18n/zh-TW/common.json @@ -99,5 +99,17 @@ }, "size": { "bytes": "{count} 位元組" + }, + "time": { + "today": "今天", + "yesterday": "昨天", + "lastWeek": "最近一週", + "older": "更早" + }, + "project": { + "select": "選擇專案", + "none": "未關聯專案", + "recent": "最近專案", + "openFolder": "開啟資料夾..." } } diff --git a/src/renderer/src/i18n/zh-TW/index.ts b/src/renderer/src/i18n/zh-TW/index.ts index b43849c22..05c9ff310 100644 --- a/src/renderer/src/i18n/zh-TW/index.ts +++ b/src/renderer/src/i18n/zh-TW/index.ts @@ -7,7 +7,6 @@ import sync from './sync.json' import thread from './thread.json' import mcp from './mcp.json' import model from './model.json' -import newThread from './newThread.json' import components from './components.json' import dialog from './dialog.json' import about from './about.json' @@ -41,7 +40,6 @@ export default { dialog, settings, welcome, - newThread, about, artifacts, sync, diff --git a/src/renderer/src/i18n/zh-TW/newThread.json b/src/renderer/src/i18n/zh-TW/newThread.json deleted file mode 100644 index d03aabc44..000000000 --- a/src/renderer/src/i18n/zh-TW/newThread.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "greeting": "您好", - "prompt": "今天您想問些什麼呢?" -} diff --git a/src/renderer/src/pages/ChatPage.vue b/src/renderer/src/pages/ChatPage.vue index ada614014..21a90193f 100644 --- a/src/renderer/src/pages/ChatPage.vue +++ b/src/renderer/src/pages/ChatPage.vue @@ -67,6 +67,7 @@