Repository navigation
Conversation
Moves the official texts of ButtonHelperSCs onto scs.* keys: following and not following, the strategy token spend, pre-declining, the Leadership, Diplomacy, Politics, Technology, Imperial and Trade follow-ups, and the Construction and Warfare production prompts. The strategy token spend now returns a FollowTokenSpend outcome, so scFollow and the Trade wash stop reading its English text. The base game Warfare production prompt now uses the same lines as the Thunder's Edge one (it read "system.. You also have" before). I18nRatchetTest accepts a class line; ti4.helpers.ButtonHelperSCs 69 covers the homebrew sets left literal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Movement buttons and prompts, landing buttons and notices, the movement summary and the official ability buttons in ti4.service.tactical and TacticalActionButtonHandlers now render from tactical.properties. English output is unchanged; homebrew labels stay literal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…1-4b) (#6303) Move ButtonHelperTacticalAction texts onto tactical.* keys (1-4b) Starting a tactical action, activation notices, Space Cannon Offence in Fog of War, Voidwatch, the after-movement and end-of-action offers, the build prompt and the unit buttons for a system now render from tactical.properties. English output is unchanged; homebrew stays literal. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # docs/LOCALIZATION_PLAN.md # src/test/resources/i18n-ratchet.txt
🔬 Test Results✅ JSON ValidationNo JSON files changed. ✅ Formatting Checks PassedAll files pass Spotless formatting. ✅ JUnit Tests PassedAll tests passed successfully. |
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-4a of the localization plan (
docs/LOCALIZATION_PLAN.md§5.0): moves the official texts ofti4.service.tacticalandTacticalActionButtonHandlersontotactical.*keys. Stacked on #6301 (1-3b); this PR targets its branch, so the diff shows 1-4a only. Merge #6301 first.Row 1-4 is split in four: 1-4a (this one), 1-4b
ButtonHelperTacticalAction, 1-4cButtonHelperModifyUnits(with the Xan Quantum Fabrication check), 1-4d production and theDone*buttons.What moved
TacticalMessagesholds the factories and the language choice (Lang.forCorrectChannel(player); ephemerals use the presser's language).Visible change
None. English output is byte-identical (oracle tests below). Unit type names inside the landing labels stay English until game data is localized.
Limits guard
The Land and Un-land labels carry five short names (count, ally colour, unit state, unit type, planet). With the guard's 40-character samples they can never fit 80, so
DiscordLimitsI18nTestnow checks these two keys with 12-character samples. A long planet name is still cut byButtons.ofat runtime, as it always was.Left literal
Homebrew buttons (Ignis Aurora, Blue Reverie, Discordant Stars, Absol relics, Borrowed Authority, Erwan's Gambit). Ratchet floors:
ti4.service.tactical5,.movement19,.planet1,.postmovement20,TacticalActionButtonHandlers0.Tests
TacticalMessagesTest: oracles copying every old string expression, across ally colours, unit states, counts and distances.FinishLandingEchoTestrenders the finish-movementMsgin English;OneShipMoveBonusNoteTestpasses unchanged.mvn verifywith the Postgres tests: 3903 tests, 0 failures.🤖 Generated with Claude Code