From 444212ade52bcf3127f22de20f7aec853ddbf856 Mon Sep 17 00:00:00 2001 From: Osip Fatkullin Date: Sun, 17 Jun 2018 19:03:36 +0300 Subject: [PATCH] Add russian translation (#141) --- .../co/aikar/commands/CommandManager.java | 2 +- languages/core/acf-core_ru.properties | 46 +++++++++++++++++++ .../minecraft/acf-minecraft_ru.properties | 38 +++++++++++++++ 3 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 languages/core/acf-core_ru.properties create mode 100644 languages/minecraft/acf-minecraft_ru.properties diff --git a/core/src/main/java/co/aikar/commands/CommandManager.java b/core/src/main/java/co/aikar/commands/CommandManager.java index c0f65a2a..1d7a68fe 100644 --- a/core/src/main/java/co/aikar/commands/CommandManager.java +++ b/core/src/main/java/co/aikar/commands/CommandManager.java @@ -73,7 +73,7 @@ public abstract class CommandManager < protected boolean usePerIssuerLocale = false; protected List> localeChangedCallbacks = Lists.newArrayList(); - protected Set supportedLanguages = Sets.newHashSet(Locales.ENGLISH, Locales.GERMAN, Locales.SPANISH, Locales.CZECH, Locales.PORTUGUESE, Locales.SWEDISH, Locales.NORWEGIAN_BOKMAAL, Locales.NORWEGIAN_NYNORSK); + protected Set 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 formatters = new IdentityHashMap<>(); protected MF defaultFormatter; protected int defaultHelpPerPage = 10; diff --git a/languages/core/acf-core_ru.properties b/languages/core/acf-core_ru.properties new file mode 100644 index 00000000..bee2118d --- /dev/null +++ b/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 = Неизвестная команда, пожалуйста напишите /help +acf-core.invalid_syntax = Испоьзование: {command} {syntax} +acf-core.error_prefix = Ошибка: {message} +acf-core.error_performing_command = Извините, но при выполнении команды произошла ошибка. +acf-core.info_message = {message} +acf-core.please_specify_one_of = Ошибка: Укажите разрешенное значение аргумента ({valid}). +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 = Ошибка: Не удаётся найти игрока: {search} +acf-core.no_command_matched_search = Ни одна команда не соответствует {search}. +acf-core.help_page_information = - Страница {page} из {totalpages} (всего результатов: {results}). +acf-core.help_no_results = Ошибка: Больше нет результатов. +acf-core.help_header = === Страница помощи для {commandprefix}{command} === +acf-core.help_format = {command} {parameters} {separator} {description} +acf-core.help_detailed_header = === Подробная страница помощи для {commandprefix}{command} === +acf-core.help_detailed_command_format = {command} {parameters} {separator} {description} +acf-core.help_detailed_parameter_format = {name}: {description} +acf-core.help_search_header = === Результаты поиска для {commandprefix}{command} {search} === diff --git a/languages/minecraft/acf-minecraft_ru.properties b/languages/minecraft/acf-minecraft_ru.properties new file mode 100644 index 00000000..8d904d6c --- /dev/null +++ b/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 = \ + Предупреждение: {vanished} невидим. Не выдавайте его!\n\ + Для подтверждения вашего действия, добавьте :confirm после его имени.\n\ + Пример: {vanished}:confirm +acf-minecraft.username_too_short = Ошибка: Ник слишком короткий. Минимальная длина - три символа. +acf-minecraft.is_not_a_valid_name = Ошибка: {name} недействительное имя. +acf-minecraft.multiple_players_match = Ошибка: Более одного игрка походят под запрос {search} ({all}), пожалуйста, уточните запрос. +acf-minecraft.no_player_found_server = Не удаётся найти подключенного к серверу игрока по запросу {search}. +acf-minecraft.no_player_found_offline = Не удаётся найти игрока по запросу {search}. +acf-minecraft.no_player_found = Не удаётся найти игрока по запросу {search}. +acf-minecraft.location_please_specify_world = Ошибка: Укажите мир. Пример: world:x,y,z. +acf-minecraft.location_please_specify_xyz = Ошибка: Укажите координаты x,y,z. Пример: world:x,y,z. +acf-minecraft.location_console_not_relative = Ошибка: Нельзя использовать относительные координаты из консоли.