Add translations

This commit is contained in:
2024-08-29 22:33:54 +02:00
parent 42dd4160ea
commit 4edc59ba66
3 changed files with 16 additions and 9 deletions
@@ -28,7 +28,7 @@ class TNTLeague : JavaPlugin() {
val bundleDe = ResourceBundle.getBundle("de.steamwar.tntleague.TNTLeague", Locale.GERMAN, UTF8ResourceBundleControl())
val bundleEn = ResourceBundle.getBundle("de.steamwar.tntleague.TNTLeague", Locale.US, UTF8ResourceBundleControl())
registry.defaultLocale(Locale.US)
registry.defaultLocale(Locale.GERMAN)
registry.registerAll(Locale.GERMAN, bundleDe, true)
registry.registerAll(Locale.US, bundleEn, true)