diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/modnames_en.json" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/modnames_en.json" new file mode 100644 index 00000000..9af9f5b8 --- /dev/null +++ "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/modnames_en.json" @@ -0,0 +1,4 @@ +{ + "text.cloth-config.testing.2": "вики по Cloth Config", + "title.cloth-config.config": "Настройки мода Cloth Config" +} \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/modnames_ru.json" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/modnames_ru.json" new file mode 100644 index 00000000..7df0c2a4 --- /dev/null +++ "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/modnames_ru.json" @@ -0,0 +1,4 @@ +{ + "text.cloth-config.testing.2": "вики по «Настройкам Клофа»", + "title.cloth-config.config": "Настройки мода «Настроек Клофа»" +} \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_hybrid.json.rpo" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_hybrid.json.rpo" deleted file mode 100644 index 8c7cf686..00000000 --- "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_hybrid.json.rpo" +++ /dev/null @@ -1,4 +0,0 @@ -{ - "condition": "modsWordStyle == 'modification'", - "fallback": "assets/cloth-config2/lang/respackopts/ru_ru_modification.json" -} \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_modification.json" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_modification.json" deleted file mode 100644 index 272538be..00000000 --- "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_modification.json" +++ /dev/null @@ -1,51 +0,0 @@ -{ - "category.cloth-config.scrolling": "Прокрутка", - "category.cloth-config.testing": "Демонстрация настроек", - "modifier.cloth-config.alt": "Alt + %s", - "modifier.cloth-config.ctrl": "Ctrl + %s", - "modifier.cloth-config.shift": "Shift + %s", - "option.cloth-config.bounceBackMultiplier": "Коэффициент отскока", - "option.cloth-config.disableSmoothScroll": "Отключить плавную прокрутку", - "option.cloth-config.scrollDuration": "Длительность прокрутки", - "option.cloth-config.scrollStep": "Шаг прокрутки", - "option.cloth-config.setDefaultSmoothScroll": "Установить стандартное значение плавной прокрутки", - "text.cloth-config.apply": "Применить изменения", - "text.cloth-config.boolean.value.false": "§cНет", - "text.cloth-config.boolean.value.true": "§aДа", - "text.cloth-config.cancel_discard": "Отменить изменения", - "text.cloth-config.config": "Настройки", - "text.cloth-config.disabled_tooltip": "Отключено (требования не выполнены)", - "text.cloth-config.dropdown.value.unknown": "§cНет предложений", - "text.cloth-config.error.color.invalid_alpha": "Неправильное значение! (Прозрачность)", - "text.cloth-config.error.color.invalid_blue": "Неправильное значение! (Синий)", - "text.cloth-config.error.color.invalid_color": "Неправильный цвет!", - "text.cloth-config.error.color.invalid_green": "Неправильное значение! (Зелёный)", - "text.cloth-config.error.color.invalid_red": "Неправильное значение! (Красный)", - "text.cloth-config.error.color.no_alpha_allowed": "Здесь нельзя вставлять значение прозрачности!", - "text.cloth-config.error.color.no_hash": "Неправильный цвет! (Отсутствует #)", - "text.cloth-config.error.not_valid_number_double": "Неправильное число! (Двойное)", - "text.cloth-config.error.not_valid_number_float": "Неправильное число! (С плавающей запятой)", - "text.cloth-config.error.not_valid_number_int": "Неправильное число! (Целое)", - "text.cloth-config.error.not_valid_number_long": "Неправильное число! (Длинное целое)", - "text.cloth-config.error.too_large": "Слишком большое значение! (Максимум: %d)", - "text.cloth-config.error.too_small": "Слишком малое значение! (Минимум: %d)", - "text.cloth-config.error_cannot_save": "Ошибка!", - "text.cloth-config.exit_minecraft": "Закрыть Minecraft", - "text.cloth-config.ignore_restart": "Потом перезапущу", - "text.cloth-config.list.add": "Добавить новый пункт", - "text.cloth-config.list.remove": "Удалить выбранный пункт", - "text.cloth-config.multi_error": "Встречено несколько проблем!", - "text.cloth-config.not_editable": "Нельзя редактировать!", - "text.cloth-config.quit_config": "Изменения не сохранены", - "text.cloth-config.quit_config_sure": "Вы уверены, что хотите выйти из настроек? Изменения не сохранятся!", - "text.cloth-config.quit_discard": "Выйти и отменить изменения", - "text.cloth-config.reset_value": "Сбросить", - "text.cloth-config.restart_required": "Требуется перезапуск", - "text.cloth-config.restart_required_sub": "Одна из изменённых вами настроек требует перезапуска Minecraft. Продолжить?", - "text.cloth-config.save_and_done": "Сохранить и выйти", - "text.cloth-config.testing.1": "Вы разработчик модификаций и хотите использовать %1$s? Перейдите на %2$s, чтобы начать. Также, если вам вдруг захотелось, вы можете %3$s.", - "text.cloth-config.testing.2": "вики по Cloth Config", - "text.cloth-config.testing.3": "нажать здесь, чтобы открыть файл настроек Minecraft", - "text.cloth.reset_value": "Сбросить", - "title.cloth-config.config": "Настройки модификации Cloth Config" -} \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_modification.json.rpo" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_modification.json.rpo" deleted file mode 100644 index 7ef45b31..00000000 --- "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_modification.json.rpo" +++ /dev/null @@ -1,4 +0,0 @@ -{ - "condition": "modsWordStyle == 'mod'", - "fallback": "assets/cloth-config2/lang/respackopts/ru_ru_hybrid.json" -} \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru.json" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru.json" index 6f1c2b7b..51a16e9a 100644 --- "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru.json" +++ "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru.json" @@ -1,51 +1 @@ -{ - "category.cloth-config.scrolling": "Прокрутка", - "category.cloth-config.testing": "Демонстрация настроек", - "modifier.cloth-config.alt": "Alt + %s", - "modifier.cloth-config.ctrl": "Ctrl + %s", - "modifier.cloth-config.shift": "Shift + %s", - "option.cloth-config.bounceBackMultiplier": "Коэффициент отскока", - "option.cloth-config.disableSmoothScroll": "Отключить плавную прокрутку", - "option.cloth-config.scrollDuration": "Длительность прокрутки", - "option.cloth-config.scrollStep": "Шаг прокрутки", - "option.cloth-config.setDefaultSmoothScroll": "Установить стандартное значение плавной прокрутки", - "text.cloth-config.apply": "Применить изменения", - "text.cloth-config.boolean.value.false": "§cНет", - "text.cloth-config.boolean.value.true": "§aДа", - "text.cloth-config.cancel_discard": "Отменить изменения", - "text.cloth-config.config": "Настройки", - "text.cloth-config.disabled_tooltip": "Отключено (требования не выполнены)", - "text.cloth-config.dropdown.value.unknown": "§cНет предложений", - "text.cloth-config.error.color.invalid_alpha": "Неправильное значение! (Прозрачность)", - "text.cloth-config.error.color.invalid_blue": "Неправильное значение! (Синий)", - "text.cloth-config.error.color.invalid_color": "Неправильный цвет!", - "text.cloth-config.error.color.invalid_green": "Неправильное значение! (Зелёный)", - "text.cloth-config.error.color.invalid_red": "Неправильное значение! (Красный)", - "text.cloth-config.error.color.no_alpha_allowed": "Здесь нельзя вставлять значение прозрачности!", - "text.cloth-config.error.color.no_hash": "Неправильный цвет! (Отсутствует #)", - "text.cloth-config.error.not_valid_number_double": "Неправильное число! (Двойное)", - "text.cloth-config.error.not_valid_number_float": "Неправильное число! (С плавающей запятой)", - "text.cloth-config.error.not_valid_number_int": "Неправильное число! (Целое)", - "text.cloth-config.error.not_valid_number_long": "Неправильное число! (Длинное целое)", - "text.cloth-config.error.too_large": "Слишком большое значение! (Максимум: %d)", - "text.cloth-config.error.too_small": "Слишком малое значение! (Минимум: %d)", - "text.cloth-config.error_cannot_save": "Ошибка!", - "text.cloth-config.exit_minecraft": "Закрыть Minecraft", - "text.cloth-config.ignore_restart": "Потом перезапущу", - "text.cloth-config.list.add": "Добавить новый пункт", - "text.cloth-config.list.remove": "Удалить выбранный пункт", - "text.cloth-config.multi_error": "Встречено несколько проблем!", - "text.cloth-config.not_editable": "Нельзя редактировать!", - "text.cloth-config.quit_config": "Изменения не сохранены", - "text.cloth-config.quit_config_sure": "Вы уверены, что хотите выйти из настроек? Изменения не сохранятся!", - "text.cloth-config.quit_discard": "Выйти и отменить изменения", - "text.cloth-config.reset_value": "Сбросить", - "text.cloth-config.restart_required": "Требуется перезапуск", - "text.cloth-config.restart_required_sub": "Одна из изменённых вами настроек требует перезапуска Minecraft. Продолжить?", - "text.cloth-config.save_and_done": "Сохранить и выйти", - "text.cloth-config.testing.1": "Вы разработчик модов и хотите использовать %1$s? Перейдите на %2$s, чтобы начать. Также, если вам вдруг захотелось, вы можете %3$s.", - "text.cloth-config.testing.2": "вики по Cloth Config", - "text.cloth-config.testing.3": "нажать здесь, чтобы открыть файл настроек Minecraft", - "text.cloth.reset_value": "Сбросить", - "title.cloth-config.config": "Настройки мода Cloth Config" -} \ No newline at end of file +${content} \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru.json.rpo" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru.json.rpo" index dc5f8955..7691c370 100644 --- "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru.json.rpo" +++ "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru.json.rpo" @@ -1,4 +1,12 @@ { - "condition": "modsWordStyle == 'hybrid'", - "fallback": "assets/cloth-config2/lang/respackopts/ru_ru_hybrid.json" + "expansions": { + "content": " + baseLang = fromJson(readString('assets/cloth-config2/lang/ru_ru_base.json')); + styleLang = fromJson(readString('assets/cloth-config2/lang/' || modsru.modsWordStyle || '.json')); + modNamesLang = fromJson(readString('assets/cloth-config2/lang/' || (modsru.translateModNames ? 'modNames_ru.json' : 'modNames_en.json'))); + + mergedLang = baseLang + styleLang + modNamesLang; + toJson(mergedLang) + " + } } \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_hybrid.json" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru_base.json" similarity index 98% rename from "\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_hybrid.json" rename to "\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru_base.json" index 5694e2c7..6f1c2b7b 100644 --- "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/respackopts/ru_ru_hybrid.json" +++ "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/ru_ru_base.json" @@ -47,5 +47,5 @@ "text.cloth-config.testing.2": "вики по Cloth Config", "text.cloth-config.testing.3": "нажать здесь, чтобы открыть файл настроек Minecraft", "text.cloth.reset_value": "Сбросить", - "title.cloth-config.config": "Настройки модификации Cloth Config" + "title.cloth-config.config": "Настройки мода Cloth Config" } \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/style1.json" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/style1.json" new file mode 100644 index 00000000..6bd338ad --- /dev/null +++ "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/style1.json" @@ -0,0 +1,4 @@ +{ + "text.cloth-config.testing.1": "Вы разработчик модов и хотите использовать %1$s? Перейдите на %2$s, чтобы начать. Также, если вам вдруг захотелось, вы можете %3$s.", + "title.cloth-config.config": "Настройки мода Cloth Config" +} \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/style2.json" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/style2.json" new file mode 100644 index 00000000..4ac18d41 --- /dev/null +++ "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/style2.json" @@ -0,0 +1,4 @@ +{ + "text.cloth-config.testing.1": "Вы разработчик модификаций и хотите использовать %1$s? Перейдите на %2$s, чтобы начать. Также, если вам вдруг захотелось, вы можете %3$s.", + "title.cloth-config.config": "Настройки модификации Cloth Config" +} \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/style3.json" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/style3.json" new file mode 100644 index 00000000..3d27f0a5 --- /dev/null +++ "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/assets/cloth-config2/lang/style3.json" @@ -0,0 +1,4 @@ +{ + "text.cloth-config.testing.1": "Вы разработчик модов и хотите использовать %1$s? Перейдите на %2$s, чтобы начать. Также, если вам вдруг захотелось, вы можете %3$s.", + "title.cloth-config.config": "Настройки модификации Cloth Config" +} \ No newline at end of file diff --git "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/respackopts.json5" "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/respackopts.json5" index 43848958..004d8355 100644 --- "a/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/respackopts.json5" +++ "b/\320\235\320\260\320\261\320\276\321\200 \321\200\320\265\321\201\321\203\321\200\321\201\320\276\320\262/1.21/respackopts.json5" @@ -1,8 +1,7 @@ { - capabilities: [ - "FileFilter", - "DirFilter" - ], + id: "modsru", + version: 9, + capabilities: ["FileFilter"], conf: { general: { fixAftercolonWordsCase: false, @@ -11,15 +10,20 @@ "items", "original" ], - modsWordStyle: [ - "mod", - "modification", - "hybrid" - ], + modsWordStyle: { + type: "enum", + default: "mod", + values: ["mod", "modification", "hybrid"], + reloadType: "Resource" + }, removeEllipsis: false, removeModInTatar: true, translateJokes: true, - translateModNames: false, + translateModNames: { + type: "boolean", + default: false, + reloadType: "Resource" + }, translateModNamesOnAdvancements: false, yourModloader: [ "any", @@ -41,7 +45,5 @@ modMenuEasterEggsFormalStyle: true, shortResetAllForControlling: true } - }, - id: "modsru", - version: 13 + } } \ No newline at end of file