Add translation keys
This commit is contained in:
@@ -26,7 +26,7 @@ public class GuiProcessingPatternEncoder extends GuiBase {
|
||||
|
||||
@Override
|
||||
public void init(int x, int y) {
|
||||
patternOredicted = addCheckBox(x + 7, y + 76, "Use oredict", TileProcessingPatternEncoder.PATTERN_OREDICTED.getValue()); // @TODO: I18N
|
||||
patternOredicted = addCheckBox(x + 7, y + 76, t("misc.refinedstorage:use_oredict"), TileProcessingPatternEncoder.PATTERN_OREDICTED.getValue());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -100,7 +100,7 @@ public class GuiGrid extends GuiBase {
|
||||
}
|
||||
|
||||
if (grid.getType() == EnumGridType.PATTERN) {
|
||||
patternOredicted = addCheckBox(x + 64, y + 138, "Use oredict", TileGrid.PATTERN_OREDICTED.getValue()); // @TODO: I18N
|
||||
patternOredicted = addCheckBox(x + 64, y + 138, t("misc.refinedstorage:use_oredict"), TileGrid.PATTERN_OREDICTED.getValue());
|
||||
}
|
||||
|
||||
if (grid.getType() != EnumGridType.FLUID) {
|
||||
|
||||
@@ -55,7 +55,7 @@ public class ItemPattern extends ItemBase implements ICraftingPatternProvider {
|
||||
combineItems(tooltip, true, Iterables.toArray(pattern.getOutputs(), ItemStack.class));
|
||||
|
||||
if (pattern.isOredicted()) {
|
||||
tooltip.add(TextFormatting.BLUE + "Uses ore dictionary"); // @TODO: I18N
|
||||
tooltip.add(TextFormatting.BLUE + I18n.format("misc.refinedstorage:pattern.oredict"));
|
||||
}
|
||||
} else {
|
||||
tooltip.add(TextFormatting.RED + I18n.format("misc.refinedstorage:pattern.invalid") + TextFormatting.RESET);
|
||||
|
||||
Reference in New Issue
Block a user