Repository navigation
feat(i18n): translate dialogs and first-run onboarding - #898
Conversation
Translate popups, dialogs, playlist forms and source onboarding into both Chinese scripts. Verify Chinese rendering while keeping entered names, paths, source identities and masked credentials literal.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
The fourth Chinese translation PR (refs #726), after the settings screen: popups, dialogs, playlist forms and the first-run source setup in Simplified Chinese (
zh-Hans) and Traditional Chinese with Taiwan wording (zh-Hant).src/core/i18n/popups.rs: the popup and dialog strings (confirmations, create/rename playlist forms, pickers and their hints), in both scripts.src/core/i18n/onboarding.rs: the first-run questions for the music sources (Spotify, Local, Subsonic, Radio, YouTube, Qobuz, Apple Music) and their prompts.src/core/first_run.rsandsrc/tui/ui/create_playlist.rs: the glue that routes these prompts through the language tables.gui/src/bindings/strings.jsonis regenerated.English is unchanged.
Testing
macOS (aarch64), on top of
c44f106f:cargo fmt --all --check: clean.cargo clippy --locked -- -D warningson slim (telemetry,tui): clean.cargo clippy --locked -- -D warningson the gui feature set (telemetry,gui,streaming,discord-rpc,self-update,scripting,mcp-server,mprisplus the five sources): clean.cargo test --locked: slim 1718 passed; default pluslocal-files,subsonic2315 passed, 21 ignored; the gui feature set with the five sources 2126 passed, 30 ignored, and no diff ingui/src/bindingsafterwards.Not run: the Linux-only
all-sourcesleg (PipeWire), which CI covers.Additional notes
A native-speaker review of the wording is welcome; any fix is a one-line change in the table.
Summary by CodeRabbit