From 3dfee40c5703dee6919b5f3ee036a2b7b6f8142e Mon Sep 17 00:00:00 2001 From: Stijn Bannink Date: Tue, 26 Jan 2021 19:16:46 +0100 Subject: [PATCH] Add Dutch translation (#304) Co-authored-by: DarkEyeDragon --- .../co/aikar/commands/CommandManager.java | 2 +- languages/core/acf-core_nl.properties | 47 +++++++++++++++++++ .../minecraft/acf-minecraft_nl.properties | 38 +++++++++++++++ 3 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 languages/core/acf-core_nl.properties create mode 100644 languages/minecraft/acf-minecraft_nl.properties diff --git a/core/src/main/java/co/aikar/commands/CommandManager.java b/core/src/main/java/co/aikar/commands/CommandManager.java index 680744d4..12de42a7 100644 --- a/core/src/main/java/co/aikar/commands/CommandManager.java +++ b/core/src/main/java/co/aikar/commands/CommandManager.java @@ -76,7 +76,7 @@ public abstract class CommandManager< protected boolean usePerIssuerLocale = false; protected List> localeChangedCallbacks = new ArrayList<>(); - protected Set supportedLanguages = new HashSet<>(Arrays.asList(Locales.ENGLISH, Locales.GERMAN, Locales.SPANISH, Locales.FRENCH, Locales.CZECH, Locales.PORTUGUESE, Locales.SWEDISH, Locales.NORWEGIAN_BOKMAAL, Locales.NORWEGIAN_NYNORSK, Locales.RUSSIAN, Locales.BULGARIAN, Locales.HUNGARIAN, Locales.TURKISH, Locales.JAPANESE)); + protected Set supportedLanguages = new HashSet<>(Arrays.asList(Locales.ENGLISH, Locales.DUTCH, Locales.GERMAN, Locales.SPANISH, Locales.FRENCH, Locales.CZECH, Locales.PORTUGUESE, Locales.SWEDISH, Locales.NORWEGIAN_BOKMAAL, Locales.NORWEGIAN_NYNORSK, Locales.RUSSIAN, Locales.BULGARIAN, Locales.HUNGARIAN, Locales.TURKISH, Locales.JAPANESE)); protected Map formatters = new IdentityHashMap<>(); protected MF defaultFormatter; protected int defaultHelpPerPage = 10; diff --git a/languages/core/acf-core_nl.properties b/languages/core/acf-core_nl.properties new file mode 100644 index 00000000..7e60da4b --- /dev/null +++ b/languages/core/acf-core_nl.properties @@ -0,0 +1,47 @@ +# +# 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=Het spijt me, maar je hebt geen toegang om dit commando uit te voeren. +acf-core.permission_denied_parameter=Het spijt me, maar je hebt geen toegang om dit commando uit te voeren. +acf-core.error_generic_logged=Er is een fout opgetreden. Dit probleem is geregistreerd. Sorry voor het ongemak. +acf-core.unknown_command=Onbekend commando, typ /help +acf-core.invalid_syntax=Gebruik: {command} {syntax} +acf-core.error_prefix=Fout: {message} +acf-core.error_performing_command=Het spijt me, maar er was een fout bij het uitvoeren van dit commando. +acf-core.info_message={message} +acf-core.please_specify_one_of=Fout: Specificeer één van ({valid}). +acf-core.must_be_a_number=Fout: {num} moet een getal zijn. +acf-core.must_be_min_length=Fout: Moet minimaal {min} tekens lang zijn. +acf-core.must_be_max_length=Fout: Moet maximaal {max} tekens lang zijn. +acf-core.please_specify_at_most=Fout: Geef een waarde op van maximaal {max}. +acf-core.please_specify_at_least=Fout: Geef een waarde op van minimaal {min}. +acf-core.not_allowed_on_console=Fout: Console mag dit commando niet uitvoeren. +acf-core.could_not_find_player=Fout: Kon geen speler vinden met de naam: {search} +acf-core.no_command_matched_search=Geen commando komt overeen met {zoeken} +acf-core.help_page_information=- Pagina {page} van {totalpages} ({results} resultaten). +acf-core.help_no_results=Fout: Geen resultaten meer. +acf-core.help_header==== Hulp weergegeven voor {commandprefix}{command} === +acf-core.help_format={command} {parameters} {separator} {description} +acf-core.help_detailed_header==== Gedetaileerde hulp weergegeven voor {commandprefix}{command} === +acf-core.help_detailed_command_format={command} {parameters} {separator} {description} +acf-core.help_detailed_parameter_format={syntaxorname}: {description} +acf-core.help_search_header==== Zoekresultaten voor {commandprefix}{command} {search} === diff --git a/languages/minecraft/acf-minecraft_nl.properties b/languages/minecraft/acf-minecraft_nl.properties new file mode 100644 index 00000000..16e9f62a --- /dev/null +++ b/languages/minecraft/acf-minecraft_nl.properties @@ -0,0 +1,38 @@ +# +# 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 = Fout: Deze wereld bestaat niet. +acf-minecraft.you_must_be_holding_item = Fout: Je moet een item in je primaire hand hebben. +acf-minecraft.player_is_vanished_confirm = \ + Waarschuwing: {vanished} is vanished. Laat hun bescherming intact!\n\ + Om je actie te bevestigen, voeg :confirm toe aan het einde van hun naam.\n\ + Bijv: {vanished}:confirm +acf-minecraft.username_too_short = Fout: Gebruikersnaam te kort, moet minstens drie tekens zijn. +acf-minecraft.is_not_a_valid_name = Fout: {name} is geen geldige gebruikersnaam. +acf-minecraft.multiple_players_match = Fout: Meerdere spelers kwamen overeen met {search}({all}). Wees specifieker. +acf-minecraft.no_player_found_server = Er is geen speler online die overeenkomt met {search}. +acf-minecraft.no_player_found_offline = Er is geen speler gevonden die overeenkomt met {search}. +acf-minecraft.no_player_found = Er is geen speler gevonden die overeenkomt met {search}. +acf-minecraft.location_please_specify_world = Fout: Geef een wereld mee. Voorbeeld: wereld:x,y,z. +acf-minecraft.location_please_specify_xyz = Fout: Geef de coördinaten x, y en z op. Voorbeeld: wereld:x,y,z. +acf-minecraft.location_console_not_relative = Fout: Console mag geen relatieve coördinaten gebruiken voor de locatie.