lobehub/apps/desktop/resources/locales/zh-CN/menu.json
Arvin Xu ed64e2b8af
feat(electron): add Cmd+W/Cmd+T tab shortcuts with misc desktop polish (#13983)
* 💄 style(topic): darken project group folder label in sidebar

Previous `type='secondary'` on the group title was too faint against the
sidebar background; promote the text to default color for better
legibility and keep the folder icon at tertiary so it stays subtle.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 💄 style(topic): use colorTextSecondary for project group title

Text's `type='secondary'` resolves to a lighter token than
`colorTextSecondary`; apply `colorTextSecondary` directly so the title
lands at the intended shade (darker than before, lighter than default).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

*  feat(electron): show blue unread dot on tab when agent has unread badge

Mirror the sidebar agent unread badge on the corresponding browser-like tab as a subtle blue dot, so unread completions are visible even when the sidebar is out of view.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 🐛 fix(electron): forward proxy env vars to spawned agent CLI

The main-process undici dispatcher set by ProxyDispatcherManager only
covers in-process requests — child processes like claude-code CLI never
saw the user's proxy config. Extract a shared `buildProxyEnv` so any CLI
spawn can merge HTTP(S)_PROXY / ALL_PROXY / NO_PROXY into its env.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

*  feat(electron): close active tab on Cmd+W when multiple tabs are open

Cmd/Ctrl+W now closes the focused tab first and only closes the window when
a single tab (or none) remains.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

*  feat(electron): add Cmd+T shortcut to open a new tab

Reuses the active tab's plugin context to create a same-type tab, mirroring
the TabBar + button behavior.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 💄 style(electron): use container color for active tab background

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

*  test(electron): update Close menu item expectations for smart Cmd+W

Tests now assert the CmdOrCtrl+W accelerator and click handler instead of
the legacy role: 'close'.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* 🐛 fix(electron): drop const/store import from HeterogeneousAgentCtr

The controller previously pulled defaultProxySettings from @/const/store,
which chain-loads @/modules/updater/configs and electron-is — that breaks
any unit test that mocks `electron` without a full app shim. Make
buildProxyEnv accept undefined and read the store value directly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 12:38:54 +08:00

91 lines
3.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"common.checkUpdates": "检查更新…",
"common.checkingUpdates": "正在检查更新…",
"common.downloadingUpdate": "正在下载更新…",
"common.isLatestVersion": "已是最新版本",
"common.restartToUpdate": "重启以完成更新",
"context.copyImage": "复制图片",
"context.copyImageAddress": "复制图片地址",
"context.copyLink": "复制链接",
"context.inspectElement": "检查元素",
"context.openLink": "打开链接",
"context.saveImage": "保存图片",
"context.saveImageAs": "图片另存为…",
"context.searchWithGoogle": "使用谷歌搜索",
"dev.devPanel": "开发者面板",
"dev.devTools": "开发者工具",
"dev.forceReload": "强制重新加载",
"dev.openSettingsFile": "打开 Settings 配置文件",
"dev.openStore": "打开本地数据目录",
"dev.openUpdaterCacheDir": "更新缓存目录",
"dev.openUserDataDir": "用户配置目录",
"dev.permissions.accessibility.request": "请求辅助功能权限",
"dev.permissions.fullDisk.open": "打开「完全磁盘访问」设置",
"dev.permissions.fullDisk.request": "请求完全磁盘访问权限",
"dev.permissions.microphone.request": "请求麦克风权限",
"dev.permissions.notification.request": "请求通知权限",
"dev.permissions.screen.request": "请求屏幕录制权限",
"dev.permissions.title": "权限",
"dev.refreshMenu": "刷新菜单",
"dev.reload": "重新加载",
"dev.simulateAutoDownload": "模拟启动后台自动下载更新3s 下完)",
"dev.simulateDownloadComplete": "模拟下载完成",
"dev.simulateDownloadProgress": "模拟下载进度",
"dev.title": "开发",
"dev.updaterSimulation": "自动更新测试模拟",
"edit.copy": "复制",
"edit.cut": "剪切",
"edit.delete": "删除",
"edit.lookUp": "查找",
"edit.paste": "粘贴",
"edit.redo": "重做",
"edit.selectAll": "全选",
"edit.speech": "语音",
"edit.startSpeaking": "开始朗读",
"edit.stopSpeaking": "停止朗读",
"edit.title": "编辑",
"edit.undo": "撤销",
"file.newAgent": "新建助手",
"file.newAgentGroup": "新建助手组",
"file.newPage": "新建页面",
"file.newTab": "新建标签页",
"file.newTopic": "新建话题",
"file.preferences": "设置…",
"file.quit": "退出",
"file.title": "文件",
"help.about": "关于",
"help.githubRepo": "GitHub 仓库",
"help.openConfigDir": "配置目录",
"help.openLogsDir": "打开日志目录",
"help.reportIssue": "反馈问题",
"help.title": "帮助",
"help.visitWebsite": "打开官网",
"history.back": "后退",
"history.forward": "前进",
"history.home": "主页",
"history.title": "前往",
"macOS.about": "关于 {{appName}}",
"macOS.devTools": "LobeHub 开发者工具",
"macOS.hide": "隐藏 {{appName}}",
"macOS.hideOthers": "隐藏其他",
"macOS.preferences": "偏好设置…",
"macOS.services": "服务",
"macOS.unhide": "全部显示",
"tray.open": "打开 {{appName}}",
"tray.quit": "退出",
"tray.show": "显示 {{appName}}",
"view.forceReload": "强制重新加载",
"view.reload": "重新加载",
"view.resetZoom": "重置缩放",
"view.title": "视图",
"view.toggleFullscreen": "切换全屏",
"view.zoomIn": "放大",
"view.zoomOut": "缩小",
"window.bringAllToFront": "前置所有窗口",
"window.close": "关闭",
"window.front": "前置所有窗口",
"window.minimize": "最小化",
"window.title": "窗口",
"window.toggleFullscreen": "切换全屏",
"window.zoom": "缩放"
}