Skip to content

fix: correct zh-CN translation accuracy and consistency - #2176

Merged
lissy93 merged 2 commits into
lissy93:masterfrom
zcq100:fix/zh-CN-translation
Jun 2, 2026
Merged

lissy93 merged 2 commits into
lissy93:masterfrom
zcq100:fix/zh-CN-translation

Conversation

@zcq100

@zcq100 zcq100 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR fixes translation accuracy and consistency issues in the zh-CN locale file.

Changes

Semantic Fixes (9)

Key Old New Reason
login.remember-me-label 记住密码 记住我 Was "remember password", should be "remember me"
login.success-message 登录成功。 正在登录... "Logging in..." is in-progress, not completed
config.view-config-tab 视图设置 导出配置 Was "View Settings", should be "Export Config"
config.edit-config-tab 修改设置 编辑配置 Was "Modify Settings", should be "Edit Config"
config.download-config-button 下载配置 查看/导出配置 Missing "View" action
cloud-sync.intro-l1 试验性功能 可选功能 "experimental" → should be "optional"
cloud-sync.backup-id-label 恢复 ID 备份 ID "Restore ID" → should be "Backup ID"
widgets.net-data.mem-breakdown-title 内存崩溃 内存明细 "Breakdown" means 明细 (detail), not 崩溃 (crash)

Missing Translations (9)

  • login.error-go-home-button: "Go Home" → "返回首页"
  • widgets.nextcloud.home → "主页"
  • widgets.nextcloud.in → "在…内"
  • widgets.nextcloud.keys → "键"
  • widgets.nextcloud.max-keys → "最大键数"
  • widgets.nextcloud.misses → "未命中"
  • widgets.nextcloud.of-which → "其中"
  • widgets.nextcloud.of → "共"
  • widgets.nextcloud.overall → "总体"

Terminology Consistency

  • Unified "Config" translation as 配置 (was 设置 in several places)
  • Fixed 剪切板 → 剪贴板 (correct term for clipboard)
  • Normalized pronoun: 您 (formal) → 你 (informal, consistent with rest of UI)

Key Parity

All 476 keys now match between en.json and zh-CN.json.

zcq100 added 2 commits June 2, 2026 06:26
- 添加 home.session-expired-line1 / session-expired-line2 / sign-in-again
- 添加 login.authenticated-redirecting
- 添加 search.enter-to-launch-first
- Fix semantic errors (remember-me, logging in, memory breakdown, etc.)
- Translate missing keys (Go Home, nextcloud entries, etc.)
- Unify terminology (Config, clipboard, etc.)
- Normalize pronoun: 您 -> 你
@zcq100
zcq100 requested a review from lissy93 as a code owner June 1, 2026 22:37
@lissy93
lissy93 merged commit 87e5705 into lissy93:master Jun 2, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants