From fefd35804b95d470722cd0b9fd8069fb24ee69fb Mon Sep 17 00:00:00 2001 From: MiniDigger Date: Tue, 25 Jul 2017 06:57:04 +0200 Subject: [PATCH] add german translations (#65) --- .../co/aikar/commands/CommandManager.java | 3 +- languages/core/acf-core_de.properties | 35 +++++++++++++++++++ .../minecraft/acf-minecraft_de.properties | 34 ++++++++++++++++++ .../minecraft/acf-minecraft_en.properties | 1 - 4 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 languages/core/acf-core_de.properties create mode 100644 languages/minecraft/acf-minecraft_de.properties diff --git a/core/src/main/java/co/aikar/commands/CommandManager.java b/core/src/main/java/co/aikar/commands/CommandManager.java index 5c1f11e1..7638a0db 100644 --- a/core/src/main/java/co/aikar/commands/CommandManager.java +++ b/core/src/main/java/co/aikar/commands/CommandManager.java @@ -47,7 +47,8 @@ public abstract class CommandManager > { protected Map rootCommands = new HashMap<>(); protected CommandReplacements replacements = new CommandReplacements(this); protected ExceptionHandler defaultExceptionHandler = null; - protected Set supportedLanguages = Sets.newHashSet(Locale.ENGLISH, new java.util.Locale("es")); + + protected Set supportedLanguages = Sets.newHashSet(Locale.ENGLISH, Locale.GERMAN, new Locale("es")); protected Map formatters = new IdentityHashMap<>(); protected F defaultFormatter; diff --git a/languages/core/acf-core_de.properties b/languages/core/acf-core_de.properties new file mode 100644 index 00000000..a1be8e4a --- /dev/null +++ b/languages/core/acf-core_de.properties @@ -0,0 +1,35 @@ +# Copyright (c) 2016-2017 Daniel Ennis (Aikar) - MIT License +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# + +acf-core.permission_denied = Du hast nicht die benötigte Berechtigung um diesen Befehl auszuführen. +acf-core.error_generic_logged = Ein Fehler ist aufgetreten. Dieses Problem wurde festgehalten. Entschuldigung für die Unannehmlichkeiten. +acf-core.unknown_command = Unbekannter Befehl, gib /help ein, um Hilfe zu bekommen. +acf-core.invalid_syntax = Benutzung: {command} {syntax} +acf-core.error_prefix = Fehler: {message} +acf-core.error_performing_command = Beim Ausführen des Befehls ist ein Fehler aufgetreten. +acf-core.info_message = {message} +acf-core.please_specify_one_of = Fehler: Du must aus diesen Optionen wählen ({valid}). +acf-core.must_be_a_number = Fehler: Du musst eine Zahl eingeben. +acf-core.must_be_min_length = Fehler: Du musst mindestens {min} Buchstaben eingeben. +acf-core.must_be_max_length = Fehler: Du kannst maximal {max} Buchstaben eingeben. +acf-core.not_allowed_on_console = Fehler: Die Konsole darf diesen Befehl nicht ausführen. +acf-core.could_not_find_player = Fehler: Es konnte kein Spieler mit dem Namen {search} gefunden werden. diff --git a/languages/minecraft/acf-minecraft_de.properties b/languages/minecraft/acf-minecraft_de.properties new file mode 100644 index 00000000..da2dd495 --- /dev/null +++ b/languages/minecraft/acf-minecraft_de.properties @@ -0,0 +1,34 @@ +# +# Copyright (c) 2016-2017 Daniel Ennis (Aikar) - MIT License +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject to +# the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# + +acf-minecraft.invalid_world = Fehler: Diese Welt gibt es nicht. +acf-minecraft.you_must_be_holding_item = Fehler: Du musst einen Gegenstand in deiner Haupthand halten. +acf-minecraft.player_is_vanished_confirm = \ + Warnung: {vanished} ist getarnt. Lasse die Tarnung nicht auffliegen!\n\ + Um die Aktion zu bestätigen, hänge :confirm hinten an den Namen an.\n\ + Bsp: {vanished}:confirm +acf-minecraft.username_too_short = Fehler: Spielername zu kurz, er musst mindestens drei Buchstaben lang sein. +acf-minecraft.is_not_a_valid_name = Fehler: {name} ist kein valider Spielername. +acf-minecraft.multiple_players_match = Fehler: Es gibt mehrere Spieler deren Namen {search} ({all}) ähneln, du musst genauer sein. +acf-minecraft.no_player_found_server = Es gibt keinen Spieler auf diesem Server dessen Namen {search} ähnelt. +acf-minecraft.no_player_found = Es gibt keinen Spieler dessen Namen {search} ähnelt. diff --git a/languages/minecraft/acf-minecraft_en.properties b/languages/minecraft/acf-minecraft_en.properties index 26a5be71..03b053cb 100644 --- a/languages/minecraft/acf-minecraft_en.properties +++ b/languages/minecraft/acf-minecraft_en.properties @@ -32,4 +32,3 @@ acf-minecraft.is_not_a_valid_name = Error: {name} is not a valid userna acf-minecraft.multiple_players_match = Error: Multiple players matched {search} ({all}), please be more specific. acf-minecraft.no_player_found_server = No player matching {search} is connected to this server. acf-minecraft.no_player_found = No player matching {search} could be found. -