mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user