Add Swedish as supported language. (#109)

This commit is contained in:
Emil
2018-03-20 15:57:50 +01:00
committed by Daniel Ennis
parent bcd84a0fe4
commit 0deeeeca5e
3 changed files with 80 additions and 1 deletions
@@ -75,7 +75,7 @@ public abstract class CommandManager <
protected boolean usePerIssuerLocale = false;
protected List<IssuerLocaleChangedCallback<I>> localeChangedCallbacks = Lists.newArrayList();
protected Set<Locale> supportedLanguages = Sets.newHashSet(Locales.ENGLISH, Locales.GERMAN, Locales.SPANISH, Locales.CZECH, Locales.PORTUGUESE);
protected Set<Locale> supportedLanguages = Sets.newHashSet(Locales.ENGLISH, Locales.GERMAN, Locales.SPANISH, Locales.CZECH, Locales.PORTUGUESE, Locales.SWEDISH);
protected Map<MessageType, MF> formatters = new IdentityHashMap<>();
protected MF defaultFormatter;
protected int defaultHelpPerPage = 10;
+41
View File
@@ -0,0 +1,41 @@
# 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 har inte tillåtelse till att använda det kommandot.
acf-core.error_generic_logged = Ett fel uppstod. Problemet har loggats.
acf-core.unknown_command = Okänt kommando, använd <c2>/help</c2>
acf-core.invalid_syntax = Användning: <c2>{command}</c2> <c3>{syntax}</c3>
acf-core.error_prefix = Fel: {message}
acf-core.error_performing_command = Ett fel uppstod vid utförandet av kommandot.
acf-core.info_message = {message}
acf-core.please_specify_one_of = Fel: Ange en av (<c2>{valid}</c2>).
acf-core.must_be_a_number = Fel: {num} måste vara ett nummer.
acf-core.must_be_min_length = Fel: Måste vara minst {min} bokstäver lång.
acf-core.must_be_max_length = Fel: Måste vara högst {max} bokstäver lång.
acf-core.please_specify_at_most = Fel: Ange en summa som är högst {max}.
acf-core.please_specify_at_least = Fel: Ange en summa som är minst {min}.
acf-core.not_allowed_on_console = Fel: Konsoller kan inte utföra det här kommandot.
acf-core.could_not_find_player = Fel: Kunde inte hitta en spelare med namnet: <c2>{search}</c2>
acf-core.help_format = <c1>{command}</c1> <c2>{parameters}</c2> <c3>{separator} {description}</c3>
acf-core.no_command_matched_search = Inget kommando matchade <c2>{search}</c2>.
acf-core.help_page_information = - Visar sida <c2>{page}</c2> av <c2>{totalpages}</c2> (<c3>{results}</c3> results).
acf-core.help_no_results = Fel: Inga fler resultat.
@@ -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 = Fel: Den världen finns inte.
acf-minecraft.you_must_be_holding_item = Fel: Du måste ha ett föremål i din hand!
acf-minecraft.player_is_vanished_confirm = \
Varning: <c2>{vanished}</c2> är osynlig.\n\
För att bekräfta åtgärden, lägg till <c2>:confirm</c2> i slutet av namnet.\n\
Ex: <c2>{vanished}:confirm</c2>
acf-minecraft.username_too_short = Fel: Användarnamnet är för kort, det måste vara minst tre bokstäver.
acf-minecraft.is_not_a_valid_name = Fel: <c2>{name}</c2> är inte ett giltigt namn.
acf-minecraft.multiple_players_match = Fel: Flera spelare matchade <c2>{search}</c2> <c3>({all})</c3>, var mer specifik.
acf-minecraft.no_player_found_server = Ingen spelare som matchar <c2>{search}</c2> är ansluten till servern.
acf-minecraft.no_player_found_offline = Kunde inte hitta någon spelare som matchar <c2>{search}</c2>.
acf-minecraft.no_player_found = Kunde inte hitta någon spelare som matchar <c2>{search}</c2>.
acf-minecraft.location_please_specify_world = Fel: Ange en värld. Till exempel: <c2>world:x,y,z</c2>.
acf-minecraft.location_please_specify_xyz = Fel: Ange x,y,z. Till exempel: <c2>world:x,y,z</c2>.
acf-minecraft.location_console_not_relative = Fel: Konsoller kan inte använda relativa koordinater.