Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command localization, step 1 #981

Merged
merged 8 commits into from
Dec 20, 2018
Merged

Command localization, step 1 #981

merged 8 commits into from
Dec 20, 2018

Conversation

Pr0methean
Copy link
Contributor

@Pr0methean Pr0methean commented Nov 28, 2018

This creates an abstract base class for commands which extend VanillaCommand and need i18n, so they will speak to players in their own locale if available. (To non-player CommandSender instances, they'll speak the server locale.)

Subsequent PRs will do the same for BukkitCommand, make all the concrete command classes extend these two, and add tests to ensure no missing or unused entries in commands.properties.

@Pr0methean Pr0methean changed the title Command localization, step 1 This creates an abstract base class for commands which extend VanillaCommand and need i18n, so they will speak to players in their own locale if available. Command localization, step 1 Nov 28, 2018
@Pr0methean Pr0methean dismissed mastercoms’s stale review December 19, 2018 23:01

Resolved; will request another round

Copy link
Member

@mastercoms mastercoms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! :)

@mastercoms
Copy link
Member

Thank you for your contribution to Glowstone!

@mastercoms mastercoms merged commit 43271a9 into dev Dec 20, 2018
@mastercoms mastercoms deleted the localizedcommand branch December 20, 2018 05:33
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.

3 participants