GlowstoneMC / Glowstone

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

[i18n] 3 nesting levels is enough! #908

Closed Pr0methean closed 6 years ago

Pr0methean commented 6 years ago

This simplifies LocalizedStrings by limiting the nesting depth within it to 3 levels. Excessive nesting bloats the jar file, slows down IDEs, forces very short lines due to the indentation, and makes it harder to find a relevant message. In several cases, a 4th-level sub-interface had the same name (modulo case) as a message, which can't have helped readability.