Cleaned up translation keys

This commit is contained in:
drcrazy 2018-09-07 17:37:49 +03:00
parent b05c2e948f
commit 1b3bf6f5c2
5 changed files with 51 additions and 51 deletions

View file

@ -255,6 +255,7 @@ public class TechRebornJeiPlugin implements IModPlugin {
}
}
// Recipes
registry.handleRecipes(AlloySmelterRecipe.class, recipe -> new AlloySmelterRecipeWrapper(jeiHelpers, recipe), RecipeCategoryUids.ALLOY_SMELTER);
registry.handleRecipes(AssemblingMachineRecipe.class, recipe -> new AssemblingMachineRecipeWrapper(jeiHelpers, recipe), RecipeCategoryUids.ASSEMBLING_MACHINE);
registry.handleRecipes(BlastFurnaceRecipe.class, recipe -> new BlastFurnaceRecipeWrapper(jeiHelpers, recipe), RecipeCategoryUids.BLAST_FURNACE);
@ -310,7 +311,8 @@ public class TechRebornJeiPlugin implements IModPlugin {
TechRebornJeiPlugin.addDebugRecipes(registry);
}
registry.addIngredientInfo(ItemParts.getPartByName("rubberSap"), ItemStack.class, StringUtils.t("techreborn.desc.rubberSap"));
// Descriptions
registry.addIngredientInfo(ItemParts.getPartByName("rubberSap"), ItemStack.class, StringUtils.t("techreborn.jei.desc.rubberSap"));
if (!BehaviorDispenseScrapbox.dispenseScrapboxes) {
registry.addIngredientInfo(new ItemStack(ModItems.SCRAP_BOX), ItemStack.class, StringUtils.t("techreborn.desc.scrapBoxNoDispenser"));
} else {

View file

@ -48,7 +48,7 @@ public class ScrapboxRecipeCategory implements IRecipeCategory<ScrapboxRecipeWra
public ScrapboxRecipeCategory(IGuiHelper guiHelper) {
background = guiHelper.createDrawable(texture, 0, 62, 74, 32);
title = StringUtils.t("jei.techreborn.scrapbox.name");
title = StringUtils.t("techreborn.jei.category.scrapbox");
}
@Override

View file

@ -29,6 +29,6 @@ import techreborn.items.ItemTR;
public class ItemUUmatter extends ItemTR {
public ItemUUmatter() {
setUnlocalizedName("techreborn.uuMatter");
setUnlocalizedName("techreborn.part.uuMatter");
}
}

View file

@ -34,6 +34,7 @@ import net.minecraftforge.event.entity.player.ItemTooltipEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import reborncore.common.util.StringUtils;
import techreborn.init.ModBlocks;
import java.util.ArrayList;
@ -68,7 +69,7 @@ public class StackWIPHandler {
public void toolTip(ItemTooltipEvent event) {
Block block = Block.getBlockFromItem(event.getItemStack().getItem());
if (block != null && wipBlocks.contains(block)) {
event.getToolTip().add(TextFormatting.RED + "WIP Coming Soon");
event.getToolTip().add(TextFormatting.RED + StringUtils.t("techreborn.tooltip.wip"));
}
if (devHeads.contains(event.getItemStack())) {