Geyser/core/src/main/java/org/geysermc/geyser/text
kyrptonaught d63a70daa9
Add support for adding custom translations. (#4047)
* Add support for loading locale overwrites. Any lang files in this new folder will be appended to the main lang file when loaded.
* A locale will no longer attempt to be downloaded and loaded if it already is loaded. Previously a lang file was reloaded everytime a player joins.
* Switch some io bits to nio
* formatting fixes
* Update core/src/main/java/org/geysermc/geyser/text/MinecraftLocale.java
* Rename isLocalLoaded to isLocaleLoaded
* Rename overwrites to overrides
* Catch separate exceptions when parsing locale file. Similar to previous implementation
* Add //no-op to try/catch
* Apply suggestions to fix issues that might arise with the Norwegian locale
* Properly resolve override locale path for nb_no
* Yeet temporary fix - addresses @Camotoy's review
* Catch IOException properly

---------
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
2023-12-12 00:20:25 +01:00
..
AsteriskSerializer.java Add more info to Fabric's geyser dumps (#4175) 2023-12-06 08:26:20 +01:00
ChatColor.java Fabric improvements 2022-10-24 13:21:02 -04:00
ChatTypeEntry.java Project wide syntax/annotation cleanup (#4238) 2023-12-05 18:54:42 -05:00
DummyLegacyHoverEventSerializer.java Project wide syntax/annotation cleanup (#4238) 2023-12-05 18:54:42 -05:00
GeyserLocale.java Project wide syntax/annotation cleanup (#4238) 2023-12-05 18:54:42 -05:00
GsonComponentSerializerWrapper.java Project wide syntax/annotation cleanup (#4238) 2023-12-05 18:54:42 -05:00
MinecraftLocale.java Add support for adding custom translations. (#4047) 2023-12-12 00:20:25 +01:00
MinecraftTranslationRegistry.java Project wide syntax/annotation cleanup (#4238) 2023-12-05 18:54:42 -05:00
TextDecoration.java Initial 1.19.1 Java support 2022-07-24 19:32:22 -04:00