Files
shell-rs/locales/common.yml
T
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

29 lines
527 B
YAML

_version: 2
# 多语言: one key per text, its Chinese and English side by side. Keys
# name what the text is for; see `src/i18n.rs`.
# `join_list`: 「A、B 和 C」, "A, B and C".
common.list.separator:
zh-CN: 、
en: ", "
common.list.and:
zh-CN: 和
en: " and "
common.cancel:
zh-CN: 取消
en: Cancel
common.close:
zh-CN: 关闭
en: Close
common.save:
zh-CN: 保存
en: Save
common.delete:
zh-CN: 删除
en: Delete
common.delete_title:
zh-CN: 删除“%{name}”?
en: Delete “%{name}”?