mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-03-17 20:07:23 +00:00
fix: notification banner would cause refresh of page
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
import i18n from 'i18next';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
// eslint-disable-next-line import-x/order
|
||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
|
||||
// Import translation resources
|
||||
@@ -20,6 +21,7 @@ import enAuth from './locales/en/auth.json';
|
||||
import enSidebar from './locales/en/sidebar.json';
|
||||
import enChat from './locales/en/chat.json';
|
||||
import enCodeEditor from './locales/en/codeEditor.json';
|
||||
// eslint-disable-next-line import-x/order
|
||||
import enTasks from './locales/en/tasks.json';
|
||||
|
||||
import koCommon from './locales/ko/common.json';
|
||||
@@ -27,6 +29,7 @@ import koSettings from './locales/ko/settings.json';
|
||||
import koAuth from './locales/ko/auth.json';
|
||||
import koSidebar from './locales/ko/sidebar.json';
|
||||
import koChat from './locales/ko/chat.json';
|
||||
// eslint-disable-next-line import-x/order
|
||||
import koCodeEditor from './locales/ko/codeEditor.json';
|
||||
|
||||
import zhCommon from './locales/zh-CN/common.json';
|
||||
@@ -34,6 +37,7 @@ import zhSettings from './locales/zh-CN/settings.json';
|
||||
import zhAuth from './locales/zh-CN/auth.json';
|
||||
import zhSidebar from './locales/zh-CN/sidebar.json';
|
||||
import zhChat from './locales/zh-CN/chat.json';
|
||||
// eslint-disable-next-line import-x/order
|
||||
import zhCodeEditor from './locales/zh-CN/codeEditor.json';
|
||||
|
||||
import jaCommon from './locales/ja/common.json';
|
||||
@@ -42,6 +46,7 @@ import jaAuth from './locales/ja/auth.json';
|
||||
import jaSidebar from './locales/ja/sidebar.json';
|
||||
import jaChat from './locales/ja/chat.json';
|
||||
import jaCodeEditor from './locales/ja/codeEditor.json';
|
||||
// eslint-disable-next-line import-x/order
|
||||
import jaTasks from './locales/ja/tasks.json';
|
||||
|
||||
// Import supported languages configuration
|
||||
|
||||
@@ -233,10 +233,37 @@
|
||||
"startCli": "Starting Claude CLI in {{projectName}}",
|
||||
"defaultCommand": "command"
|
||||
},
|
||||
"claudeStatus": {
|
||||
"actions": {
|
||||
"thinking": "Thinking",
|
||||
"processing": "Processing",
|
||||
"analyzing": "Analyzing",
|
||||
"working": "Working",
|
||||
"computing": "Computing",
|
||||
"reasoning": "Reasoning"
|
||||
},
|
||||
"state": {
|
||||
"live": "Live",
|
||||
"paused": "Paused"
|
||||
},
|
||||
"elapsed": {
|
||||
"seconds": "{{count}}s",
|
||||
"minutesSeconds": "{{minutes}}m {{seconds}}s",
|
||||
"label": "{{time}} elapsed",
|
||||
"startingNow": "Starting now"
|
||||
},
|
||||
"controls": {
|
||||
"stopGeneration": "Stop Generation",
|
||||
"pressEscToStop": "Press Esc anytime to stop"
|
||||
},
|
||||
"providers": {
|
||||
"assistant": "Assistant"
|
||||
}
|
||||
},
|
||||
"projectSelection": {
|
||||
"startChatWithProvider": "Select a project to start chatting with {{provider}}"
|
||||
},
|
||||
"tasks": {
|
||||
"nextTaskPrompt": "Start the next task"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +118,18 @@
|
||||
"newFile": "New File (Cmd+N)",
|
||||
"newFolder": "New Folder (Cmd+Shift+N)",
|
||||
"refresh": "Refresh",
|
||||
"collapseAll": "Collapse All"
|
||||
"collapseAll": "Collapse All",
|
||||
"context": {
|
||||
"rename": "Rename",
|
||||
"delete": "Delete",
|
||||
"copyPath": "Copy Path",
|
||||
"download": "Download",
|
||||
"newFile": "New File",
|
||||
"newFolder": "New Folder",
|
||||
"refresh": "Refresh",
|
||||
"menuLabel": "File context menu",
|
||||
"loading": "Loading..."
|
||||
}
|
||||
},
|
||||
"projectWizard": {
|
||||
"title": "Create New Project",
|
||||
|
||||
@@ -83,6 +83,21 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"terminalShortcuts": {
|
||||
"title": "Terminal Shortcuts",
|
||||
"sectionKeys": "Keys",
|
||||
"sectionNavigation": "Navigation",
|
||||
"escape": "Escape",
|
||||
"tab": "Tab",
|
||||
"shiftTab": "Shift+Tab",
|
||||
"arrowUp": "Arrow Up",
|
||||
"arrowDown": "Arrow Down",
|
||||
"scrollDown": "Scroll Down",
|
||||
"handle": {
|
||||
"closePanel": "Close shortcuts panel",
|
||||
"openPanel": "Open shortcuts panel"
|
||||
}
|
||||
},
|
||||
"mainTabs": {
|
||||
"label": "Settings",
|
||||
"agents": "Agents",
|
||||
|
||||
@@ -46,7 +46,8 @@
|
||||
"editSessionName": "Manually edit session name",
|
||||
"deleteSession": "Delete this session permanently",
|
||||
"save": "Save",
|
||||
"cancel": "Cancel"
|
||||
"cancel": "Cancel",
|
||||
"clearSearch": "Clear search"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "Chat",
|
||||
@@ -93,6 +94,8 @@
|
||||
"enterProjectPath": "Please enter a project path",
|
||||
"deleteSessionFailed": "Failed to delete session. Please try again.",
|
||||
"deleteSessionError": "Error deleting session. Please try again.",
|
||||
"renameSessionFailed": "Failed to rename session. Please try again.",
|
||||
"renameSessionError": "Error renaming session. Please try again.",
|
||||
"deleteProjectFailed": "Failed to delete project. Please try again.",
|
||||
"deleteProjectError": "Error deleting project. Please try again.",
|
||||
"createProjectFailed": "Failed to create project. Please try again.",
|
||||
@@ -101,6 +104,18 @@
|
||||
"version": {
|
||||
"updateAvailable": "Update available"
|
||||
},
|
||||
"search": {
|
||||
"modeProjects": "Projects",
|
||||
"modeConversations": "Conversations",
|
||||
"conversationsPlaceholder": "Search in conversations...",
|
||||
"searching": "Searching...",
|
||||
"noResults": "No results found",
|
||||
"tryDifferentQuery": "Try a different search query",
|
||||
"matches_one": "{{count}} match",
|
||||
"matches_other": "{{count}} matches",
|
||||
"projectsScanned_one": "{{count}} project scanned",
|
||||
"projectsScanned_other": "{{count}} projects scanned"
|
||||
},
|
||||
"deleteConfirmation": {
|
||||
"deleteProject": "Delete Project",
|
||||
"deleteSession": "Delete Session",
|
||||
|
||||
@@ -205,5 +205,32 @@
|
||||
"runCommand": "{{projectName}}で{{command}}を実行",
|
||||
"startCli": "{{projectName}}でClaude CLIを起動しています",
|
||||
"defaultCommand": "コマンド"
|
||||
},
|
||||
"claudeStatus": {
|
||||
"actions": {
|
||||
"thinking": "Thinking",
|
||||
"processing": "Processing",
|
||||
"analyzing": "Analyzing",
|
||||
"working": "Working",
|
||||
"computing": "Computing",
|
||||
"reasoning": "Reasoning"
|
||||
},
|
||||
"state": {
|
||||
"live": "Live",
|
||||
"paused": "Paused"
|
||||
},
|
||||
"elapsed": {
|
||||
"seconds": "{{count}}s",
|
||||
"minutesSeconds": "{{minutes}}m {{seconds}}s",
|
||||
"label": "{{time}} elapsed",
|
||||
"startingNow": "Starting now"
|
||||
},
|
||||
"controls": {
|
||||
"stopGeneration": "Stop Generation",
|
||||
"pressEscToStop": "Press Esc anytime to stop"
|
||||
},
|
||||
"providers": {
|
||||
"assistant": "Assistant"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +118,18 @@
|
||||
"newFile": "新規ファイル (Cmd+N)",
|
||||
"newFolder": "新規フォルダ (Cmd+Shift+N)",
|
||||
"refresh": "更新",
|
||||
"collapseAll": "すべて折りたたむ"
|
||||
"collapseAll": "すべて折りたたむ",
|
||||
"context": {
|
||||
"rename": "名前を変更",
|
||||
"delete": "削除",
|
||||
"copyPath": "パスをコピー",
|
||||
"download": "ダウンロード",
|
||||
"newFile": "新しいファイル",
|
||||
"newFolder": "新しいフォルダ",
|
||||
"refresh": "更新",
|
||||
"menuLabel": "ファイルのコンテキストメニュー",
|
||||
"loading": "読み込み中..."
|
||||
}
|
||||
},
|
||||
"projectWizard": {
|
||||
"title": "新規プロジェクトを作成",
|
||||
|
||||
@@ -83,6 +83,21 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"terminalShortcuts": {
|
||||
"title": "ターミナルショートカット",
|
||||
"sectionKeys": "キー",
|
||||
"sectionNavigation": "ナビゲーション",
|
||||
"escape": "Escape",
|
||||
"tab": "Tab",
|
||||
"shiftTab": "Shift+Tab",
|
||||
"arrowUp": "上矢印",
|
||||
"arrowDown": "下矢印",
|
||||
"scrollDown": "下にスクロール",
|
||||
"handle": {
|
||||
"closePanel": "ショートカットパネルを閉じる",
|
||||
"openPanel": "ショートカットパネルを開く"
|
||||
}
|
||||
},
|
||||
"mainTabs": {
|
||||
"label": "設定",
|
||||
"agents": "エージェント",
|
||||
|
||||
@@ -93,6 +93,8 @@
|
||||
"enterProjectPath": "プロジェクトのパスを入力してください",
|
||||
"deleteSessionFailed": "セッションの削除に失敗しました。もう一度お試しください。",
|
||||
"deleteSessionError": "セッションの削除でエラーが発生しました。もう一度お試しください。",
|
||||
"renameSessionFailed": "セッション名の変更に失敗しました。もう一度お試しください。",
|
||||
"renameSessionError": "セッション名の変更でエラーが発生しました。もう一度お試しください。",
|
||||
"deleteProjectFailed": "プロジェクトの削除に失敗しました。もう一度お試しください。",
|
||||
"deleteProjectError": "プロジェクトの削除でエラーが発生しました。もう一度お試しください。",
|
||||
"createProjectFailed": "プロジェクトの作成に失敗しました。もう一度お試しください。",
|
||||
|
||||
@@ -215,10 +215,37 @@
|
||||
"startCli": "{{projectName}}에서 Claude CLI 시작",
|
||||
"defaultCommand": "명령어"
|
||||
},
|
||||
"claudeStatus": {
|
||||
"actions": {
|
||||
"thinking": "Thinking",
|
||||
"processing": "Processing",
|
||||
"analyzing": "Analyzing",
|
||||
"working": "Working",
|
||||
"computing": "Computing",
|
||||
"reasoning": "Reasoning"
|
||||
},
|
||||
"state": {
|
||||
"live": "Live",
|
||||
"paused": "Paused"
|
||||
},
|
||||
"elapsed": {
|
||||
"seconds": "{{count}}s",
|
||||
"minutesSeconds": "{{minutes}}m {{seconds}}s",
|
||||
"label": "{{time}} elapsed",
|
||||
"startingNow": "Starting now"
|
||||
},
|
||||
"controls": {
|
||||
"stopGeneration": "Stop Generation",
|
||||
"pressEscToStop": "Press Esc anytime to stop"
|
||||
},
|
||||
"providers": {
|
||||
"assistant": "Assistant"
|
||||
}
|
||||
},
|
||||
"projectSelection": {
|
||||
"startChatWithProvider": "{{provider}}와 채팅을 시작하려면 프로젝트를 선택하세요"
|
||||
},
|
||||
"tasks": {
|
||||
"nextTaskPrompt": "다음 작업 시작"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +118,18 @@
|
||||
"newFile": "새 파일 (Cmd+N)",
|
||||
"newFolder": "새 폴더 (Cmd+Shift+N)",
|
||||
"refresh": "새로고침",
|
||||
"collapseAll": "모두 접기"
|
||||
"collapseAll": "모두 접기",
|
||||
"context": {
|
||||
"rename": "이름 변경",
|
||||
"delete": "삭제",
|
||||
"copyPath": "경로 복사",
|
||||
"download": "다운로드",
|
||||
"newFile": "새 파일",
|
||||
"newFolder": "새 폴더",
|
||||
"refresh": "새로 고침",
|
||||
"menuLabel": "파일 컨텍스트 메뉴",
|
||||
"loading": "로딩 중..."
|
||||
}
|
||||
},
|
||||
"projectWizard": {
|
||||
"title": "새 프로젝트 생성",
|
||||
|
||||
@@ -83,6 +83,21 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"terminalShortcuts": {
|
||||
"title": "터미널 단축키",
|
||||
"sectionKeys": "키",
|
||||
"sectionNavigation": "탐색",
|
||||
"escape": "Escape",
|
||||
"tab": "Tab",
|
||||
"shiftTab": "Shift+Tab",
|
||||
"arrowUp": "위쪽 화살표",
|
||||
"arrowDown": "아래쪽 화살표",
|
||||
"scrollDown": "아래로 스크롤",
|
||||
"handle": {
|
||||
"closePanel": "단축키 패널 닫기",
|
||||
"openPanel": "단축키 패널 열기"
|
||||
}
|
||||
},
|
||||
"mainTabs": {
|
||||
"label": "설정",
|
||||
"agents": "에이전트",
|
||||
|
||||
@@ -93,6 +93,8 @@
|
||||
"enterProjectPath": "프로젝트 경로를 입력해주세요",
|
||||
"deleteSessionFailed": "세션 삭제 실패. 다시 시도해주세요.",
|
||||
"deleteSessionError": "세션 삭제 오류. 다시 시도해주세요.",
|
||||
"renameSessionFailed": "세션 이름 변경 실패. 다시 시도해주세요.",
|
||||
"renameSessionError": "세션 이름 변경 오류. 다시 시도해주세요.",
|
||||
"deleteProjectFailed": "프로젝트 삭제 실패. 다시 시도해주세요.",
|
||||
"deleteProjectError": "프로젝트 삭제 오류. 다시 시도해주세요.",
|
||||
"createProjectFailed": "프로젝트 생성 실패. 다시 시도해주세요.",
|
||||
|
||||
@@ -215,10 +215,37 @@
|
||||
"startCli": "在 {{projectName}} 中启动 Claude CLI",
|
||||
"defaultCommand": "命令"
|
||||
},
|
||||
"claudeStatus": {
|
||||
"actions": {
|
||||
"thinking": "Thinking",
|
||||
"processing": "Processing",
|
||||
"analyzing": "Analyzing",
|
||||
"working": "Working",
|
||||
"computing": "Computing",
|
||||
"reasoning": "Reasoning"
|
||||
},
|
||||
"state": {
|
||||
"live": "Live",
|
||||
"paused": "Paused"
|
||||
},
|
||||
"elapsed": {
|
||||
"seconds": "{{count}}s",
|
||||
"minutesSeconds": "{{minutes}}m {{seconds}}s",
|
||||
"label": "{{time}} elapsed",
|
||||
"startingNow": "Starting now"
|
||||
},
|
||||
"controls": {
|
||||
"stopGeneration": "Stop Generation",
|
||||
"pressEscToStop": "Press Esc anytime to stop"
|
||||
},
|
||||
"providers": {
|
||||
"assistant": "Assistant"
|
||||
}
|
||||
},
|
||||
"projectSelection": {
|
||||
"startChatWithProvider": "选择一个项目以开始与 {{provider}} 聊天"
|
||||
},
|
||||
"tasks": {
|
||||
"nextTaskPrompt": "开始下一个任务"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,7 +118,18 @@
|
||||
"newFile": "新建文件 (Cmd+N)",
|
||||
"newFolder": "新建文件夹 (Cmd+Shift+N)",
|
||||
"refresh": "刷新",
|
||||
"collapseAll": "全部折叠"
|
||||
"collapseAll": "全部折叠",
|
||||
"context": {
|
||||
"rename": "重命名",
|
||||
"delete": "删除",
|
||||
"copyPath": "复制路径",
|
||||
"download": "下载",
|
||||
"newFile": "新建文件",
|
||||
"newFolder": "新建文件夹",
|
||||
"refresh": "刷新",
|
||||
"menuLabel": "文件上下文菜单",
|
||||
"loading": "加载中..."
|
||||
}
|
||||
},
|
||||
"projectWizard": {
|
||||
"title": "创建新项目",
|
||||
|
||||
@@ -83,6 +83,21 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"terminalShortcuts": {
|
||||
"title": "终端快捷键",
|
||||
"sectionKeys": "按键",
|
||||
"sectionNavigation": "导航",
|
||||
"escape": "Escape",
|
||||
"tab": "Tab",
|
||||
"shiftTab": "Shift+Tab",
|
||||
"arrowUp": "上箭头",
|
||||
"arrowDown": "下箭头",
|
||||
"scrollDown": "滚动到底部",
|
||||
"handle": {
|
||||
"closePanel": "关闭快捷键面板",
|
||||
"openPanel": "打开快捷键面板"
|
||||
}
|
||||
},
|
||||
"mainTabs": {
|
||||
"label": "设置",
|
||||
"agents": "智能体",
|
||||
|
||||
@@ -46,7 +46,8 @@
|
||||
"editSessionName": "手动编辑会话名称",
|
||||
"deleteSession": "永久删除此会话",
|
||||
"save": "保存",
|
||||
"cancel": "取消"
|
||||
"cancel": "取消",
|
||||
"clearSearch": "清除搜索"
|
||||
},
|
||||
"navigation": {
|
||||
"chat": "聊天",
|
||||
@@ -93,6 +94,8 @@
|
||||
"enterProjectPath": "请输入项目路径",
|
||||
"deleteSessionFailed": "删除会话失败,请重试。",
|
||||
"deleteSessionError": "删除会话时出错,请重试。",
|
||||
"renameSessionFailed": "重命名会话失败,请重试。",
|
||||
"renameSessionError": "重命名会话时出错,请重试。",
|
||||
"deleteProjectFailed": "删除项目失败,请重试。",
|
||||
"deleteProjectError": "删除项目时出错,请重试。",
|
||||
"createProjectFailed": "创建项目失败,请重试。",
|
||||
@@ -101,6 +104,18 @@
|
||||
"version": {
|
||||
"updateAvailable": "有可用更新"
|
||||
},
|
||||
"search": {
|
||||
"modeProjects": "项目",
|
||||
"modeConversations": "对话",
|
||||
"conversationsPlaceholder": "搜索对话内容...",
|
||||
"searching": "搜索中...",
|
||||
"noResults": "未找到结果",
|
||||
"tryDifferentQuery": "尝试不同的搜索词",
|
||||
"matches_one": "{{count}} 个匹配",
|
||||
"matches_other": "{{count}} 个匹配",
|
||||
"projectsScanned_one": "{{count}} 个项目已扫描",
|
||||
"projectsScanned_other": "{{count}} 个项目已扫描"
|
||||
},
|
||||
"deleteConfirmation": {
|
||||
"deleteProject": "删除项目",
|
||||
"deleteSession": "删除会话",
|
||||
|
||||
Reference in New Issue
Block a user