Skip to content

Localize Hotbar setup wizard#3785

Open
nightt5879 wants to merge 1 commit into
Hmbown:mainfrom
nightt5879:nightt5879/issue-3759-hotbar-setup-i18n
Open

Localize Hotbar setup wizard#3785
nightt5879 wants to merge 1 commit into
Hmbown:mainfrom
nightt5879:nightt5879/issue-3759-hotbar-setup-i18n

Conversation

@nightt5879

Copy link
Copy Markdown
Contributor

Fixes #3759.

Summary

  • Localize Hotbar setup wizard chrome: title, source tabs, status line, slot labels, help text, and validation errors.
  • Localize built-in App Hotbar action names/descriptions and the reasoning auto-routing disabled reason so non-English setup is not dominated by English rows.
  • Add shipped-locale strings plus zh-Hant Hotbar command/keybinding coverage and a zh-Hant setup render regression test.

Verification

  • cargo fmt --all
  • cargo test -p codewhale-tui --bin codewhale-tui --locked hotbar
  • cargo test -p codewhale-tui --bin codewhale-tui --locked localization
  • cargo test -p codewhale-tui --bin codewhale-tui --locked
  • cargo build --release -p codewhale-cli -p codewhale-tui --locked

Notes

  • Local cargo test --workspace --locked repeatedly hit core::engine::tests::edit_last_turn_preserves_current_mode with snapshot response: Elapsed(()); that test passes in isolation with cargo test -p codewhale-tui --bin codewhale-tui --locked core::engine::tests::edit_last_turn_preserves_current_mode -- --exact.

Route Hotbar setup title, source tabs, status text, help text, slot labels, and validation errors through localization IDs.

Localize built-in App hotbar action names/descriptions and the reasoning auto-routing disabled reason so non-English setup views are not dominated by English action rows.

Add shipped-locale strings and zh-Hant Hotbar command/keybinding coverage tests for issue Hmbown#3759.

Verification: cargo fmt --all; cargo test -p codewhale-tui --bin codewhale-tui --locked hotbar; cargo test -p codewhale-tui --bin codewhale-tui --locked localization; cargo test -p codewhale-tui --bin codewhale-tui --locked; cargo build --release -p codewhale-cli -p codewhale-tui --locked. cargo test --workspace --locked still hits unrelated core::engine::tests::edit_last_turn_preserves_current_mode snapshot timeout locally; that test passes in isolation.
@Hmbown

Hmbown commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Thanks @nightt5879. This localization pass is useful, but it is broad enough that I do not want to rush it into the 0.8.67 final cut while it conflicts with current main. I am routing it after 0.8.67 so we can rebase cleanly and review the shipped locale strings properly.

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.

v0.8.68: Localize Hotbar setup wizard chrome and add non-English coverage

2 participants