feat(api-settings): add CCW-LiteLLM installation progress overlay and related localization

This commit is contained in:
catlog22
2026-02-18 13:56:05 +08:00
parent 3441a3c06c
commit 7e8fb3d2de
10 changed files with 371 additions and 312 deletions

View File

@@ -337,6 +337,30 @@
"installFailed": "Failed to install ccw-litellm",
"uninstallSuccess": "ccw-litellm uninstalled successfully",
"uninstallFailed": "Failed to uninstall ccw-litellm"
},
"install": {
"title": "Install CCW-LiteLLM",
"description": "Install ccw-litellm into the CodexLens Python virtual environment for embedding support.",
"checklist": "What will be installed",
"codexlensVenv": "CodexLens Venv",
"codexlensVenvDesc": "Ensures CodexLens Python virtual environment is ready",
"litellmPackage": "ccw-litellm Package",
"litellmPackageDesc": "LiteLLM-based embedding client for multi-provider support",
"embeddingSupport": "Embedding Support",
"embeddingSupportDesc": "Enables LiteLLM embedding backend for semantic search",
"location": "Install Location",
"locationPath": "~/.codexlens/venv",
"timeEstimate": "Installation may take 1-3 minutes depending on network speed.",
"installNow": "Install Now",
"installing": "Installing...",
"stage": {
"checkingVenv": "Checking CodexLens virtual environment...",
"detectingPackage": "Detecting ccw-litellm package source...",
"installingDeps": "Installing dependencies...",
"installingPackage": "Installing ccw-litellm package...",
"verifying": "Verifying installation...",
"complete": "Installation complete!"
}
}
},
"common": {

View File

@@ -337,6 +337,30 @@
"installFailed": "ccw-litellm 安装失败",
"uninstallSuccess": "ccw-litellm 卸载成功",
"uninstallFailed": "ccw-litellm 卸载失败"
},
"install": {
"title": "安装 CCW-LiteLLM",
"description": "将 ccw-litellm 安装到 CodexLens Python 虚拟环境中以支持嵌入功能。",
"checklist": "将要安装的内容",
"codexlensVenv": "CodexLens 虚拟环境",
"codexlensVenvDesc": "确保 CodexLens Python 虚拟环境就绪",
"litellmPackage": "ccw-litellm 包",
"litellmPackageDesc": "基于 LiteLLM 的嵌入客户端,支持多提供商",
"embeddingSupport": "嵌入支持",
"embeddingSupportDesc": "启用 LiteLLM 嵌入后端用于语义搜索",
"location": "安装位置",
"locationPath": "~/.codexlens/venv",
"timeEstimate": "安装可能需要 1-3 分钟,取决于网络速度。",
"installNow": "立即安装",
"installing": "安装中...",
"stage": {
"checkingVenv": "正在检查 CodexLens 虚拟环境...",
"detectingPackage": "正在检测 ccw-litellm 包来源...",
"installingDeps": "正在安装依赖项...",
"installingPackage": "正在安装 ccw-litellm 包...",
"verifying": "正在验证安装...",
"complete": "安装完成!"
}
}
},
"common": {