Fix #272 Fruit family names are not translated in the treealyzer

This commit is contained in:
mezz committed 2017-08-20 12:31:41 -07:00
1 parent a2366fee20
commit 7946203545
6 files changed
+188 -187

No files matched your search

@@ -313,7 +313,7 @@ public enum ExtraTreeFruitGene implements IAlleleFruit, IFruitProvider {
@Override
public String getDescription() {
return I18N.localise("extratrees.item.food." + name().toLowerCase());
return "extratrees.item.food." + name().toLowerCase();
}
@Override
@@ -418,7 +418,7 @@ public enum ExtraTreeFruitGene implements IAlleleFruit, IFruitProvider {
@Override
public String getName() {
return getDescription();
return I18N.localise("for." + getDescription());
}
public String getNameOfFruit() {