mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-25 14:34:33 +00:00
Added some localization
Fixed wrong localization
This commit is contained in:
1 parent
493ef4fdf9
commit
42ee61bd72
14 files changed
+142
-125
No files matched your search
@@ -58,7 +58,7 @@ class MothBreedingSystem extends BreedingSystem {
|
||||
return I18N.localise("binniecore.allele.metabolism.high");
|
||||
}
|
||||
if (metabolism >= 10) {
|
||||
return I18N.localise("binniecore.allele.metabolism.normal");
|
||||
return I18N.localise("binniecore.allele.metabolism.average");
|
||||
}
|
||||
if (metabolism >= 7) {
|
||||
return I18N.localise("binniecore.allele.metabolism.slow");
|
||||
|
||||
@@ -54,6 +54,10 @@ public enum FluidContainer {
|
||||
return I18N.localise("binniecore.item.container." + name().toLowerCase());
|
||||
}
|
||||
|
||||
public String getName(String fluid) {
|
||||
return I18N.localise("binniecore.item.container." + name().toLowerCase() + "." + fluid);
|
||||
}
|
||||
|
||||
public boolean isActive() {
|
||||
return getEmpty() != null;
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ public class ItemFluidContainer extends ItemFood {
|
||||
if (fluid == null) {
|
||||
return I18N.localise("binniecore.item.fluidContainer.missed");
|
||||
}
|
||||
return fluid.getFluid().getLocalizedName(fluid) + " " + container.getName();
|
||||
return container.getName(fluid.getFluid().getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user