Translation for REI recipe categories

This commit is contained in:
drcrazy 2019-07-28 23:39:01 +03:00
parent b89a52e594
commit 29aeb50d85
2 changed files with 14 additions and 2 deletions

View file

@ -12,6 +12,7 @@ import net.minecraft.item.Items;
import net.minecraft.util.Identifier;
import reborncore.common.crafting.RebornRecipe;
import reborncore.common.crafting.RebornRecipeType;
import reborncore.common.util.StringUtils;
import java.awt.*;
import java.util.Collections;
@ -34,7 +35,7 @@ public class MachineRecipeCategory<R extends RebornRecipe> implements RecipeCate
@Override
public String getCategoryName() {
return rebornRecipeType.getName().toString();
return StringUtils.t(rebornRecipeType.getName().toString());
}
@Override

View file

@ -631,5 +631,16 @@
"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.",
"advancements.techreborn.sap": "Rubber Sap",
"advancements.techreborn.sap.desc": "Well done, you now have rubber sap. You will want to smelt it in a furnace to create rubber next."
"advancements.techreborn.sap.desc": "Well done, you now have rubber sap. You will want to smelt it in a furnace to create rubber next.",
"_comment25": "REI Integration",
"techreborn:alloy_smelter": "Alloy Smelter",
"techreborn:assembling_machine": "Assembling Machine",
"techreborn:blast_furnace": "Blast Furnace",
"techreborn:centrifuge": "Industrial Centrifuge",
"techreborn:chemical_reactor": "Chemical Reactor",
"techreborn:compressor": "Compressor",
"techreborn:distillation_tower": "Distillation Tower",
"techreborn:extractor": "Extrator",
"techreborn:grinder": "Grinder"
}