Support custom material names
Adaptivity opened this issue · 2 comments
Since MineFactoryReloaded adds 2 new materials to TiC there are some issues with translating them.
Basically I need different adjective ends for some tools(toolparts). Some examples:
- Plastic Pickaxe -> Пластиковая(adj end="ая") кирка(tool) (in Russian)
- Plastic Hatchet -> Пластиковый(adj end="ый" different from above) топорик(tool) (in Russian)
Tinkers Construct already supports custom material names: - How it looks in .lang file: https://github.com/SlimeKnights/TinkersConstruct/blob/master/resources/assets/tinker/lang/en_US.lang#L917
- And possibly in code: https://github.com/SlimeKnights/TinkersConstruct/blob/master/src/main/java/tconstruct/tools/items/ToolPart.java (not sure about this, hope you can find out it yourself)
You should be able to just do like what you did here: https://github.com/SlimeKnights/TinkersConstruct/blob/master/resources/assets/tinker/lang/ru_RU.lang#L1410
in MFR's localization file, but it seems that currently mod materials aren't supported properly for localization like the tcon materials are