From bf5dd5566bda4aca8cfcc6130543aec14a10b75d Mon Sep 17 00:00:00 2001 From: glowredman <35727266+glowredman@users.noreply.github.com> Date: Thu, 2 Jan 2025 04:40:59 +0100 Subject: [PATCH] Add Localization (#36) This adds some missing localizations for unlocalized names returned by the ItemStack-insensitive version of `Item.getUnlocalizedName()`. Relevant for the Item/Block stats introduced in https://github.com/GTNewHorizons/Hodgepodge/pull/398. --------- Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> --- src/main/resources/assets/structurelib/lang/en_US.lang | 1 + src/main/resources/assets/structurelib/lang/zh_CN.lang | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/resources/assets/structurelib/lang/en_US.lang b/src/main/resources/assets/structurelib/lang/en_US.lang index 6375d6e8..212da999 100644 --- a/src/main/resources/assets/structurelib/lang/en_US.lang +++ b/src/main/resources/assets/structurelib/lang/en_US.lang @@ -1,3 +1,4 @@ +tile.structurelib.blockhint.name=Hint tile.structurelib.blockhint.0.name=Hint 1 dot tile.structurelib.blockhint.1.name=Hint 2 dots tile.structurelib.blockhint.2.name=Hint 3 dots diff --git a/src/main/resources/assets/structurelib/lang/zh_CN.lang b/src/main/resources/assets/structurelib/lang/zh_CN.lang index be461bd1..e1caf963 100644 --- a/src/main/resources/assets/structurelib/lang/zh_CN.lang +++ b/src/main/resources/assets/structurelib/lang/zh_CN.lang @@ -1,3 +1,4 @@ +tile.structurelib.blockhint.name=提示方块 tile.structurelib.blockhint.0.name=提示方块:1号 tile.structurelib.blockhint.1.name=提示方块:2号 tile.structurelib.blockhint.2.name=提示方块:3号