Skip to content

Localise 'hand' keyword in donate/value commands; sync locales#415

Closed
tastybento wants to merge 1 commit intomasterfrom
feature/localise-hand-keyword
Closed

Localise 'hand' keyword in donate/value commands; sync locales#415
tastybento wants to merge 1 commit intomasterfrom
feature/localise-hand-keyword

Conversation

@tastybento
Copy link
Copy Markdown
Member

Summary

  • Localisable 'hand' keyword: IslandDonateCommand and IslandValueCommand now read the subcommand keyword from the locale key island.donate.hand.keyword (default "hand"). English "hand" is always accepted as a fallback for backward compatibility; the localized word is an additional accepted form. Tab-complete shows the localized keyword.
  • Locale sync: Added island.donate.hand.keyword and the previously missing island.donate.invalid-item to all 16 non-English locale files with translated values.
  • Ukrainian full translation: The entire donate section in uk.yml was translated (it previously had English placeholder values), and the value command parameters/description were updated to use the Ukrainian word for "hand" (рука).

Test plan

  • Build passes: mvn test — 175 tests, 0 failures
  • /ai donate рука accepts the Ukrainian keyword and triggers hand-donation flow
  • /ai donate hand still works (English fallback)
  • Tab-complete for /ai donate shows the localized keyword
  • /ai value рука shows value of held item in Ukrainian locale
  • /ai help shows fully translated donate description and parameters in Ukrainian

🤖 Generated with Claude Code

…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>
@sonarqubecloud
Copy link
Copy Markdown

@tastybento
Copy link
Copy Markdown
Member Author

Duplicate of #416 which has been merged into develop. Changes will reach master via the normal release process.

@tastybento tastybento closed this Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant