From c0127ac1ec999fb2134ecdbbb9fe2956472ed9b8 Mon Sep 17 00:00:00 2001 From: Leonid Pershin Date: Fri, 8 May 2026 12:30:41 +0300 Subject: [PATCH] Refactor install-service.sh to streamline server setup instructions and update Russian translations across multiple resource packs, enhancing item names and GUI elements for better localization. --- Server/install-service.sh | 25 ++-------- .../assets/enhancedbossbars/lang/ru_ru.json | 14 +++--- .../assets/lionfishapi/lang/ru_ru.json | 2 +- .../macaws_bridges_delight/lang/ru_ru.json | 2 +- .../assets/owo/lang/ru_ru.json | 46 +++++++++---------- 5 files changed, 35 insertions(+), 54 deletions(-) diff --git a/Server/install-service.sh b/Server/install-service.sh index 00410e3..627031d 100644 --- a/Server/install-service.sh +++ b/Server/install-service.sh @@ -155,26 +155,7 @@ if [[ ! -f "${EULA_FILE}" ]] || ! grep -qE '^\s*eula\s*=\s*true' "${EULA_FILE}"; need_first_run "${EULA_FILE} отсутствует или eula=false — без принятия EULA сервер не стартует." fi -# 6. Проверка Java (run.sh вызывает 'java' из PATH) -if ! command -v java >/dev/null 2>&1; then - cat >&2 <&2 <> Перечитываю systemd, включаю и запускаю сервис..." systemctl daemon-reload systemctl enable "${SERVICE_NAME}.service" diff --git a/resourcepacks/PupaMLupa-Translations/assets/enhancedbossbars/lang/ru_ru.json b/resourcepacks/PupaMLupa-Translations/assets/enhancedbossbars/lang/ru_ru.json index 74cd9fd..fabd0de 100644 --- a/resourcepacks/PupaMLupa-Translations/assets/enhancedbossbars/lang/ru_ru.json +++ b/resourcepacks/PupaMLupa-Translations/assets/enhancedbossbars/lang/ru_ru.json @@ -21,14 +21,14 @@ "enhanced_boss_bar.aether.valkyrie_queen" : "Королева валькирий", "enhanced_boss_bar.aether.sun_spirit" : "Дух солнца", - "enhanced_boss_bar.config.title" : "Настройки Enhanced Boss Bar", + "enhanced_boss_bar.config.title" : "Настройки усиленных полос боссов", "enhanced_boss_bar.config.subtitle" : "Боссы", "enhanced_boss_bar.config.minecraft" : "Minecraft", "enhanced_boss_bar.config.cataclysm" : "L'Ender Cataclysm", - "enhanced_boss_bar.config.mass_destruction" : "Bosses of Mass Destruction", - "enhanced_boss_bar.config.mowziesmobs" : "Mowzie's Mobs", - "enhanced_boss_bar.config.witherstormmod" : "Cracker's Wither Storm", - "enhanced_boss_bar.config.meetyourfight" : "Meet your Fight", - "enhanced_boss_bar.config.alexsmobs" : "Alex's Mobs", - "enhanced_boss_bar.config.aether" : "The Aether" + "enhanced_boss_bar.config.mass_destruction" : "Боссы массового разрушения", + "enhanced_boss_bar.config.mowziesmobs" : "Мобы Mowzie", + "enhanced_boss_bar.config.witherstormmod" : "Шторм иссушителя Cracker", + "enhanced_boss_bar.config.meetyourfight" : "Встреть свой бой", + "enhanced_boss_bar.config.alexsmobs" : "Мобы Алекса", + "enhanced_boss_bar.config.aether" : "Эфир" } \ No newline at end of file diff --git a/resourcepacks/PupaMLupa-Translations/assets/lionfishapi/lang/ru_ru.json b/resourcepacks/PupaMLupa-Translations/assets/lionfishapi/lang/ru_ru.json index 0c22b04..31437fc 100644 --- a/resourcepacks/PupaMLupa-Translations/assets/lionfishapi/lang/ru_ru.json +++ b/resourcepacks/PupaMLupa-Translations/assets/lionfishapi/lang/ru_ru.json @@ -1,5 +1,5 @@ { - "gui.lionfishapi.optifine.message": "Optifine сильно несовместим с разными модами!", + "gui.lionfishapi.optifine.message": "Мод Optifine сильно несовместим с разными модами!", "gui.lionfishapi.optifine.xenonsuggestions": "Вместо него используйте мод оптимизации Xenon", "gui.lionfishapi.optifine.oculussuggestions": "Вместо него используйте шейдерный мод Oculus", "gui.lionfishapi.optifine.title": "ПЕРЕСТАНЬТЕ ИСПОЛЬЗОВАТЬ OPTIFINE" diff --git a/resourcepacks/PupaMLupa-Translations/assets/macaws_bridges_delight/lang/ru_ru.json b/resourcepacks/PupaMLupa-Translations/assets/macaws_bridges_delight/lang/ru_ru.json index 9bab3ee..881344d 100644 --- a/resourcepacks/PupaMLupa-Translations/assets/macaws_bridges_delight/lang/ru_ru.json +++ b/resourcepacks/PupaMLupa-Translations/assets/macaws_bridges_delight/lang/ru_ru.json @@ -1,3 +1,3 @@ { - "item.macaws_bridges_delight.edible_bridge": "Edible Bridge" + "item.macaws_bridges_delight.edible_bridge": "Съедобный мост" } \ No newline at end of file diff --git a/resourcepacks/PupaMLupa-Translations/assets/owo/lang/ru_ru.json b/resourcepacks/PupaMLupa-Translations/assets/owo/lang/ru_ru.json index 2fabef6..b3e881a 100644 --- a/resourcepacks/PupaMLupa-Translations/assets/owo/lang/ru_ru.json +++ b/resourcepacks/PupaMLupa-Translations/assets/owo/lang/ru_ru.json @@ -4,52 +4,52 @@ { "text": " > ", "color": "gray" }, { "index": 1, "color": "dark_gray" } ], - "text.owo.itemGroup.select_hint": {"text": "Shift-click to select multiple", "color": "gray"}, - "text.owo.configure_hot_reload.title": "Configure Hot Reload", - "text.owo.configure_hot_reload.choose_file": "Choose file", - "text.owo.configure_hot_reload.save": "Save", + "text.owo.itemGroup.select_hint": {"text": "Shift-клик для множественного выбора", "color": "gray"}, + "text.owo.configure_hot_reload.title": "Настроить горячую перезагрузку", + "text.owo.configure_hot_reload.choose_file": "Выбрать файл", + "text.owo.configure_hot_reload.save": "Сохранить", "text.owo.configure_hot_reload.model": [ - {"text": "Model: ", "color": "yellow"}, + {"text": "Модель: ", "color": "yellow"}, {"index": 0, "color": "gray"} ], - "text.owo.configure_hot_reload.reload_from.unset": "Unset", + "text.owo.configure_hot_reload.reload_from.unset": "Не задано", "text.owo.configure_hot_reload.reload_from": [ - {"text": "Reload from: ", "color": "yellow"}, + {"text": "Перезагружать из: ", "color": "yellow"}, {"index": 0, "color": "gray"} ], - "text.owo.config.search": "Search...", + "text.owo.config.search": "Поиск...", "text.owo.config.search.matches": "%d of %d", - "text.owo.config.search.no_matches": "No matches", - "text.owo.config.must_restart": "Some changes you made require a restart to apply", - "text.owo.config.button.exit_minecraft": "Exit Minecraft", - "text.owo.config.button.ignore_restart": "Restart later", - "text.owo.config.button.range.edit_as_text": "Edit as text", - "text.owo.config.button.range.edit_with_slider": "Edit with slider", + "text.owo.config.search.no_matches": "Совпадений нет", + "text.owo.config.must_restart": "Некоторые изменения вступят в силу только после перезапуска", + "text.owo.config.button.exit_minecraft": "Выйти из Minecraft", + "text.owo.config.button.ignore_restart": "Перезапустить позже", + "text.owo.config.button.range.edit_as_text": "Редактировать как текст", + "text.owo.config.button.range.edit_with_slider": "Редактировать слайдером", "text.owo.config.applies_after_restart": [ {"text": "⏻ ", "color": "#FAEA48"}, - {"text": "This option applies after a restart", "color": "gray"} + {"text": "Этот параметр применяется после перезапуска", "color": "gray"} ], "text.owo.config.managed_by_server": [ {"text": "⚑ ", "color": "#EB1D36"}, - {"text": "This option is being managed by the server\n Disconnect to edit it", "color": "gray"} + {"text": "Этим параметром управляет сервер\n Отключитесь, чтобы изменить его", "color": "gray"} ], - "text.owo.config.button.reload": "Reload", - "text.owo.config.button.done": "Done", - "text.owo.config.sections_tooltip": "Sections", - "text.owo.config.sections": {"text": "Sections", "underlined": true}, - "text.owo.config.list.add_entry": "Add entry", + "text.owo.config.button.reload": "Перезагрузить", + "text.owo.config.button.done": "Готово", + "text.owo.config.sections_tooltip": "Разделы", + "text.owo.config.sections": {"text": "Разделы", "underlined": true}, + "text.owo.config.list.add_entry": "Добавить запись", "text.owo.config.boolean_toggle.enabled": [ "", {"text": "[", "color": "gray"}, {"text": "✔", "color": "#28FFBF"}, {"text": "]", "color": "gray"}, - " Enabled" + " Включено" ], "text.owo.config.boolean_toggle.disabled": [ "", {"text": "[", "color": "gray"}, {"text": "❌", "color": "#EB1D36"}, {"text": "]", "color": "gray"}, - " Disabled" + " Отключено" ] } \ No newline at end of file