Repository navigation
Conversation
… (1-5e) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Row 1-5e of the localization plan (
docs/LOCALIZATION_PLAN.md§5.0): hit assignment after a combat roll. Stacked on #6312 (1-5d); this PR targets the 1-5d branch, so the diff shows 1-5e only.What moved (
combat.hits.*,CombatRollService)Messages in the roll's channel follow the roller's channel language (
Lang.forCorrectChannel(player), as the roll output in 1-5d). The public senders that take a channel (sendSpaceCannonOffenceHitAssignment,sendSpaceCannonDefenceHitAssignment,sendGroundCombatHitAssignment,sendSpaceAssignHitsButtons) use the hit player's channel language.Homebrew texts stay English and in code: Sting of the Hive, Metali Void Shielding, Blue Reverie, Meteor Slings, X-89 Ω Ω, Biomechanical Nutrients. Text appended from
ButtonHelperModifyUnits.autoAssignSpaceCombatHitsis untouched (a later row).Found on the way, not changed (not localization): after a Valkyrie Particle Weave hit, the buttons assign 1 hit but their labels use the opponent's hit count. Left a TODO.
Ratchet
New class line
ti4.service.combat.CombatRollService 33.Visible changes
One wording for every dummy auto-assign button, "Auto-assign Hit(s) For Dummy". Before, two sites said just "Auto-assign Hit" at 1 hit (SPACE CANNON and AFB), and
sendSpaceAssignHitsButtonssaid "Auto-assign hits for Dummy". Every other English text is byte-identical.Tests
CombatHitAssignmentTextTestcompares every new key's English with the old string expression, over 0, 1, 2, 3 and 12 hits and several rounds.mvn verifywith the Postgres tests: 3960 tests, 0 failures.🤖 Generated with Claude Code