Skip to content

i18n: Commands E-O#1001

Merged
mastercoms merged 5 commits intodevfrom
i18n201901.02
Jan 7, 2019
Merged

i18n: Commands E-O#1001
mastercoms merged 5 commits intodevfrom
i18n201901.02

Conversation

@Pr0methean
Copy link
Contributor

@Pr0methean Pr0methean commented Jan 5, 2019

Localizes commands E through O. Also properly logs when /op or /deop fails with an exception, with a localized message, replacing ex.printStackTrace().

Once this is merged, 20 of all 49 commands will have been i18nized, up from 8.

Also deploys the utility method CommandUtils.toNamespaced to append the minecraft: prefix when no namespace prefix is present, but make no change when an explicit namespace is present. This probably creates better error messages if a command is unsupported by Glowstone.

@Pr0methean Pr0methean requested a review from mastercoms January 5, 2019 02:02
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.

Hey, we discussed the namespaces a bit in the Discord, and I think an easy fix for now would be to check if a colon exists in the string before adding the Minecraft prefix. Also, please use Namespacedkey.MINECRAFT.

@mastercoms mastercoms merged commit c993dd1 into dev Jan 7, 2019
@mastercoms mastercoms deleted the i18n201901.02 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