Skip to content

fix(i18n): capitalize three status messages and spell "ID" in capitals - #1102

Merged
kapok-4o merged 3 commits into
LargeModGames:mainfrom
akshit-bansal11:fix/status-message-case-1053
Nov 21, 2026
Merged

kapok-4o merged 3 commits into
LargeModGames:mainfrom
akshit-bansal11:fix/status-message-case-1053

Conversation

@akshit-bansal11

@akshit-bansal11 akshit-bansal11 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Three English status messages fill the whole status line but started lowercase
(dj_keep_brain, clipboard_set_failed, and the status history_failed). Four
said "id" where the rest of the app says "ID" (queued_no_album,
playing_no_artist, queued_no_artist, playback_device_no_id).

Only the EN strings change. The Chinese blocks, the internal anyhow! error
text in transport.rs and network/mod.rs, and the DJ-tools history_failed
in tools.rs are left alone, as the issue asks. The two tests that asserted
the old text are updated, and a new test in src/core/i18n/tests.rs pins both
rules.

Fixes #1053

Testing

I can't run cargo builds on my machine, so I ran the full CI matrix on my fork:
akshit-bansal11#1 (all 33 checks green on 3536571).

  • Rustfmt, Clippy (all 9 legs) and Check (all 9 legs) pass.
  • Test Suite (all 8 legs) passes. english_status_messages_start_with_a_capital_letter_and_spell_id_in_capitals
    ran and passed in every leg. jump_to_album_reports_a_queued_track_without_an_album_id
    and escape_steps_back_through_the_picker_before_leaving_the_screen (ai-dj-only leg) pass.
  • Gates ratchet passes; tools/gates.count is unchanged.

Additional notes

gui/src/bindings/strings.json was edited by hand with the same seven English
lines, not regenerated locally. The gui and soloist legs ran
typescript_bindings_are_written_to_the_frontend_source_tree and it passed, so
the file matches what the generator writes.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Improvements
    • Updated capitalization in several English status and error messages, including capitalizing “ID” in queued-track, artist, and playback-device messages.
    • The playback-device message now also uses “ID” in its Chinese translation.
    • Capitalized the opening word in additional English messages, including DJ brain and history status text. These wording updates do not change playback or other app behavior.

akshit-bansal11 and others added 2 commits November 16, 2026 14:36
Three English status messages that fill the whole status line started
lowercase, and four said "id" where the rest of the app says "ID".
Only the English strings change; the generated strings.json carries the
same seven lines. Adds a test that pins both rules.

Fixes LargeModGames#1053

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Status messages now use updated capitalization and “ID” spelling. Tests check the revised wording, and the changelog records the changes. The selected-playback-device message also uses “ID” in both Chinese translations.

Changes: Status message wording

Layer / File(s) Summary
Update status wording and checks
src/core/i18n/status_app.rs, src/core/i18n/status_infra.rs, src/core/app/route.rs, src/core/i18n/tests.rs, src/tui/handlers/ai_dj.rs, CHANGELOG.md
Status messages change capitalization and use “ID” in place of “id” in the specified messages. Tests check capitalization and spelling, and update expected status text. The changelog records the wording changes.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix · Severity of issue fixed: Low

Possibly related issues

  • #1042: The PR changes the English clipboard_set_failed message used in the copy failure path. It does not add the link_copied success message requested by the issue.
Merge Risk: Minimal · up to 4e2bf

This updates the capitalization of three English status messages and the spelling of "ID" in four others. The frontend strings file is updated to match, and the risk of merging is minimal.

Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive [#1053] Source changes in the summary match the English requirements. status_app.rs changes dj_keep_brain, clipboard_set_failed, queued_no_album, playing_no_artist, queued_no_artist and `p… Confirm that gui/src/bindings/strings.json differs from the base only by the seven English lines, for example by reviewing it in an unignored context or by running the generator named in #1053. Confirm that the zh block of `status_app.r…
Out of Scope Changes check Inconclusive The listed files map to #1053: status_app.rs, status_infra.rs, route.rs, ai_dj.rs, tests.rs and CHANGELOG.md. Each change matches a requirement of the issue. The summary also says the Chin… Show the zh hunk of src/core/i18n/status_app.rs for playback_device_no_id. If the Chinese text changed, revert that hunk because #1053 excludes Chinese strings. If it did not change, no action is needed. Review `gui/src/bindings/strin…
Passed Passed checks: 2 passed

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(i18n):" that the repo already uses, and it is concise and imperative. It matches the changeset, which capitalizes three English status messages and s…
Full details: Title check

Explanation

The title uses the conventional-commit prefix "fix(i18n):" that the repo already uses, and it is concise and imperative. It matches the changeset, which capitalizes three English status messages and spells "ID" in capitals across four messages. The title is accurate, but it omits the mention of the changelog entry and the test addition, which are secondary.

Full details: Linked Issues check

Explanation

[#1053] Source changes in the summary match the English requirements. status_app.rs changes dj_keep_brain, clipboard_set_failed, queued_no_album, playing_no_artist, queued_no_artist and playback_device_no_id. status_infra.rs changes history_failed. src/core/i18n/tests.rs adds english_status_messages_start_with_a_capital_letter_and_spell_id_in_capitals. route.rs and ai_dj.rs update the two old-text asserts. CHANGELOG.md gets a ### Fixed entry. Three points stay unresolved. (1) gui/src/bindings/strings.json is listed in ignored_files under the rule !gui/src/bindings/**. Its contents were not reviewed, so the requirement to regenerate it with the same seven English changes cannot be verified. (2) The summary says "The Chinese translations use the same ID capitalization in that playback-device message." The issue requires the Chinese blocks to stay unchanged. The summary does not show whether the Chinese string was edited or already contained "ID". (3) The CI results in the PR description are author-reported. They are not verified from the diff.

Resolution

Confirm that gui/src/bindings/strings.json differs from the base only by the seven English lines, for example by reviewing it in an unignored context or by running the generator named in #1053. Confirm that the zh block of status_app.rs is byte-identical to the merge base. Confirm the test results by running the named tests on the reviewed head.

Full details: Out of Scope Changes check

Explanation

The listed files map to #1053: status_app.rs, status_infra.rs, route.rs, ai_dj.rs, tests.rs and CHANGELOG.md. Each change matches a requirement of the issue. The summary also says the Chinese playback-device message was changed for ID capitalization. The issue excludes Chinese strings from scope. Without the diff hunk, this change cannot be confirmed as out of scope or as a no-op. The gui/src/bindings/strings.json change is excluded from review under the rule !gui/src/bindings/**, so its scope is also unknown. No change is demonstrated as unrelated.

Resolution

Show the zh hunk of src/core/i18n/status_app.rs for playback_device_no_id. If the Chinese text changed, revert that hunk because #1053 excludes Chinese strings. If it did not change, no action is needed. Review gui/src/bindings/strings.json in an unignored context to confirm it contains only the seven English line changes.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
Simplify code

  • 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 3536571 and 4e2bfd2.

Files ignored due to path filters: 1

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

  • CHANGELOG.md
Files skipped from review as they are similar to previous changes: 1

  • CHANGELOG.md

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

@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kapok-4o kapok-4o left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The seven English changes match #1053, and both Chinese tables are unchanged. I regenerated the GUI bindings with streaming enabled and confirmed every file matches the committed version byte for byte. The new regression test fails with main's strings and passes here; the slim/default suites, DJ handler tests and frontend checks pass. Looks good to merge.

@kapok-4o
kapok-4o merged commit 5cef303 into LargeModGames:main Nov 21, 2026
35 checks passed
LargeModGames added a commit that referenced this pull request Nov 21, 2026
# Summary

Adds seven authors of recently merged PRs to `.all-contributorsrc` and
the README contributor table, one commit each in the all-contributors
bot format:

- polete-bermejo: code (#1116)
- Seyamalam: code (#1115)
- akshit-bansal11: code, doc (#1102, #1111)
- D0ktay: code (#1099)
- zuhairkhalid229: code (#1098)
- ViktorBystrov72: code (#1096)
- PiyushChoudhary-Git: code (#1092)

# Testing

- `jq` reads `.all-contributorsrc`: 91 contributors (84 before).
- The README table fills the last row to 7 cells and starts a new row
with the other 6.

# Additional notes

Names, avatars and profile links come from each user's public GitHub
profile, the same fields the bot uses.

---
<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

* **Documentation**
* Updated contributor acknowledgements in the project records and
README, adding seven contributor records and six README entries.
* The README entries include code contributions and a documentation
credit.
<!-- 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.

Status messages: capitalize three English messages and spell "ID" the same way

2 participants