fix: lang strings for last party trade guard and starter re-pick #44
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pokebedrock/pokebedrock-res!44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hotfix/infinite-starters"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lang strings for pokebedrock/pokebedrock-beh
hotfix/infinite-starters(the infinite starters fix). Merge this before the beh PR. The behlangKeys.tswas generated against this branch.Adds two keys to all 28
texts/*.langfiles. 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.
Desk review @
915c2d87. No blockers.Checked: both keys are added once to all 28
texts/*.langfiles, neither exists on main8e74dfafyet, and line endings match each file's surrounding lines. On behhotfix/infinite-starters(fc923319),langKeys.tsdeclares both with 0 args and the call sites (playerJoin.ts,tradeMenu.ts,tradeOffers.ts) pass none, so arity matches. Mergeable.Should-check
hotfix/infinite-starters(no beh PR is open yet), otherwise beh's Translation Keys check will fail.Nits
forms.tradeMachine.error.lastPartyPokemonhas 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.starterAlreadyChosenis 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.