From eb584aa94d06fb4e13b494fb08e1fd80e5ef2fc0 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Thu, 9 May 2024 18:47:28 +0100 Subject: [PATCH] Translate remaining item tags These shouldn't appear in recipes, but just to stop Fabric complaining :). --- .../generated/resources/assets/computercraft/lang/en_us.json | 2 ++ .../main/java/dan200/computercraft/data/LanguageProvider.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/projects/common/src/generated/resources/assets/computercraft/lang/en_us.json b/projects/common/src/generated/resources/assets/computercraft/lang/en_us.json index a53f4b41d..db6f6b97e 100644 --- a/projects/common/src/generated/resources/assets/computercraft/lang/en_us.json +++ b/projects/common/src/generated/resources/assets/computercraft/lang/en_us.json @@ -206,8 +206,10 @@ "item.computercraft.treasure_disk": "Floppy Disk", "itemGroup.computercraft": "ComputerCraft", "tag.item.computercraft.computer": "Computers", + "tag.item.computercraft.dyeable": "Dyable items", "tag.item.computercraft.monitor": "Monitors", "tag.item.computercraft.turtle": "Turtles", + "tag.item.computercraft.turtle_can_place": "Turtle-placeable items", "tag.item.computercraft.wired_modem": "Wired modems", "tracking_field.computercraft.avg": "%s (avg)", "tracking_field.computercraft.computer_tasks.name": "Tasks", diff --git a/projects/common/src/main/java/dan200/computercraft/data/LanguageProvider.java b/projects/common/src/main/java/dan200/computercraft/data/LanguageProvider.java index ca3f09f6b..ccb4a348a 100644 --- a/projects/common/src/main/java/dan200/computercraft/data/LanguageProvider.java +++ b/projects/common/src/main/java/dan200/computercraft/data/LanguageProvider.java @@ -107,6 +107,8 @@ public final class LanguageProvider implements DataProvider { add(ComputerCraftTags.Items.TURTLE, "Turtles"); add(ComputerCraftTags.Items.WIRED_MODEM, "Wired modems"); add(ComputerCraftTags.Items.MONITOR, "Monitors"); + add(ComputerCraftTags.Items.DYEABLE, "Dyable items"); + add(ComputerCraftTags.Items.TURTLE_CAN_PLACE, "Turtle-placeable items"); // Turtle/pocket upgrades add("upgrade.minecraft.diamond_sword.adjective", "Melee");