Files
XuzandClaude Opus 5.5 1c855f1508 多语言基础设施:rust-i18n 接入,界面语言默认跟随系统
文案放进 locales/<模块>.yml,经 crate::i18n 的 t! / tn! 取用;启动时先按设置定语言,
改设置时实时切换并发出 UiLocale。守卫测试检查两种语言齐全、占位一致、没有遗漏和死键。
UI 测试夹具固定中文并隔离本线程的语言。共用件(shared/)先转换。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 21:24:06 +08:00

37 lines
831 B
YAML

_version: 2
shared.tab.unsaved:
zh-CN: 未保存
en: Unsaved changes
shared.host_mark.unknown_os:
zh-CN: 未探测到系统
en: System not detected
shared.duration.days.one:
en: "%{count} day %{clock}"
shared.duration.days.other:
zh-CN: "%{count} 天 %{clock}"
en: "%{count} days %{clock}"
shared.rename_tab.title:
zh-CN: 重命名标签
en: Rename tab
shared.rename_tab.name:
zh-CN: 标签名称
en: Tab name
shared.rename_tab.default:
zh-CN: 留空则使用「%{title}」。
en: Leave empty to use “%{title}”.
shared.tab_menu.close_left:
zh-CN: 关闭左侧
en: Close to the left
shared.tab_menu.close_right:
zh-CN: 关闭右侧
en: Close to the right
shared.tab_menu.close_others:
zh-CN: 关闭其他
en: Close others
shared.tab_menu.close_all:
zh-CN: 关闭全部
en: Close all