From 3ac34a6f9ba5b9c7de813ded017a51a6a5de9f96 Mon Sep 17 00:00:00 2001 From: Korben <92390626+mpustovoi@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:25:34 +0300 Subject: [PATCH 1/3] Update `pack.mcmeta` Made the resourcepack translatable --- .../src/main/resources/resourcepacks/smartleaves/pack.mcmeta | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/src/main/resources/resourcepacks/smartleaves/pack.mcmeta b/common/src/main/resources/resourcepacks/smartleaves/pack.mcmeta index 99bba8a..910fde4 100755 --- a/common/src/main/resources/resourcepacks/smartleaves/pack.mcmeta +++ b/common/src/main/resources/resourcepacks/smartleaves/pack.mcmeta @@ -2,6 +2,9 @@ "pack": { "pack_format": 15, "supported_formats": [15, 99], - "description": "§2Makes leaves look identical to OptiFine's smart leaves" + "description": { + "translate": "cullleaves.resourcepack.name", + "fallback": "§2Makes leaves look identical to OptiFine's smart leaves" + } } } From 4afbe3d740a942fe8b34307f914d2f88f8c63d53 Mon Sep 17 00:00:00 2001 From: Korben <92390626+mpustovoi@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:27:06 +0300 Subject: [PATCH 2/3] Update `ru_ru.json` Added missing lines Added resourcepack description translation --- .../main/resources/assets/cullleaves/lang/ru_ru.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/common/src/main/resources/assets/cullleaves/lang/ru_ru.json b/common/src/main/resources/assets/cullleaves/lang/ru_ru.json index 25e3826..7c10a01 100644 --- a/common/src/main/resources/assets/cullleaves/lang/ru_ru.json +++ b/common/src/main/resources/assets/cullleaves/lang/ru_ru.json @@ -1,5 +1,10 @@ { - "cullleaves.midnightconfig.title":"Настройки Cull Leaves", - "cullleaves.midnightconfig.enabled.tooltip":"После изменения этого параметра необходимо перезагрузить чанки (F3 + A)", - "cullleaves.midnightconfig.enabled":"Включён Cull Leaves" + "cullleaves.midnightconfig.title": "Настройки отбраковки листьев", + "cullleaves.midnightconfig.enabled.tooltip": "Включает отбраковку листьев, что значительно повышает производительность.\n§cПосле изменения этого параметра вам необходимо перезагрузить все чанки (F3 + A)", + "cullleaves.midnightconfig.enabled.tooltip.sodium": "Включает отбраковку листьев, что значительно повышает производительность", + "cullleaves.midnightconfig.enabled": "Включить отбраковку листьев", + "cullleaves.midnightconfig.cullRoots.tooltip": "Включает отбраковку мангровых корней.\n§cПосле изменения этого параметра вам необходимо перезагрузить все чанки (F3 + A)", + "cullleaves.midnightconfig.cullRoots.tooltip.sodium": "Включает отбраковку мангровых корней.", + "cullleaves.midnightconfig.cullRoots": "Включить отбраковку мангровых корней", + "cullleaves.resourcepack.name": "§2Делает листья идентичными 'умным листьям' в OptiFine" } From c555df0f4d71402c114f8133d86ca14a4df5b91c Mon Sep 17 00:00:00 2001 From: Korben <92390626+mpustovoi@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:31:11 +0300 Subject: [PATCH 3/3] Adjusted indents --- .../src/main/resources/resourcepacks/smartleaves/pack.mcmeta | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/resources/resourcepacks/smartleaves/pack.mcmeta b/common/src/main/resources/resourcepacks/smartleaves/pack.mcmeta index 910fde4..883ffdb 100755 --- a/common/src/main/resources/resourcepacks/smartleaves/pack.mcmeta +++ b/common/src/main/resources/resourcepacks/smartleaves/pack.mcmeta @@ -3,8 +3,8 @@ "pack_format": 15, "supported_formats": [15, 99], "description": { - "translate": "cullleaves.resourcepack.name", - "fallback": "§2Makes leaves look identical to OptiFine's smart leaves" + "translate": "cullleaves.resourcepack.name", + "fallback": "§2Makes leaves look identical to OptiFine's smart leaves" } } }