GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.89k stars 271 forks source link

[i18n] Localizable map for GameMode decoding #967

Closed Pr0methean closed 5 years ago

Pr0methean commented 5 years ago

This is the proof of concept for a new approach to localizing game-mode names and abbreviations. It uses a second resource bundle, which is converted during class init to an ImmutableSortedMap<String,GameMode> with the same keys.

mastercoms commented 5 years ago

Seems like your import clean up in the main i18n branch removed some necessary imports for these changes.