Skip to content

Commit

Permalink
Restore original item group name translation key
Browse files Browse the repository at this point in the history
(better fix for #4565)
  • Loading branch information
TheRealWormbo committed Jul 13, 2024
1 parent 699d1ca commit 2a695c6
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private void registryInit() {
BuiltInRegistries.CREATIVE_MODE_TAB,
BotaniaRegistries.BOTANIA_TAB_KEY,
FabricItemGroup.builder()
.title(Component.translatable("itemGroup.botania.botania").withStyle((style -> style.withColor(ChatFormatting.WHITE))))
.title(Component.translatable("itemGroup.botania").withStyle((style -> style.withColor(ChatFormatting.WHITE))))
.icon(() -> new ItemStack(BotaniaItems.lexicon))
.backgroundSuffix("botania.png")
.build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ private void registryInit() {
});
bind(Registries.CREATIVE_MODE_TAB, consumer -> {
consumer.accept(CreativeModeTab.builder()
.title(Component.translatable("itemGroup.botania.botania").withStyle(style -> style.withColor(ChatFormatting.WHITE)))
.title(Component.translatable("itemGroup.botania").withStyle(style -> style.withColor(ChatFormatting.WHITE)))
.icon(() -> new ItemStack(BotaniaItems.lexicon))
.withTabsBefore(CreativeModeTabs.NATURAL_BLOCKS)
.backgroundSuffix("botania.png")
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void generate(HolderLookup.Provider lookup, Consumer<Advancement> consume

// Main progression line
Advancement root = Advancement.Builder.advancement()
.display(rootDisplay(BotaniaItems.lexicon, "itemGroup.botania.botania",
.display(rootDisplay(BotaniaItems.lexicon, "itemGroup.botania",
"botania.desc", prefix("textures/block/livingwood_log.png")))
.addCriterion("flower", onPickup(BotaniaTags.Items.MYSTICAL_FLOWERS))
.save(consumer, mainId("root"));
Expand Down
2 changes: 1 addition & 1 deletion Xplat/src/main/resources/assets/botania/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_comment3": "Untranslated entries will automatically be inherited from this file.",
"_comment4": "Once again, don't copy from English, and THANK YOU for your hard work!",

"itemGroup.botania.botania": "Botania",
"itemGroup.botania": "Botania",
"botania.landing": "Magic, Tech. Naturally.$(br2)Botania is a tech mod themed around natural magic. The main concept is to create magical flowers and devices utilizing the power of the earth, in the form of $(thing)Mana$().",
"botania.desc": "Magic, Tech. Naturally",

Expand Down
2 changes: 1 addition & 1 deletion Xplat/src/main/resources/assets/botania/lang/fr_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"_comment.tag": "Tags à ajouter dans le code",
"_comment.todo": "Travail supplémentaire",

"itemGroup.botania.botania": "Botania",
"itemGroup.botania": "Botania",
"botania.landing": "Magie, Machines. Naturellement. $(br2)Botania est un mod technologique, dont le concept est la création de machines et de fleurs magiques afin de manipuler le $(thing)mana$().",
"botania.desc": "Magie, Machines. Naturellement",

Expand Down
2 changes: 1 addition & 1 deletion Xplat/src/main/resources/assets/botania/lang/ko_kr.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_comment3": "Untranslated entries will automatically be inherited from this file.",
"_comment4": "Once again, don't copy from English, and THANK YOU for your hard work!",

"itemGroup.botania.botania": "보타니아 [Botania]",
"itemGroup.botania": "보타니아 [Botania]",
"botania.landing": "마법, 기술. 자연스러운.$(br2)보타니아는 자연 마법을 테마로 한 기술 모드입니다. 주요 컨셉은 $(thing)마나$()의 형태로 땅의 힘을 이용해 마법의 꽃과 장치를 만드는 것입니다.",
"botania.desc": "마법, 기술. 자연스러운",

Expand Down
2 changes: 1 addition & 1 deletion Xplat/src/main/resources/assets/botania/lang/uk_ua.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_comment3": "Untranslated entries will automatically be inherited from this file.",
"_comment4": "Once again, don't copy from English, and THANK YOU for your hard work!",

"itemGroup.botania.botania": "Botania",
"itemGroup.botania": "Botania",
"botania.landing": "Магія, техніка. Природно.$(br2)Botania — це технічний мод, присвячений магії природи. Основна ідея полягає у створенні магічних квітів і пристроїв, використовуючи силу землі у формі $(thing)Мани$().",
"botania.desc": "Магія, техніка. Природно",

Expand Down
2 changes: 1 addition & 1 deletion Xplat/src/main/resources/assets/botania/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"_comment5": "Once again, don't copy from English, and THANK YOU for your hard work!",
"_comment6": "请翻译者注意替换全半角标点,包括“,”和“,”、“.”和“。”、“?”和“?”、以及“!”和“!”等。同时,请注意将排列句式中的英文逗号改为顿号。感谢您的贡献。",

"itemGroup.botania.botania": "植物魔法",
"itemGroup.botania": "植物魔法",
"botania.landing": "魔法,自然也是科技。$(br2)植物魔法是一个以自然魔法为主题的科技Mod,主要通过使用魔法花朵和装置来运用大地之中的$(thing)魔力$()。",
"botania.desc": "这里便是植物魔法的描述。",

Expand Down

0 comments on commit 2a695c6

Please sign in to comment.