From 452c6f09b99ab1a916ea51c7513fb6e72fb26f69 Mon Sep 17 00:00:00 2001 From: 90 <90@national.shitposting.agency> Date: Wed, 1 Mar 2023 17:28:26 +0000 Subject: [PATCH] Add missing translation entry for pattern provider --- .../gripe/_90/megacells/block/MEGAPatternProviderBlock.java | 4 ++-- .../java/gripe/_90/megacells/definition/MEGATranslations.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java b/common/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java index 3d41994f..e3daa586 100644 --- a/common/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java +++ b/common/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java @@ -22,11 +22,11 @@ import appeng.api.util.IOrientable; import appeng.block.AEBaseBlockItem; import appeng.block.AEBaseEntityBlock; -import appeng.core.localization.Tooltips; import appeng.menu.locator.MenuLocators; import appeng.util.InteractionUtil; import gripe._90.megacells.block.entity.MEGAPatternProviderBlockEntity; +import gripe._90.megacells.definition.MEGATranslations; public class MEGAPatternProviderBlock extends AEBaseEntityBlock { public static final BooleanProperty OMNIDIRECTIONAL = BooleanProperty.create("omnidirectional"); @@ -96,7 +96,7 @@ public Item(Block id, Properties props) { @Override public void addCheckedInformation(ItemStack stack, Level level, List tooltip, TooltipFlag flag) { - tooltip.add(Tooltips.of("Supports processing patterns only.")); + tooltip.add(MEGATranslations.ProcessingOnly.text()); } } } diff --git a/common/src/main/java/gripe/_90/megacells/definition/MEGATranslations.java b/common/src/main/java/gripe/_90/megacells/definition/MEGATranslations.java index 37433b7a..0d9582f3 100644 --- a/common/src/main/java/gripe/_90/megacells/definition/MEGATranslations.java +++ b/common/src/main/java/gripe/_90/megacells/definition/MEGATranslations.java @@ -15,6 +15,7 @@ public enum MEGATranslations implements LocalizationEnum { FilterChemicalUnsupported("Filter chemical unsupported!", Type.TOOLTIP), MismatchedFilter("Mismatched filter!", Type.TOOLTIP), PartitionedFor("Partitioned for: %s", Type.TOOLTIP), + ProcessingOnly("Supports processing patterns only.", Type.TOOLTIP), Quantity("Quantity: %s", Type.TOOLTIP), NotPartitioned("Not Partitioned", Type.TOOLTIP);