From 3de39a59b85a6a403ece380649703f3a3ba6226a Mon Sep 17 00:00:00 2001 From: Korben <92390626+mpustovoi@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:36:02 +0300 Subject: [PATCH 1/2] Update `pack.mcmeta` Made resourcepack's description translatable --- .../resourcepacks/supporteatinganimation/pack.mcmeta | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/resources/resourcepacks/supporteatinganimation/pack.mcmeta b/src/main/resources/resourcepacks/supporteatinganimation/pack.mcmeta index d6a20b9..6fadf4c 100644 --- a/src/main/resources/resourcepacks/supporteatinganimation/pack.mcmeta +++ b/src/main/resources/resourcepacks/supporteatinganimation/pack.mcmeta @@ -1,6 +1,9 @@ { "pack": { "pack_format": 34, - "description": "\u00A7c\u00A7lEating Animation\n\u00A7c\u00A7lmods support" + "description": { + "translate": "resourcepack.eatinganimationid.name", + "fallback": "\u00A7c\u00A7lEating Animation\n\u00A7c\u00A7lmods support" + } } -} \ No newline at end of file +} From 09f98e26fc60033dc4d599a7e82887c9c7f42d44 Mon Sep 17 00:00:00 2001 From: Korben <92390626+mpustovoi@users.noreply.github.com> Date: Thu, 4 Jul 2024 15:39:32 +0300 Subject: [PATCH 2/2] Create `ru_ru.json` Added an example language file for translating the resourcepack's description --- src/main/resources/assets/eatinganimationid/lang/ru_ru.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/main/resources/assets/eatinganimationid/lang/ru_ru.json diff --git a/src/main/resources/assets/eatinganimationid/lang/ru_ru.json b/src/main/resources/assets/eatinganimationid/lang/ru_ru.json new file mode 100644 index 0000000..8928440 --- /dev/null +++ b/src/main/resources/assets/eatinganimationid/lang/ru_ru.json @@ -0,0 +1,3 @@ +{ + "resourcepack.eatinganimationid.name": "\u00A7c\u00A7lПоддержка модов для\n\u00A7c\u00A7lАнимации Поедания" +}