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())) {

View file

@ -1,6 +1,4 @@
item.missingRecipe.name=Missing Recipe Placeholder
itemGroup.techreborn=Tech Reborn
#Machines
@ -488,43 +486,49 @@ item.techreborn.part.coolant_triple.name=30k Coolant Cell
item.techreborn.part.coolant_six.name=60k Coolant Cell
item.techreborn.part.carbon_mesh.name=Carbon Mesh
item.techreborn.part.carbon_fiber.name=Carbon Fiber
item.techreborn.part.uuMatter.name=UU-Matter
#Tools
item.techreborn.rockcutter.name=Rockcutter
item.techreborn.lithiumbatpack.name=Lithium Batpack
item.techreborn.lapotronpack.name=Lapotronic Orbpack
item.techreborn.omniTool.name=Omni-Tool
item.techreborn.ironDrill.name=Steel Drill
item.techreborn.diamondDrill.name=Diamond Drill
item.techreborn.advancedDrill.name=Advanced Drill
item.techreborn.ironChainsaw.name=Steel Chainsaw
item.techreborn.diamondChainsaw.name=Diamond Chainsaw
item.techreborn.advancedChainsaw.name=Advanced Chainsaw
item.techreborn.lapotronicorb.name=Lapotronic Energy Orb
#Items-Armor
item.techreborn.cloakingdevice.name=Cloaking Device
item.techreborn.steelJackhammer.name=Steel Jackhammer
item.techreborn.diamondJackhammer.name=Diamond Jackhammer
item.techreborn.advancedJackhammer.name=Advanced Jackhammer
item.techreborn.frequencyTransmitter.name=Frequency Transmitter
item.techreborn.cell.name=Empty Cell
item.techreborn.cell.fluid.name=$fluid$ Cell
item.techreborn.rebattery.name=Battery
item.techreborn.lithiumBattery.name=Lithium Battery
item.techreborn.lapotronpack.name=Lapotronic Orbpack
item.techreborn.lithiumbatpack.name=Lithium Batpack
#Items-Battery
item.techreborn.energyCrystal.name=Energy Crystal
item.techreborn.lapotronCrystal.name=Lapotron Crystal
item.techreborn.treetap.name=Treetap
item.techreborn.lapotronicorb.name=Lapotronic Energy Orb
item.techreborn.lithiumBattery.name=Lithium Battery
item.techreborn.rebattery.name=Battery
#Items-Tools
item.techreborn.advancedChainsaw.name=Advanced Chainsaw
item.techreborn.advancedDrill.name=Advanced Drill
item.techreborn.advancedJackhammer.name=Advanced Jackhammer
item.techreborn.debug.name=Debug Tool
item.techreborn.diamondChainsaw.name=Diamond Chainsaw
item.techreborn.diamondDrill.name=Diamond Drill
item.techreborn.diamondJackhammer.name=Diamond Jackhammer
item.techreborn.electric_treetap.name=Electric Treetap
item.techreborn.nanosaber.name=Nanosaber
item.techreborn.omniTool.name=Omni-Tool
item.techreborn.rockcutter.name=Rockcutter
item.techreborn.ironChainsaw.name=Steel Chainsaw
item.techreborn.ironDrill.name=Steel Drill
item.techreborn.steelJackhammer.name=Steel Jackhammer
item.techreborn.treetap.name=Treetap
item.techreborn.wrench.name=Wrench
#Items-Misc
item.techreborn.cell.name=Empty Cell
item.techreborn.cell.fluid.name=$fluid$ Cell
item.techreborn.frequencyTransmitter.name=Frequency Transmitter
item.techreborn.manual.name=Tech Reborn Manual
item.techreborn.missingRecipe.name=Missing Recipe Placeholder
item.techreborn.scrapbox.name=Scrap Box
item.techreborn.upgrade.overclock.name=Overclocker Upgrade
item.techreborn.upgrade.transformer.name=Transformer Upgrade
item.techreborn.upgrade.energy_storage.name=Energy Storage Upgrade
item.techreborn.upgrade.ejection.name=Ejector Upgrade
item.techreborn.upgrade.injection.name=Importer Upgrade
item.techreborn.electric_treetap.name=Electric Treetap
item.techreborn.uuMatter.name=UU-Matter
item.techreborn.manual.name=Tech Manual
item.techreborn.debug.name=Debug Tool
item.techreborn.wrench.name=Wrench
item.techreborn.scrapbox.name=Scrap Box
item.bronzeSword.name=Bronze Sword
item.bronzePickaxe.name=Bronze Pickaxe
@ -585,10 +589,6 @@ techreborn.message.nanosaberInactive=Inactive
techreborn.message.nanosaberEnergyErrorTo=Not Enough Energy to
techreborn.message.nanosaberEnergyError=Not Enough Energy:
desc.uninsulatedCable=Damages Entities!
desc.transfer=Energy Transfer:
desc.tier=Tier:
keys.techreborn.category=TechReborn Category
keys.techreborn.config=Config
@ -597,12 +597,13 @@ techreborn.jei.recipe.start.cost=Start: %s
techreborn.jei.recipe.running.cost=%s/t: %s
techreborn.jei.recipe.processing.time.1=Time: %s ticks
techreborn.jei.recipe.processing.time.2=(%s sec)
jei.techreborn.scrapbox.name=Opening Scrapboxes
techreborn.desc.rubberSap=In order to get sap, you need to find a rubber tree or obtain a rubber tree sapling and proceed to grow it. Once you have obtained a rubber tree, search around for little yellowish spots on the tree. If you don't see any, just wait a bit and eventually these yellow "sap" spots. To harvest the sap, use a treetap and use it on the log.
techreborn.desc.scrapBox=Scrapboxes can be opened by either a simple use in hand, or by dispensers. That's right, just throw your scrapboxes into dispensers and give them a redstone signal, and boom! Random item!
techreborn.desc.scrapBoxNoDispenser=Scrapboxes can be opened by a simple use in hand!
techreborn.jei.desc.rubberSap=In order to get sap, you need to find a rubber tree or obtain a rubber tree sapling and proceed to grow it. Once you have obtained a rubber tree, search around for little yellowish spots on the tree. If you don't see any, just wait a bit and eventually these yellow "sap" spots. To harvest the sap, use a treetap and use it on the log.
techreborn.jei.desc.scrapBox=Scrapboxes can be opened by either a simple use in hand, or by dispensers. That's right, just throw your scrapboxes into dispensers and give them a redstone signal, and boom! Random item!
techreborn.jei.desc.scrapBoxNoDispenser=Scrapboxes can be opened by a simple use in hand!
techreborn.jei.category.alloy.furnace=Alloy Furnace
techreborn.jei.category.scrapbox=Opening Scrapboxes
techreborn.jei.category.generator.gas=Gas Generator
techreborn.jei.category.generator.semifluid=Semifluid Generator
techreborn.jei.category.generator.diesel=Diesel Generator
@ -612,18 +613,15 @@ techreborn.jei.category.generator.plasma=Plasma Generator
#Death Messages
death.attack.shock=%s was electrocuted
#Entitys
#Entities
entity.nuke.name=Nuke
#Tooltips
tooltip.wip=WIP Coming Soon
tooltip.upBroken=Upgrades DO NOT function!
tooltip.ingredient=Currently only a crafting ingredient
techreborn.tooltip.inventory=Inventory
techreborn.tooltip.upgrades=Upgrades
techreborn.tooltip.transferRate=Transfer Rate
techreborn.tooltip.tier=Tier
techreborn.tooltip.wip=WIP Coming Soon
techreborn.tooltip.inventory=Inventory
techreborn.tooltip.upgrades=Upgrades
techreborn.tooltip.alarm=Shift rightclick to change sound
#ManualUI
@ -633,7 +631,6 @@ techreborn.manual.wikibtn=Open
techreborn.manual.discordbtn=Join
#Advancements
advancements.techreborn.root.desc=Now that you have acquired Tech Reborn ore, you might find a tree tap usefull.
advancements.techreborn.treetap=TreeTap
advancements.techreborn.treetap.desc=Now that you have crafted a tree tap you will want to use it on a sap spot on a rubber tree.