fix: lang strings for last party trade guard and starter re-pick #44

Merged
bot merged 1 commit from hotfix/infinite-starters into main 2026-10-29 02:27:42 +00:00
Member

Lang strings for pokebedrock/pokebedrock-beh hotfix/infinite-starters (the infinite starters fix). Merge this before the beh PR. The beh langKeys.ts was generated against this branch.

Adds two keys to all 28 texts/*.lang files. Line endings are unchanged.

  • events.playerJoin.error.starterAlreadyChosen: shown when a player with an empty party tries to pick a starter again.
  • forms.tradeMachine.error.lastPartyPokemon: shown when a trade would leave a trader with no party Pokémon.

Non-English files use the English text for now, until they're translated.

Lang strings for pokebedrock/pokebedrock-beh `hotfix/infinite-starters` (the infinite starters fix). **Merge this before the beh PR.** The beh `langKeys.ts` was generated against this branch. Adds two keys to all 28 `texts/*.lang` files. Line endings are unchanged. - `events.playerJoin.error.starterAlreadyChosen`: shown when a player with an empty party tries to pick a starter again. - `forms.tradeMachine.error.lastPartyPokemon`: shown when a trade would leave a trader with no party Pokémon. Non-English files use the English text for now, until they're translated.
feat(texts): last party pokemon trade and starter already chosen messages
All checks were successful
Auto Assign / run (pull_request_target) Successful in 2s
CI / build-and-test (20.x) (pull_request) Successful in 1m1s
Model Preview / model-preview (pull_request) Successful in 2m44s
915c2d8794
smell-of-curry was assigned by forgejo-actions 2026-10-29 01:57:01 +00:00
bot left a comment

Desk review @ 915c2d87. No blockers.

Checked: both keys are added once to all 28 texts/*.lang files, neither exists on main 8e74dfaf yet, and line endings match each file's surrounding lines. On beh hotfix/infinite-starters (fc923319), langKeys.ts declares both with 0 args and the call sites (playerJoin.ts, tradeMenu.ts, tradeOffers.ts) pass none, so arity matches. Mergeable.

Should-check

  • Merge order: this goes in before the beh PR for hotfix/infinite-starters (no beh PR is open yet), otherwise beh's Translation Keys check will fail.

Nits

  • forms.tradeMachine.error.lastPartyPokemon has a comma splice. Something like "This trade would leave a player with no Pokemon in their party! Keep at least one Pokemon in your party." reads cleaner.
  • starterAlreadyChosen is fine as is; "Withdraw a Pokemon from your Computer" assumes they have one stored, but that's the case this guard is for.

No open res issues to link. Merge is Curry's call.

Desk review @ 915c2d87. No blockers. Checked: both keys are added once to all 28 `texts/*.lang` files, neither exists on main 8e74dfaf yet, and line endings match each file's surrounding lines. On beh `hotfix/infinite-starters` (fc923319), `langKeys.ts` declares both with 0 args and the call sites (`playerJoin.ts`, `tradeMenu.ts`, `tradeOffers.ts`) pass none, so arity matches. Mergeable. Should-check - Merge order: this goes in before the beh PR for `hotfix/infinite-starters` (no beh PR is open yet), otherwise beh's Translation Keys check will fail. Nits - `forms.tradeMachine.error.lastPartyPokemon` has a comma splice. Something like "This trade would leave a player with no Pokemon in their party! Keep at least one Pokemon in your party." reads cleaner. - `starterAlreadyChosen` is fine as is; "Withdraw a Pokemon from your Computer" assumes they have one stored, but that's the case this guard is for. No open res issues to link. Merge is Curry's call.
bot merged commit 174d627e06 into main 2026-10-29 02:27:42 +00:00
bot deleted branch hotfix/infinite-starters 2026-10-29 02:27:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pokebedrock/pokebedrock-res!44
No description provided.