Conver en_us lang to json, start fixing it. This'll take forever.

This commit is contained in:
Vincent Lee committed 2019-04-07 13:41:00 -05:00
1 parent c1a306e765
commit 704a03e131
4 files changed
+3848 -3919

No files matched your search

@@ -44,7 +44,8 @@ public class SubTileType extends ForgeRegistryEntry<SubTileType> {
}
public String getTranslationKey(ItemStack stack) {
return "tile.botania:" + SPECIAL_FLOWER_PREFIX + getRegistryName();
String id = getRegistryName().toString().replaceAll(":", ".");
return "block." + SPECIAL_FLOWER_PREFIX + id;
}
/**
@@ -52,7 +53,8 @@ public class SubTileType extends ForgeRegistryEntry<SubTileType> {
*/
@Nullable
public ITextComponent getLore(ItemStack stack) {
return new TextComponentTranslation("tile.botania:" + SPECIAL_FLOWER_PREFIX + getRegistryName() + ".reference");
String id = getRegistryName().toString().replaceAll(":", ".");
return new TextComponentTranslation("block." + SPECIAL_FLOWER_PREFIX + id + ".reference");
}
public SubTileEntity create() {
@@ -100,7 +100,7 @@ public class ItemBlockSpecialFlower extends ItemBlockMod implements IRecipeKeyPr
if(ConfigHandler.CLIENT.referencesEnabled.get()) {
ITextComponent lore = type.getLore(par1ItemStack);
if(lore != null)
stacks.add(lore.applyTextStyle(TextFormatting.ITALIC));
stacks.add(lore.applyTextStyles(TextFormatting.ITALIC, TextFormatting.GRAY));
}
}