Skip to content

Commit

Permalink
Add missing translation entry for pattern provider
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Mar 1, 2023
1 parent a2c573e commit 452c6f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<MEGAPatternProviderBlockEntity> {
public static final BooleanProperty OMNIDIRECTIONAL = BooleanProperty.create("omnidirectional");
Expand Down Expand Up @@ -96,7 +96,7 @@ public Item(Block id, Properties props) {

@Override
public void addCheckedInformation(ItemStack stack, Level level, List<Component> tooltip, TooltipFlag flag) {
tooltip.add(Tooltips.of("Supports processing patterns only."));
tooltip.add(MEGATranslations.ProcessingOnly.text());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 452c6f0

Please sign in to comment.