Skip to content

Localization Phase 1: general combat buttons on combat.buttons.* keys (1-5b) - #6310

Open
wholton wants to merge 1 commit into
l10n/phase1-combatfrom
l10n/phase1-combat-buttons
Open

wholton wants to merge 1 commit into
l10n/phase1-combatfrom
l10n/phase1-combat-buttons

Conversation

@wholton

@wholton wholton commented Dec 6, 2026

Copy link
Copy Markdown
Collaborator

Row 1-5b of the localization plan (docs/LOCALIZATION_PLAN.md §5.0): the general combat buttons. Stacked on #6308 (1-5a); this PR targets the 1-5a branch, so the diff shows 1-5b only.

What moved (combat.buttons.*, StartCombatService.getGeneralCombatButtons)

  • Assign Hits (and For Dummy), Check Combat Action Cards, Repair Damage, Refresh Picture.
  • Announce A Retreat, Retreat, Declare Ready To Throw Dice, Foresight, the Ral Nel commander retreat.
  • Roll buttons: Space Combat, Ground Combat for a planet, BOMBARDMENT, SPACE CANNON Defence, each with its dummy variant (an ICU select for dummy or neutral replaces the old private rollForDummyButton).
  • Official agents and genomes (Sol, Letnev, Obsidian, Bastion, Valiant, Human, Aristocratic): one key with a select for the Yssaril "Clever Clever" prefix; agent names stay English until game data is localized.
  • Official faction, technology and hero buttons: Supercharge, War Funding, Empyrean flagship, Exotrireme II, Gravleash Maneuvers, the Sardakk breakthrough, Devotion, Munitions Reserves, the Sol commander, Ral Nel mech, Indoctrinate, Magen Defense Grid, Stealth Corps, Dunlain Reaper, Assimilate, and the Keleres (Argent), Rebellion and Bastion heroes.

The buttons follow the active player's channel language (Lang.forCorrectChannel(p1)). Homebrew buttons stay literal (DS factions, Blue Reverie, Theodisi, monuments, tk-, TF homebrew colours...).

Ratchet

ti4.service.combat.StartCombatService 210 → 170.

Visible changes

None: every English label is byte-identical.

Tests

  • GeneralCombatButtonsTest: every label against the old English, the agent labels with and without Clever Clever, the planet labels for a planet and for Space, and the Space Cannon Defence dummy and neutral variants.
  • Full mvn verify with the Postgres tests: 3947 tests, 0 failures.

🤖 Generated with Claude Code

Move the official labels of StartCombatService.getGeneralCombatButtons:
hit assignment, repair, refresh, retreats, ready for dice, the roll
buttons with their dummy variants, official agents and genomes (a
select for Clever Clever) and the official faction, technology and
hero buttons. Homebrew stays literal; English labels are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant