Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ public void drawBackground(int recipe) {
int tempMana = ((CachedManaPoolRecipe) arecipes.get(recipe)).mana;
HUDHandler.renderManaBar(32, 80, 0x0000FF, 0.75F, GuiScreen.isShiftKeyDown() ? tempMana : tempMana * 10, TilePool.MAX_MANA / 10);
FontRenderer font = Minecraft.getMinecraft().fontRenderer;
String size = GuiScreen.isShiftKeyDown() ? "1x " : "10x ";
String localized = StatCollector.translateToLocal("botaniamisc.neiratio");
font.drawString(size + localized, 84 - font.getStringWidth(size + localized) / 2, 71, 0x000000);
String size = GuiScreen.isShiftKeyDown() ? "1x" : "10x";
String localized = StatCollector.translateToLocalFormatted("botaniamisc.neiratio", size);
font.drawString(localized, 84 - font.getStringWidth(localized) / 2, 71, 0x000000);
RenderTilePool.forceMana = true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/botania/lang/en_US.lang
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ botaniamisc.clickToSee=Click to read
botaniamisc.shiftToRemove=Shift-click to remove
botaniamisc.clickToAdd=Add Bookmark
botaniamisc.ratio=%sx Zoom (hover to zoom out)
botaniamisc.neiratio=Zoom (shift to zoom out)
botaniamisc.neiratio=%s Zoom (shift to zoom out)
botaniamisc.bottleTooltip=It has an acquired taste
botaniamisc.coarseDirt0=Coarse Dirt, grass
botaniamisc.coarseDirt1=won't grow on it
Expand Down