Skip to content

Localization Phase 1: combat start on combat.* keys (1-5a) - #6308

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

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

Conversation

@wholton

@wholton wholton commented Dec 6, 2026

Copy link
Copy Markdown
Collaborator

Row 1-5a of the localization plan (docs/LOCALIZATION_PLAN.md §5.0): the start of a combat. Stacked on #6306 (1-4d) → #6305 → #6302; this PR targets the 1-4d branch, so the diff shows 1-5a only.

What moved (combat.* keys, StartCombatService)

  • Before the combat: the coexist-or-fight prompt and its two buttons, the remove-structures prompt and buttons.
  • Combat thread: the thread starter and the could-not-create notice, the intro with the space and invasion step lists and the system image line, the no-action-cards, [0.0.1], Quietus and X89 reminders, the automation offer (with and without the Crown of Thalnos line) and the Magen Defense Grid reminder.
  • Fog of War spectator thread: starter, title and the no-talking note.
  • Space Cannon Offence and ANTI-FIGHTER BARRAGE: coverage header, roll, roll-for-dummy and decline buttons, Graviton Laser System, the Argent flagship and Naalu mech reminders, the Entropic Scar notice.
  • Start of space combat buttons: Assault Cannon, Dimensional Splicer, Ambush, Mentak hero.
  • Follow-ups: Breach placement (Crimson Rebellion destroyer), Ahk Siever.
  • Cards-info reminders (official only): the combat secret objectives, Phoenix Standard, the Mahact token (one ICU select for Primacy or fleet pool), N'orr Supremacy, Nekro copy technology (and the Twilight's Fall singularity variant), The Reaping, Salvage Operations, the Mentak commander.

Language: thread and Space Cannon texts follow the active player's channel language (Lang.forCorrectChannel); cards-info reminders follow their owner (Lang.of(player)); per-player follow-ups go to that player's correct channel in their language.

rollForDummyButton(dummy, id, label) is replaced by spaceCannonForDummyButton(dummy, id, lang) (an ICU select over dummy or neutral); ButtonHelperTacticalAction calls it. A private copy of the old helper stays for the Space Cannon Defence button inside getGeneralCombatButtons until 1-5b.

Homebrew stays literal (Cymiae, War Stories, Kortali, Ghemina, Qhet, Moult, Secrets of the Weave, Ilyxum, Belkosea, Sarcosa, tk- units and the rest), as do the stored action summary and GM log. Not in this PR: getGeneralCombatButtons (1-5b), the roll output and hit assignment.

Ratchet

New class line ti4.service.combat.StartCombatService 210 (the remaining literals are getGeneralCombatButtons and homebrew).

Visible changes

None: every English text is byte-identical.

Tests

  • StartCombatMessagesTest: each moved text against the old string expression, Fog of War off and on, the rebuilt thread intro and spectator messages, and the dummy Space Cannon button's id and label.
  • Full mvn verify with the Postgres tests: 3944 tests, 0 failures.

🤖 Generated with Claude Code

Move the official texts of StartCombatService up to the general combat
buttons: the coexist-or-fight and remove-structures prompts, the combat
thread intro and reminders, the Fog of War spectator thread, Space Cannon
Offence and ANTI-FIGHTER BARRAGE buttons, start-of-space-combat buttons,
Breach and Ahk Siever follow-ups and the official cards-info reminders.
rollForDummyButton becomes spaceCannonForDummyButton(dummy, id, lang).
Homebrew stays literal; English output is 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