Skip to content

Commit

Permalink
Respackops
Browse files Browse the repository at this point in the history
  • Loading branch information
RushanM committed Oct 7, 2024
1 parent cf5e440 commit ef19fac
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 126 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"text.cloth-config.testing.2": "вики по Cloth Config",
"title.cloth-config.config": "Настройки мода Cloth Config"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"text.cloth-config.testing.2": "вики по «Настройкам Клофа»",
"title.cloth-config.config": "Настройки мода «Настроек Клофа»"
}

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -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"
}
${content}
Original file line number Diff line number Diff line change
@@ -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)
"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"text.cloth-config.testing.1": "Вы разработчик модов и хотите использовать %1$s? Перейдите на %2$s, чтобы начать. Также, если вам вдруг захотелось, вы можете %3$s.",
"title.cloth-config.config": "Настройки мода Cloth Config"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"text.cloth-config.testing.1": "Вы разработчик модификаций и хотите использовать %1$s? Перейдите на %2$s, чтобы начать. Также, если вам вдруг захотелось, вы можете %3$s.",
"title.cloth-config.config": "Настройки модификации Cloth Config"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"text.cloth-config.testing.1": "Вы разработчик модов и хотите использовать %1$s? Перейдите на %2$s, чтобы начать. Также, если вам вдруг захотелось, вы можете %3$s.",
"title.cloth-config.config": "Настройки модификации Cloth Config"
}
28 changes: 15 additions & 13 deletions Набор ресурсов/1.21/respackopts.json5
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
capabilities: [
"FileFilter",
"DirFilter"
],
id: "modsru",
version: 9,
capabilities: ["FileFilter"],
conf: {
general: {
fixAftercolonWordsCase: false,
Expand All @@ -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",
Expand All @@ -41,7 +45,5 @@
modMenuEasterEggsFormalStyle: true,
shortResetAllForControlling: true
}
},
id: "modsru",
version: 13
}
}

0 comments on commit ef19fac

Please sign in to comment.