Skip to content

Localize BanCommand #987

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

Merged
merged 20 commits into from
Dec 23, 2018
Merged

Localize BanCommand #987

merged 20 commits into from
Dec 23, 2018

Conversation

Pr0methean
Copy link
Contributor

@Pr0methean Pr0methean commented Dec 20, 2018

This localizes BanCommand and also demonstrates how localized commands can work. Since each CommandSender has a different ResourceBundle, all LocalizedStringImpl instances a command uses must be created on demand, and thus LocalizedStringsTest's approach isn't applicable here.

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.

Very well done!

@Pr0methean Pr0methean removed the request for review from aramperes December 23, 2018 03:02
@mastercoms mastercoms merged commit ca98c5f into dev Dec 23, 2018
@mastercoms mastercoms deleted the localizedcommand branch February 3, 2019 15:53
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.

2 participants