diff options
author | Tyler Murphy <tylermurphy534@gmail.com> | 2021-12-20 17:24:43 -0500 |
---|---|---|
committer | Tyler Murphy <tylermurphy534@gmail.com> | 2021-12-20 17:24:43 -0500 |
commit | 08c6e6b24bcbdb9b4ed0e6d3db102fc804b5631a (patch) | |
tree | 5f1e96a75ea6ced6ef6ce66dae3b31d7880223f2 /src/main/resources | |
parent | localization resets on internal update (diff) | |
download | kenshinshideandseek-08c6e6b24bcbdb9b4ed0e6d3db102fc804b5631a.tar.gz kenshinshideandseek-08c6e6b24bcbdb9b4ed0e6d3db102fc804b5631a.tar.bz2 kenshinshideandseek-08c6e6b24bcbdb9b4ed0e6d3db102fc804b5631a.zip |
added support for multiple default local files
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/config.yml | 5 | ||||
-rw-r--r-- | src/main/resources/lang/localization_de-DE.yml | 60 | ||||
-rw-r--r-- | src/main/resources/lang/localization_en-US.yml | 64 | ||||
-rw-r--r-- | src/main/resources/localization.yml | 3 |
4 files changed, 131 insertions, 1 deletions
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index c6b5ecd..7d16cae 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -82,6 +82,11 @@ prefix: gameover: '&aGame Over > &f' warning: '&cWarning > &f' +# Changes the default plugin language. Currently, Supported localizations are: +# en-US (United States) +# de-DE (German) +local: "en-US" + # ---------------------------------------------------------- # # ONLY EDIT BEYOND THIS POINT IF YOU KNOW WHAT YOU ARE DOING # # ---------------------------------------------------------- # diff --git a/src/main/resources/lang/localization_de-DE.yml b/src/main/resources/lang/localization_de-DE.yml new file mode 100644 index 0000000..d8930f8 --- /dev/null +++ b/src/main/resources/lang/localization_de-DE.yml @@ -0,0 +1,60 @@ +#============================================================# +# +--------------------------------------------------------+ # +# | Kenshins Hide and Seek | # +# | German language file | # +# | by HerrMelodious | # +# +--------------------------------------------------------+ # +#============================================================# + +Localization: + COMMAND_PLAYER_ONLY: "Dieser Befehl kann nur als Spieler ausgeführt werden." + COMMAND_NOT_ALLOWED: "Es ist dir nicht gestattet diesen Befehl auszuführen." + COMMAND_ERROR: "Ein unbekannter Fehler ist aufgetreten." + GAME_PLAYER_DEATH: "&c{PLAYER}&f ist gestorben." + GAME_PLAYER_FOUND: "&e{PLAYER}&f wurde gefunden und ist nun ein Seeker." + GAME_PLAYER_FOUND_BY: "&e{PLAYER}&f wurde von &c{PLAYER}&f gefunden und ist nun ein Seeker." + GAME_GAMEOVER_HIDERS_FOUND: "Alle Hider wurden gefunden." + GAME_GAMEOVER_SEEKERS_QUIT: "All Seeker haben das Spiel verlassen." + GAME_GAMEOVER_TIME: "Seekers haben keine Spielzeit mehr. Die Hiders haben gewonnen!" + GAME_SETUP: "Spiel wurde noch nicht eingerichtet. Führe &c/hs setup&f aus, um die Einrichtungsschritte zu sehen." + GAME_INGAME: "Du bist bereits in der Lobby oder im Spiel." + GAME_NOT_INGAME: "Du bist weder in einer Lobby noch in einem Spiel." + GAME_INPROGRESS: "Es läuft bereits ein Spiel." + GAME_NOT_INPROGRESS: "Es läuft kein Spiel." + GAME_JOIN: "{PLAYER} hat die Hide and Seek Lobby betreten." + GAME_JOIN_SPECTATOR: "Du bist als Beobachter einem laufenden Spiel beigetreten." + GAME_LEAVE: "{PLAYER} hat die Hide and Seek Lobby verlassen." + CONFIG_RELOAD: "Konfiguration neu geladen." + MAPSAVE_INPROGRESS: "Weltkarte wird aktuell gespeichert. Versuche es später nochmal." + MAPSAVE_START: "Starte Speichervorgang der Weltkarte" + MAPSAVE_WARNING: "All commands will be disabled whenthe save is in progress. Do not turn off the server." + MAPSAVE_END: "Speichervorgang abgeschlossen." + MAPSAVE_ERROR: "Aktuelle Weltkarte konnte nicht gefunden werden." + WORLDBORDER_DISABLE: "World Border ausgeschaltet." + WORLDBORDER_INVALID_INPUT: "Ungültiger Wert: {AMOUNT}" + WORLDBORDER_MIN_SIZE: "World Border darf nicht geringer als 100 Blöcke sein." + WORLDBORDER_POSITION: "Spawn muss mindestens 100 Blöcke vom Zentrum der World Border entfernt sein." + WORLDBORDER_ENABLE: "Setze World Border zentriert von dieser Position aus. Größe: {AMOUNT}. Verzögerung: {AMOUNT}." + WORLDBORDER_DECREASING: "World Norder schrumpoft 100 Blöcke über die nächsten 30 Sekunden!" + TAUNTED: "$c$oOh nein! Du wurdest geärgert!" + TAUNT: "Ein zufälliger Hider wird in den nächsten 30 Sekunden geärgert." + TAUNT_ACTIVATE: "Ärgern wurde aktiviert" + ERROR_GAME_SPAWN: "Bitte erst die Spawn-Position für das Spiel festlegen." + SETUP: "&f&lFühre die folgenden Schritte zur Einrichtung aus:" + SETUP_GAME: "&c&l- &fTeleport-Position für den Spielbeginn festlegen mit /hs setspawn" + SETUP_LOBBY: "&c&l- &fTeleport-Position für die Lobby festlegen mit /hs setlobby" + SETUP_EXIT: "&c&l- &fTeleport-Position für das Spielende festlegen mit /hs setexit" + SETUP_SAVEMAP: "&c&l- &fHide and Seek Weltkarte speichern mit /hs savemap (nach /hs setspawn)" + SETUP_COMPLETE: "Alles eingerichtet! Hide and Seek ist spielbereit." + GAME_SPAWN: "Teleport-Position für Spielbeginn festgelegt" + LOBBY_SPAWN: "Teleport-Position für Lobby festgelegt" + EXIT_SPAWN: "Teleport-Position für Spielende festgelegt" + START_MIN_PLAYERS: "Um das Spiel zu starten benötigst du mindestens {AMOUNT} Spieler." + START_INVALID_NAME: "Ungültiger Spieler: {PLAYER}." + START_COUNTDOWN: "Die Hider haben {AMOUNT} Sekunden Zeit sich zu verstecken!" + START: "Los, Seeker! Es ist Zeit, die Hider zu finden." + STOP: "Das Spiel wurde gestoppt." + HIDERS_SUBTITLE: "Verstecke dich gut vor den Seekern!" + SEEKERS_SUBTITLE: "Finde alle Hider!" + +type: "de-DE" diff --git a/src/main/resources/lang/localization_en-US.yml b/src/main/resources/lang/localization_en-US.yml new file mode 100644 index 0000000..19c79b7 --- /dev/null +++ b/src/main/resources/lang/localization_en-US.yml @@ -0,0 +1,64 @@ +#============================================================# +# +--------------------------------------------------------+ # +# | Kenshins Hide and Seek | # +# | English language file | # +# | by KenshinEto | # +# +--------------------------------------------------------+ # +#============================================================# + +Localization: + COMMAND_PLAYER_ONLY: "This command can only be run as a player." + COMMAND_NOT_ALLOWED: "You are not allowed to run this command." + COMMAND_ERROR: "An internal error has occurred." + GAME_PLAYER_DEATH: "&c{PLAYER}&f was killed." + GAME_PLAYER_FOUND: "&e{PLAYER}&f was found and became a seeker." + GAME_PLAYER_FOUND_BY: "&e{PLAYER}&f was found by &c{PLAYER}&f and became a seeker." + GAME_GAMEOVER_HIDERS_FOUND: "All hiders have been found." + GAME_GAMEOVER_SEEKERS_QUIT: "All seekers have quit." + GAME_GAMEOVER_TIME: "Seekers ran out of time. Hiders win!" + GAME_SETUP: "Game is not setup. Run /hs setup to see what you need to do." + GAME_INGAME: "You are already in the lobby/game." + GAME_NOT_INGAME: "You are not in a lobby/game." + GAME_INPROGRESS: "There is currently a game in progress." + GAME_NOT_INPROGRESS: "There is no game in progress." + GAME_JOIN: "{PLAYER} has joined the HideAndSeek lobby." + GAME_JOIN_SPECTATOR: "You have joined mid game and are now a spectator." + GAME_LEAVE: "{PLAYER} has left the HideAndSeek lobby." + CONFIG_RELOAD: "Reloaded the config." + MAPSAVE_INPROGRESS: "Map save is currently in progress. Try again later." + MAPSAVE_START: "Starting map save." + MAPSAVE_WARNING: "All commands will be disabled when the save is in progress. Do not turn off the server." + MAPSAVE_END: "Map save complete." + MAPSAVE_ERROR: "Couldn't find current map." + WORLDBORDER_DISABLE: "Disabled world border." + WORLDBORDER_INVALID_INPUT: "Invalid integer {AMOUNT}." + WORLDBORDER_MIN_SIZE: "World border cannot be smaller than 100 blocks." + WORLDBORDER_POSITION: "Spawn position must be 100 from world border center." + WORLDBORDER_ENABLE: "Set border center to current location, size to {AMOUNT}, and delay to {AMOUNT}." + WORLDBORDER_DECREASING: "World border decreasing by 100 blocks over the next 30s." + TAUNTED: "$c$oOh no! You have been chosen to be taunted." + TAUNT: "A random hider will be taunted in the next 30s." + TAUNT_ACTIVATE: "Taunt has been activated." + ERROR_GAME_SPAWN: "Please set game spawn location first" + SETUP: "&f&lThe following is needed for setup..." + SETUP_GAME: "&c&l- &fGame spawn isn't set, /hs setspawn" + SETUP_LOBBY: "&c&l- &fLobby spawn isn't set, /hs setlobby" + SETUP_EXIT: "&c&l- &fQuit/exit teleport location isn't set, /hs setexit" + SETUP_SAVEMAP: "&c&l- &fHide and seek map isn't saved, /hs savemap (after /hs setspawn)" + SETUP_BOUNDS: "&c&l- &fPlease set game bounds in 2 opposite corners of the game map, /hs setbounds" + SETUP_COMPLETE: "Everything is setup and ready to go!" + GAME_SPAWN: "Set game spawn position to current location" + LOBBY_SPAWN: "Set lobby position to current location" + EXIT_SPAWN: "Set exit position to current location" + START_MIN_PLAYERS: "You must have at least {AMOUNT} players to start." + START_INVALID_NAME: "Invalid player: {PLAYER}." + START_COUNTDOWN: "Hiders have {AMOUNT} seconds to hide!" + START: "Attention SEEKERS, its time to fin the hiders!" + STOP: "Game has been force stopped." + HIDERS_SUBTITLE: "Hide away from the seekers" + SEEKERS_SUBTITLE: "Eliminate all hiders" + BOUNDS_WRONG_WORLD: "Please run this command in the game world." + BOUNDS: "Successfully set bounds at this position ({AMOUNT}/2)." + NOT_AT_ZERO: "Please do not set at a location containing a coordinate at 0." + +type: "en-US"
\ No newline at end of file diff --git a/src/main/resources/localization.yml b/src/main/resources/localization.yml index e73ee80..2acb0fc 100644 --- a/src/main/resources/localization.yml +++ b/src/main/resources/localization.yml @@ -53,5 +53,6 @@ Localization: BOUNDS: "Successfully set bounds at this position ({AMOUNT}/2)." NOT_AT_ZERO: "Please do not set at a location containing a coordinate at 0." -# DO NOT EDIT +# DO NOT EDIT IT OR IT MAY BREAK OR RESET FILE version: 2 +type: "en-US"
\ No newline at end of file |