mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-06-01 21:59:44 +08:00
用户反馈"翻遍界面"找不到引擎切换入口,原切换器样式与 sidebar 其他 元素区分度低,容易被当作静态装饰忽略。 改进: - 切换器上方新增 "ENGINE" section 标签,明确告诉用户这是引擎选择 - 按钮背景改为 accent 色调混合,提示可交互 - 图标使用 accent 色,尺寸从 14px 增大到 16px - chevron 透明度 0.4 → 0.75,尺寸 12px → 14px - 打开下拉时 chevron 旋转 180°(aria-expanded 驱动) - 按钮加 title tooltip 和 aria-haspopup / aria-expanded(可访问性) - 字体从 xs 增到 sm,字体权重 500 - :active 时轻微下沉,给出点击反馈 翻译覆盖 11 种语言。折叠侧边栏时仍然隐藏切换器(保持原行为)。
This commit is contained in:
@@ -3,6 +3,8 @@ import { _ } from '../helper.js'
|
||||
export default {
|
||||
switchedTo: _('已切换到 {name} 模式', 'Switched to {name} mode', '已切換到 {name} 模式', '{name} モードに切り替えました', '{name} 모드로 전환됨'),
|
||||
switchFailed: _('引擎切换失败,请稍后重试', 'Engine switch failed, please try again later', '引擎切換失敗,請稍後重試', 'エンジンの切り替えに失敗しました。後でもう一度お試しください', '엔진 전환에 실패했습니다. 잠시 후 다시 시도해 주세요'),
|
||||
switcherSectionLabel: _('引擎', 'Engine', '引擎', 'エンジン', '엔진', 'Động cơ', 'Motor', 'Motor', 'Движок', 'Moteur', 'Engine'),
|
||||
switcherTooltip: _('点击切换引擎(OpenClaw / Hermes Agent)', 'Click to switch engine (OpenClaw / Hermes Agent)', '點擊切換引擎(OpenClaw / Hermes Agent)', 'クリックしてエンジンを切り替え (OpenClaw / Hermes Agent)', '엔진 전환하려면 클릭 (OpenClaw / Hermes Agent)', 'Nhấp để chuyển đổi engine (OpenClaw / Hermes Agent)', 'Haga clic para cambiar de motor (OpenClaw / Hermes Agent)', 'Clique para alternar o motor (OpenClaw / Hermes Agent)', 'Нажмите, чтобы переключить движок (OpenClaw / Hermes Agent)', 'Cliquez pour changer de moteur (OpenClaw / Hermes Agent)', 'Klicken, um die Engine zu wechseln (OpenClaw / Hermes Agent)'),
|
||||
hermesSetupDesc: _('安装并配置 Hermes Agent', 'Install and configure Hermes Agent', '安裝並配置 Hermes Agent'),
|
||||
hermesPhaseClickHint: _('点击可返回此步骤', 'Click to go back to this step', '點擊可返回此步驟', 'このステップに戻るにはクリック', '이 단계로 돌아가려면 클릭'),
|
||||
hermesSetupIntro: _(
|
||||
|
||||
Reference in New Issue
Block a user