Pull hardcoded localizations stuff from books into .lang files, so we have at least one hacky way to have everything localized in the books. #1268

This commit is contained in:
Bernhard Bonigl committed 2015-01-01 23:13:47 +01:00
1 parent 28ccf1236e
commit 1a18389825
5 files changed
+50 -24

No files matched your search

@@ -66,11 +66,11 @@ public class ModifierPage extends BookPage
@Override
public void renderContentLayer (int localWidth, int localHeight, boolean isTranslatable)
{
String tStation = new String("Tool Station");
if (icons.length > 4)
tStation = "Tinker Table";
String tStation = StatCollector.translateToLocal("manual.page.modifier1");
if (icons.length > 3)
tStation = "Tool Forge";
tStation = StatCollector.translateToLocal("manual.page.modifier2");
if (icons.length > 4)
tStation = StatCollector.translateToLocal("manual.page.modifier3");
if (isTranslatable)
tStation = StatCollector.translateToLocal(tStation);
manual.fonts.drawString("\u00a7n" + tStation, localWidth + 60, localHeight + 4, 0);