Skip to content

l10n(zh): polish Simplified Chinese for Sender and Receiver - #212

Merged
swellweb merged 1 commit into
swellweb:maint-3.6from
kenshinice-ai:zh-hans-polish
Oct 16, 2026
Merged

swellweb merged 1 commit into
swellweb:maint-3.6from
kenshinice-ai:zh-hans-polish

Conversation

@kenshinice-ai

@kenshinice-ai kenshinice-ai commented Oct 14, 2026 •

Copy link
Copy Markdown

Hi Marco, thank you for TargetBridge. This PR is a translation-only polish of the Simplified Chinese text. It changes no keys, no placeholders, and no behaviour.

What changes

zh.json (72 of 193 strings) and the .chinese cases in the Sender's Swift views (55 strings):

  • No English left mid-sentence. Strings like 此 receiver, Sender 输入监控, and Receiver 是 Master now read naturally in Chinese.

  • No master/slave wording (in the spirit of master / slave terminology should be avoided #93). The roles read 由这台 Mac 控制 ("controlled by this Mac") and 由接收端控制 ("controlled by the receiver"); slave becomes 受控 Mac ("controlled Mac").

  • macOS's own Simplified Chinese names, so users can find each setting by name. I checked them against the system strings of macOS 27.0.1:

    English Before After
    Privacy & Security 隐私与安全性 隐私与安全
    Screen & System Audio Recording 屏幕录制 录屏与系统录音
    Accessibility 辅助功能 无障碍
    Thunderbolt Bridge Thunderbolt Bridge 雷雳网桥
    Console Console 控制台

    Instructions that point at the Receiver Mac keep the older names (隐私与安全性, 辅助功能). Receivers are usually Intel iMacs on macOS 11–15, where those are the names on screen. I have not verified those older names on a running macOS 11–15 system.

  • One term per concept: 码流 for stream (the Swift views mixed 码流, 串流 and 流), 扩展 for add-on, and 发送端 / 接收端 for the two apps.

  • Consistent punctuation: “” quotes instead of a mix of 「」 and “”, … instead of ..., and full-width colons.

  • Profile names translated (标准, 流畅, 流畅+, 清晰), as fr.json already does for Crisp. The hint text that names them is updated to match.

  • The French entry in the language list reads Français, as it does in the other files.

Checks

  • ./TargetBridge-Shared/scripts/check_localizations.sh passes for de, en, fr, it and zh.
  • xcodebuild test -scheme TBDisplaySender: 175 tests, 0 failures.
  • I opened the built Sender in Chinese and looked at the main window, the permission assistant and Settings.
  • The Receiver is unchanged apart from the shared zh.json.

Glad to adjust any wording you or other Chinese-speaking users prefer.

🤖 Generated with Claude Code

- Translate the remaining English role words (sender, receiver, Master,
  slave) and use 主控/受控 wording instead of master/slave (see swellweb#93).
- Match the names macOS uses in Simplified Chinese: 隐私与安全,
  录屏与系统录音, 无障碍, 输入监控, 雷雳网桥, 控制台 (macOS 27.0.1 system
  strings). Instructions that point at the Receiver Mac keep the older
  names (隐私与安全性, 辅助功能), since receivers usually run macOS 11–15.
- Use one term per concept: 码流 for stream, 扩展 for add-on, 发送端 and
  接收端 for the two apps.
- Unify punctuation: “” quotes, … ellipsis, full-width colons.
- Translate the stream profile names (标准, 流畅, 流畅+, 清晰), as the French
  file does for Crisp.
- Show Français as the French language name, matching the other files.
kenshinice-ai added a commit to kenshinice-ai/pwe-imac-display that referenced this pull request Oct 14, 2026
kenshinice-ai added a commit to kenshinice-ai/pwe-imac-display that referenced this pull request Oct 14, 2026
- pwe/PATCHES.md lists every commit that changes an upstream file, with its
  upstream PR (swellweb#212, swellweb#214) and status.
- .github/SECURITY.md: report PWE problems privately to
  [email protected]; upstream problems go to TargetBridge first.
- HANDOFF: main is upstream plus registered patches, not upstream unchanged;
  the x86_64 receiver passed the smoke test under Rosetta on 2026-10-14.
- Install guide: says it covers only the PWE build, and replaces the claim
  that any Gatekeeper warning means a foreign file with checksum steps.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@swellweb
swellweb changed the base branch from main to maint-3.6 October 16, 2026 14:32
@swellweb

Copy link
Copy Markdown
Owner

Thank you for polishing the Chinese wording and keeping the change focused. I moved this to maint-3.6 and checked it together with the other small maintenance fixes: all five language resources validate and the local Sender tests pass. I am also checking the Receiver waiting/connecting screens in each language before publication.

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