diff --git a/core/src/main/java/co/aikar/commands/CommandManager.java b/core/src/main/java/co/aikar/commands/CommandManager.java index 48d0c12e..34d5d1de 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)); + 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)); protected Map formatters = new IdentityHashMap<>(); protected MF defaultFormatter; protected int defaultHelpPerPage = 10; diff --git a/core/src/main/java/co/aikar/commands/Locales.java b/core/src/main/java/co/aikar/commands/Locales.java index f841ea50..877014e6 100644 --- a/core/src/main/java/co/aikar/commands/Locales.java +++ b/core/src/main/java/co/aikar/commands/Locales.java @@ -76,6 +76,7 @@ public class Locales { public static final Locale WELSH = new Locale("cy"); public static final Locale NORWEGIAN_BOKMAAL = new Locale("nb"); public static final Locale NORWEGIAN_NYNORSK = new Locale("nn"); + public static final Locale HUNGARIAN = new Locale("hu"); private final CommandManager manager; private final LocaleManager localeManager; diff --git a/languages/core/acf-core_hu.properties b/languages/core/acf-core_hu.properties new file mode 100644 index 00000000..ed40ee5d --- /dev/null +++ b/languages/core/acf-core_hu.properties @@ -0,0 +1,47 @@ +# +# Copyright (c) 2016-2019 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=Nincsen jogod a parancs használatához. +acf-core.permission_denied_parameter=Nincsen jogod a parancs használatához. +acf-core.error_generic_logged=Hiba történt. A hiba rögzítésre került. A kellemetlenségért elnézést kérünk. +acf-core.unknown_command=Ismeretlen parancs. Kérlek használd a /help parancsot. +acf-core.invalid_syntax=Használat: {command} {syntax} +acf-core.error_prefix=Hiba: {message} +acf-core.error_performing_command=Hiba történt a parancs elvégzése közben. +acf-core.info_message={message} +acf-core.please_specify_one_of=Hiba: Kérlek válassz az alábbiak közül ({valid}). +acf-core.must_be_a_number=Hiba: {num} nem szám. +acf-core.must_be_min_length=Hiba: Legalább {min} karakter hosszúnak kell lennie. +acf-core.must_be_max_length=Hiba: Legfeljebb {max} karakter hosszú lehet. +acf-core.please_specify_at_most=Hiba: A megadott érték nagyobb, mint {max}. +acf-core.please_specify_at_least=Hiba: A megadott érték kisebb, mint {min}. +acf-core.not_allowed_on_console=Hiba: Ez a parancs konzolból nem végrehajtható. +acf-core.could_not_find_player=Hiba: Nem található játékos ilyen néven: {search} +acf-core.no_command_matched_search=A keresésnek nem felel meg egy parancs sem {search}. +acf-core.help_page_information=- Oldalszám: {page} összes {totalpages} ({results} results). +acf-core.help_no_results=Hiba: Nincs több találat. +acf-core.help_header==== Segítség a {commandprefix}{command} === parancshoz +acf-core.help_format={command} {parameters} {separator} {description} +acf-core.help_detailed_header==== Részletes segítség a {commandprefix}{command} === parancshoz +acf-core.help_detailed_command_format={command} {parameters} {separator} {description} +acf-core.help_detailed_parameter_format={syntaxorname}: {description} +acf-core.help_search_header==== Keresési találatok az alábbihoz: {commandprefix}{command} {search} === diff --git a/languages/minecraft/acf-minecraft_hu.properties b/languages/minecraft/acf-minecraft_hu.properties new file mode 100644 index 00000000..7231df48 --- /dev/null +++ b/languages/minecraft/acf-minecraft_hu.properties @@ -0,0 +1,37 @@ +# +# 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=Hiba: Ilyen világ nem létezik. +acf-minecraft.you_must_be_holding_item=Hiba: Tárgyat kell fognod a fő kezedben. +acf-minecraft.player_is_vanished_confirm=\ + Figyelmeztetés: {vanished} el van rejtve. Ne leplezd le!\n\ + Az akció megerősítéséhez a neve végére írd oda a következőt::confirm .\n\ + Pl: {vanished}:confirm +acf-minecraft.username_too_short=Hiba: A név túl rövid, legalább három karakter hosszúnak kell legyen. +acf-minecraft.is_not_a_valid_name=Hiba: {name} nem megfelelő felhasználónév. +acf-minecraft.multiple_players_match=Hiba: A keresésnek ({search} ({all})) több játékos is megfelelt, kérlek legyél pontosabb. +acf-minecraft.no_player_found_server=Nincsen a {search} keresésnek megfelelő játékos ezen a szerveren. +acf-minecraft.no_player_found_offline=Nem található a {search} keresésnek megfelelő játékos. +acf-minecraft.no_player_found=Nem található a {search} keresésnek megfelelő játékos. +acf-minecraft.location_please_specify_world=Hiba: Kérlek válassz világot. Példa: world:x,y,z. +acf-minecraft.location_please_specify_xyz=Hiba: Kérlek adj meg x, y és z koordinátákat. Példa: world:x,y,z. +acf-minecraft.location_console_not_relative=Hiba: Konzolból nem használhatóak relatív koordináták.