mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-28 09:23:08 +08:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -151,6 +151,64 @@ const mockMessages: Record<Locale, Record<string, string>> = {
|
||||
'codexlens.overview.venv.pythonVersion': 'Python Version',
|
||||
'codexlens.overview.venv.venvPath': 'Virtual Environment Path',
|
||||
'codexlens.overview.venv.lastCheck': 'Last Check Time',
|
||||
'codexlens.install.title': 'Install CodexLens',
|
||||
// Env Groups & Fields
|
||||
'codexlens.envGroup.embedding': 'Embedding',
|
||||
'codexlens.envGroup.reranker': 'Reranker',
|
||||
'codexlens.envGroup.concurrency': 'Concurrency',
|
||||
'codexlens.envGroup.cascade': 'Cascade Search',
|
||||
'codexlens.envGroup.chunking': 'Chunking',
|
||||
'codexlens.envField.backend': 'Backend',
|
||||
'codexlens.envField.model': 'Model',
|
||||
'codexlens.envField.useGpu': 'Use GPU',
|
||||
'codexlens.envField.highAvailability': 'High Availability',
|
||||
'codexlens.envField.loadBalanceStrategy': 'Load Balance Strategy',
|
||||
'codexlens.envField.rateLimitCooldown': 'Rate Limit Cooldown',
|
||||
'codexlens.envField.enabled': 'Enabled',
|
||||
'codexlens.envField.topKResults': 'Top K Results',
|
||||
'codexlens.envField.maxWorkers': 'Max Workers',
|
||||
'codexlens.envField.batchSize': 'Batch Size',
|
||||
'codexlens.envField.dynamicBatchSize': 'Dynamic Batch Size',
|
||||
'codexlens.envField.batchSizeUtilization': 'Utilization Factor',
|
||||
'codexlens.envField.batchSizeMax': 'Max Batch Size',
|
||||
'codexlens.envField.charsPerToken': 'Chars Per Token',
|
||||
'codexlens.envField.searchStrategy': 'Search Strategy',
|
||||
'codexlens.envField.coarseK': 'Coarse K',
|
||||
'codexlens.envField.fineK': 'Fine K',
|
||||
'codexlens.envField.stripComments': 'Strip Comments',
|
||||
'codexlens.envField.stripDocstrings': 'Strip Docstrings',
|
||||
'codexlens.envField.testFilePenalty': 'Test File Penalty',
|
||||
'codexlens.envField.docstringWeight': 'Docstring Weight',
|
||||
'codexlens.install.description': 'Set up Python virtual environment and install CodexLens package.',
|
||||
'codexlens.install.checklist': 'What will be installed',
|
||||
'codexlens.install.pythonVenv': 'Python Virtual Environment',
|
||||
'codexlens.install.pythonVenvDesc': 'Isolated Python environment for CodexLens',
|
||||
'codexlens.install.codexlensPackage': 'CodexLens Package',
|
||||
'codexlens.install.codexlensPackageDesc': 'Core semantic code search engine',
|
||||
'codexlens.install.sqliteFts': 'SQLite FTS5',
|
||||
'codexlens.install.sqliteFtsDesc': 'Full-text search extension for fast code lookup',
|
||||
'codexlens.install.location': 'Install Location',
|
||||
'codexlens.install.locationPath': '~/.codexlens/venv',
|
||||
'codexlens.install.timeEstimate': 'Installation may take 1-3 minutes depending on network speed.',
|
||||
'codexlens.install.stage.creatingVenv': 'Creating Python virtual environment...',
|
||||
'codexlens.install.stage.installingPip': 'Installing pip dependencies...',
|
||||
'codexlens.install.stage.installingPackage': 'Installing CodexLens package...',
|
||||
'codexlens.install.stage.settingUpDeps': 'Setting up dependencies...',
|
||||
'codexlens.install.stage.finalizing': 'Finalizing installation...',
|
||||
'codexlens.install.stage.complete': 'Installation complete!',
|
||||
'codexlens.install.installNow': 'Install Now',
|
||||
'codexlens.install.installing': 'Installing...',
|
||||
'codexlens.watcher.title': 'File Watcher',
|
||||
'codexlens.watcher.status.running': 'Running',
|
||||
'codexlens.watcher.status.stopped': 'Stopped',
|
||||
'codexlens.watcher.eventsProcessed': 'Events Processed',
|
||||
'codexlens.watcher.uptime': 'Uptime',
|
||||
'codexlens.watcher.start': 'Start Watcher',
|
||||
'codexlens.watcher.starting': 'Starting...',
|
||||
'codexlens.watcher.stop': 'Stop Watcher',
|
||||
'codexlens.watcher.stopping': 'Stopping...',
|
||||
'codexlens.watcher.started': 'File watcher started',
|
||||
'codexlens.watcher.stopped': 'File watcher stopped',
|
||||
'codexlens.settings.currentCount': 'Current Index Count',
|
||||
'codexlens.settings.currentWorkers': 'Current Workers',
|
||||
'codexlens.settings.currentBatchSize': 'Current Batch Size',
|
||||
@@ -333,6 +391,64 @@ const mockMessages: Record<Locale, Record<string, string>> = {
|
||||
'codexlens.overview.venv.pythonVersion': 'Python 版本',
|
||||
'codexlens.overview.venv.venvPath': '虚拟环境路径',
|
||||
'codexlens.overview.venv.lastCheck': '最后检查时间',
|
||||
'codexlens.install.title': '安装 CodexLens',
|
||||
// Env Groups & Fields
|
||||
'codexlens.envGroup.embedding': '嵌入模型',
|
||||
'codexlens.envGroup.reranker': '重排序',
|
||||
'codexlens.envGroup.concurrency': '并发',
|
||||
'codexlens.envGroup.cascade': '级联搜索',
|
||||
'codexlens.envGroup.chunking': '分块',
|
||||
'codexlens.envField.backend': '后端',
|
||||
'codexlens.envField.model': '模型',
|
||||
'codexlens.envField.useGpu': '使用 GPU',
|
||||
'codexlens.envField.highAvailability': '高可用',
|
||||
'codexlens.envField.loadBalanceStrategy': '负载均衡策略',
|
||||
'codexlens.envField.rateLimitCooldown': '限流冷却时间',
|
||||
'codexlens.envField.enabled': '启用',
|
||||
'codexlens.envField.topKResults': 'Top K 结果数',
|
||||
'codexlens.envField.maxWorkers': '最大工作线程',
|
||||
'codexlens.envField.batchSize': '批次大小',
|
||||
'codexlens.envField.dynamicBatchSize': '动态批次大小',
|
||||
'codexlens.envField.batchSizeUtilization': '利用率因子',
|
||||
'codexlens.envField.batchSizeMax': '最大批次大小',
|
||||
'codexlens.envField.charsPerToken': '每 Token 字符数',
|
||||
'codexlens.envField.searchStrategy': '搜索策略',
|
||||
'codexlens.envField.coarseK': '粗筛 K 值',
|
||||
'codexlens.envField.fineK': '精筛 K 值',
|
||||
'codexlens.envField.stripComments': '去除注释',
|
||||
'codexlens.envField.stripDocstrings': '去除文档字符串',
|
||||
'codexlens.envField.testFilePenalty': '测试文件惩罚',
|
||||
'codexlens.envField.docstringWeight': '文档字符串权重',
|
||||
'codexlens.install.description': '设置 Python 虚拟环境并安装 CodexLens 包。',
|
||||
'codexlens.install.checklist': '将要安装的内容',
|
||||
'codexlens.install.pythonVenv': 'Python 虚拟环境',
|
||||
'codexlens.install.pythonVenvDesc': 'CodexLens 的隔离 Python 环境',
|
||||
'codexlens.install.codexlensPackage': 'CodexLens 包',
|
||||
'codexlens.install.codexlensPackageDesc': '核心语义代码搜索引擎',
|
||||
'codexlens.install.sqliteFts': 'SQLite FTS5',
|
||||
'codexlens.install.sqliteFtsDesc': '用于快速代码查找的全文搜索扩展',
|
||||
'codexlens.install.location': '安装位置',
|
||||
'codexlens.install.locationPath': '~/.codexlens/venv',
|
||||
'codexlens.install.timeEstimate': '安装可能需要 1-3 分钟,取决于网络速度。',
|
||||
'codexlens.install.stage.creatingVenv': '正在创建 Python 虚拟环境...',
|
||||
'codexlens.install.stage.installingPip': '正在安装 pip 依赖...',
|
||||
'codexlens.install.stage.installingPackage': '正在安装 CodexLens 包...',
|
||||
'codexlens.install.stage.settingUpDeps': '正在设置依赖项...',
|
||||
'codexlens.install.stage.finalizing': '正在完成安装...',
|
||||
'codexlens.install.stage.complete': '安装完成!',
|
||||
'codexlens.install.installNow': '立即安装',
|
||||
'codexlens.install.installing': '安装中...',
|
||||
'codexlens.watcher.title': '文件监听器',
|
||||
'codexlens.watcher.status.running': '运行中',
|
||||
'codexlens.watcher.status.stopped': '已停止',
|
||||
'codexlens.watcher.eventsProcessed': '已处理事件',
|
||||
'codexlens.watcher.uptime': '运行时间',
|
||||
'codexlens.watcher.start': '启动监听',
|
||||
'codexlens.watcher.starting': '启动中...',
|
||||
'codexlens.watcher.stop': '停止监听',
|
||||
'codexlens.watcher.stopping': '停止中...',
|
||||
'codexlens.watcher.started': '文件监听器已启动',
|
||||
'codexlens.watcher.stopped': '文件监听器已停止',
|
||||
'codexlens.settings.currentCount': '当前索引数量',
|
||||
'codexlens.settings.currentWorkers': '当前工作线程',
|
||||
'codexlens.settings.currentBatchSize': '当前批次大小',
|
||||
|
||||
Reference in New Issue
Block a user