Skip to content

Commit

Permalink
Add russian translation (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
osipxd authored and aikar committed Jun 17, 2018
1 parent 7495eab commit 444212a
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/co/aikar/commands/CommandManager.java
Expand Up @@ -73,7 +73,7 @@ public synchronized CommandOperationContext peek() {

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, Locales.SWEDISH, Locales.NORWEGIAN_BOKMAAL, Locales.NORWEGIAN_NYNORSK);
protected Set<Locale> supportedLanguages = Sets.newHashSet(Locales.ENGLISH, Locales.GERMAN, Locales.SPANISH, Locales.CZECH, Locales.PORTUGUESE, Locales.SWEDISH, Locales.NORWEGIAN_BOKMAAL, Locales.NORWEGIAN_NYNORSK, Locales.RUSSIAN);
protected Map<MessageType, MF> formatters = new IdentityHashMap<>();
protected MF defaultFormatter;
protected int defaultHelpPerPage = 10;
Expand Down
46 changes: 46 additions & 0 deletions languages/core/acf-core_ru.properties
@@ -0,0 +1,46 @@
# 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 = Извините, но у вас недостаточно прав для выполнения данной команды.
acf-core.error_generic_logged = Произошла ошибка. Проблема была зарегистрирована. Извините за неудобства.
acf-core.unknown_command = Неизвестная команда, пожалуйста напишите <c2>/help</c2>
acf-core.invalid_syntax = Испоьзование: <c2>{command}</c2> <c3>{syntax}</c3>
acf-core.error_prefix = Ошибка: {message}
acf-core.error_performing_command = Извините, но при выполнении команды произошла ошибка.
acf-core.info_message = {message}
acf-core.please_specify_one_of = Ошибка: Укажите разрешенное значение аргумента (<c2>{valid}</c2>).
acf-core.must_be_a_number = Ошибка: Аргумент {num} должен быть числом.
acf-core.must_be_min_length = Ошибка: Минимальное допустимое количество символов - {min}.
acf-core.must_be_max_length = Ошибка: Максимальное допустимое количество символов - {max}.
acf-core.please_specify_at_most = Ошибка: Максимальное допустимое значение - {max}.
acf-core.please_specify_at_least = Ошибка: Минимальное допустимое значение - {min}.
acf-core.not_allowed_on_console = Ошибка: Данная команда не может быть выполнена из консоли.
acf-core.could_not_find_player = Ошибка: Не удаётся найти игрока: <c2>{search}</c2>
acf-core.no_command_matched_search = Ни одна команда не соответствует <c2>{search}</c2>.
acf-core.help_page_information = - Страница <c2>{page}</c2> из <c2>{totalpages}</c2> (всего результатов: <c3>{results}</c3>).
acf-core.help_no_results = Ошибка: Больше нет результатов.
acf-core.help_header = <c3>=== </c3><c1>Страница помощи для </c1><c2>{commandprefix}{command}</c2><c3> ===</c3>
acf-core.help_format = <c1>{command}</c1> <c2>{parameters}</c2> <c3>{separator} {description}</c3>
acf-core.help_detailed_header = <c3>=== </c3><c1>Подробная страница помощи для </c1><c2>{commandprefix}{command}</c2><c3> ===</c3>
acf-core.help_detailed_command_format = <c1>{command}</c1> <c2>{parameters}</c2> <c3>{separator} {description}</c3>
acf-core.help_detailed_parameter_format = <c2>{name}</c2>: <c3>{description}</c3>
acf-core.help_search_header = <c3>=== </c3><c1>Результаты поиска для </c1><c2>{commandprefix}{command} {search}</c2><c3> ===</c3>
38 changes: 38 additions & 0 deletions languages/minecraft/acf-minecraft_ru.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 = Ошибка: Указан несуществующий мир.
acf-minecraft.you_must_be_holding_item = Ошибка: Вы должны держать предмет в ведущей руке.
acf-minecraft.player_is_vanished_confirm = \
Предупреждение: <c2>{vanished}</c2> невидим. Не выдавайте его!\n\
Для подтверждения вашего действия, добавьте <c2>:confirm</c2> после его имени.\n\
Пример: <c2>{vanished}:confirm</c2>
acf-minecraft.username_too_short = Ошибка: Ник слишком короткий. Минимальная длина - три символа.
acf-minecraft.is_not_a_valid_name = Ошибка: <c2>{name}</c2> недействительное имя.
acf-minecraft.multiple_players_match = Ошибка: Более одного игрка походят под запрос <c2>{search}</c2> <c3>({all})</c3>, пожалуйста, уточните запрос.
acf-minecraft.no_player_found_server = Не удаётся найти подключенного к серверу игрока по запросу <c2>{search}</c2>.
acf-minecraft.no_player_found_offline = Не удаётся найти игрока по запросу <c2>{search}</c2>.
acf-minecraft.no_player_found = Не удаётся найти игрока по запросу <c2>{search}</c2>.
acf-minecraft.location_please_specify_world = Ошибка: Укажите мир. Пример: <c2>world:x,y,z</c2>.
acf-minecraft.location_please_specify_xyz = Ошибка: Укажите координаты x,y,z. Пример: <c2>world:x,y,z</c2>.
acf-minecraft.location_console_not_relative = Ошибка: Нельзя использовать относительные координаты из консоли.

0 comments on commit 444212a

Please sign in to comment.