Skip to content

fix(i18n): translate remaining Chinese visualizer labels - #1009

Merged
LargeModGames merged 2 commits into
mainfrom
fix/l10n-zh-visualizer
Nov 13, 2026
Merged

LargeModGames merged 2 commits into
mainfrom
fix/l10n-zh-visualizer

Conversation

@kapok-4o

@kapok-4o kapok-4o commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Three GUI strings still fell back to English in both Chinese tables: gui.visualizer, gui.visualizer_style and gui.next_visualizer_style. They now use the terms the existing strings already use for the visualizer (可视化 / 視覺化, 样式 / 樣式). gui/src/bindings/strings.json is regenerated.

A full comparison of the EN and Chinese values found no other untranslated string apart from names, language names and templates. zh-Hant keeps "Podcast", which is common usage there.

Testing

  • cargo fmt --all --check: clean
  • cargo clippy --locked --no-default-features --features telemetry,tui -- -D warnings: clean
  • cargo test with the gui leg's features -- typescript_bindings_are_written: passed; only these six values change in strings.json

💬 Questions or want to chat with other contributors? Join the spotatui Discord.

Summary by CodeRabbit

  • New Features
    • Added Simplified and Traditional Chinese translations for visualizer labels, including the visualizer style and the option to select the next style. These translations make the corresponding visualizer controls available in both Chinese language settings, providing localized text for the visualizer and its style-selection options.

@coderabbitai

coderabbitai Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Files ignored due to path filters: 1

  • gui/src/bindings/strings.json is excluded by !gui/src/bindings/**
Run configuration

Commits

Reviewing files that changed from the base of the PR and between 064935e and 18a01c2.

Files ignored due to path filters: 1

  • gui/src/bindings/strings.json is excluded by !gui/src/bindings/**

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The Simplified and Traditional Chinese locales now include translations for the visualizer, its style, and selecting the next style.

Changes: Chinese visualizer labels

Layer / File(s) Summary
Add visualizer labels in Chinese
src/core/i18n/gui/zh_hans.rs, src/core/i18n/gui/zh_hant.rs
Both locale files add translations for the visualizer, its style, and selecting the next style.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · previous review 06493

This updates the Chinese labels for the visualizer, its style, and selecting the next style. It carries no identified user-facing or production risk, so it is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title uses the conventional-commit prefix "fix" with the scope "i18n", which matches the required format. It states the main change: the remaining Chinese visualizer labels are translated. The raw…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title uses the conventional-commit prefix "fix" with the scope "i18n", which matches the required format. It states the main change: the remaining Chinese visualizer labels are translated. The raw summary confirms that the Simplified and Traditional Chinese tables gained entries for visualizer, visualizer_style, and next_visualizer_style. The subject is concise and imperative.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 4c5fc99 and 064935e.

Files ignored due to path filters: 1

  • gui/src/bindings/strings.json is excluded by !gui/src/bindings/**
Files selected for processing: 2

  • src/core/i18n/gui/zh_hans.rs
  • src/core/i18n/gui/zh_hant.rs

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

@codecov

codecov Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@LargeModGames
LargeModGames merged commit 05a6bf2 into main Nov 13, 2026
39 checks passed
@LargeModGames
LargeModGames deleted the fix/l10n-zh-visualizer branch November 13, 2026 16:57
LargeModGames added a commit that referenced this pull request Nov 25, 2026
# Summary

Version bump and changelog for v0.49.0. No application code changes.

- `Cargo.toml`, `Cargo.lock`, `desktop/Cargo.toml` and
`desktop/Cargo.lock` go to 0.49.0. The desktop lock also picks up
`mdns-sd` 0.22.0 (#1145) and drops symphonia 0.6.1 (#1161). The
librespot fork stays at `=0.8.7`.
- `CHANGELOG.md`: `tools/assemble_changelog.sh v0.49.0` moved the `##
[Unreleased]` entries and the `changelog.d/` fragments into `##
[v0.49.0] 2026-11-25`. I checked every PR merged since v0.48.0 against
it and added entries for the iTerm2 Retina cover size (#999), the
Chinese visualizer labels (#1009), the Settings values after a save
(#1092) and the folder names (#1094).
- The translated READMEs from #1097 now name kapok-4o instead of
2570165831, as #1156 did for `README.md`.

# Testing

- cargo fmt --all -- --check: ok
- cargo clippy --no-default-features --features telemetry,tui -- -D
warnings: ok
- cargo test --no-default-features --features telemetry,tui: 2041 passed
- cargo clippy --manifest-path desktop/Cargo.toml -- -D warnings: ok
- cargo test --manifest-path desktop/Cargo.toml: 7 passed

---
<sub>💬 Questions or want to chat with other contributors? Join the
[spotatui Discord](https://spotatui.com/discord).</sub>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Release**
  * Updated the application to version 0.49.0.
* **Bug Fixes**
* This release includes fixes covering plugin updates, input handling,
command validation, playback, visual rendering, and Subsonic downloads.
* **Documentation**
* Added the 0.49.0 release notes, including feature and fix highlights.
Removed several standalone change entries; consult the consolidated
release notes for the current summary.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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