feat: make 'hand' keyword localizable; sync locale files#416
Merged
tastybento merged 4 commits intodevelopfrom Apr 21, 2026
Merged
feat: make 'hand' keyword localizable; sync locale files#416tastybento merged 4 commits intodevelopfrom
tastybento merged 4 commits intodevelopfrom
Conversation
New release 2.24.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…locales - Add island.donate.hand.keyword locale key (en-US: "hand") so each language can provide its own word for the hand subcommand arg - IslandDonateCommand: accept both English "hand" and the localized keyword; tab-complete shows the localized keyword - IslandValueCommand: same localizable keyword for HAND arg and tab-complete - All 16 non-English locales: add island.donate.hand.keyword (translated) and island.donate.invalid-item (translated) - uk.yml: fully translate donate section (parameters, description, all messages) and update value command parameters/description Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
6 tasks
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.



Summary
handkeyword in/island donateand/island valuelocalizable via a newisland.donate.hand.keywordlocale key — Englishhandalways accepted as a fallback for backward compatibilityen-US.ymlisland.donate.invalid-itemkey to all non-English localesisland.donate.*section inuk.yml(was entirely in English)uk.ymldonate/value command parameter display strings to use Ukrainian keyword (рука)Code changes
IslandDonateCommand.java"hand".equalsIgnoreCase(args.get(0))→isHandKeyword(user, args.get(0))helper that accepts both English and localized keywordIslandValueCommand.javahandargumenten-US.ymlisland.donate.hand.keyword: "hand"Test plan
IslandDonateCommandTestandIslandValueCommandTestupdated and passingmvn testpasses (175 tests, 0 failures)🤖 Generated with Claude Code