Add translations for pony level

This commit is contained in:
Matthew Messinger 2015-08-17 01:54:56 -04:00
parent 50b0b668c7
commit e844b6105c
2 changed files with 5 additions and 4 deletions

View file

@ -7,6 +7,7 @@ import com.voxelmodpack.common.gui.interfaces.IExtendedGui;
import com.voxelmodpack.common.properties.VoxelProperty; import com.voxelmodpack.common.properties.VoxelProperty;
import com.voxelmodpack.common.properties.interfaces.IVoxelPropertyProviderInteger; import com.voxelmodpack.common.properties.interfaces.IVoxelPropertyProviderInteger;
import net.minecraft.client.resources.I18n;
import net.minecraft.util.MathHelper; import net.minecraft.util.MathHelper;
public class VoxelPropertyIntSlider extends VoxelProperty<IVoxelPropertyProviderInteger> { public class VoxelPropertyIntSlider extends VoxelProperty<IVoxelPropertyProviderInteger> {
@ -55,9 +56,9 @@ public class VoxelPropertyIntSlider extends VoxelProperty<IVoxelPropertyProvider
this.setBar = false; this.setBar = false;
this.dragging = false; this.dragging = false;
this.offset = 0; this.offset = 0;
this.minText = "Humans"; this.minText = I18n.format("minelp.options.ponylevel.human");
this.midText = "Mix"; this.midText = I18n.format("minelp.options.ponylevel.mix");
this.maxText = "Ponies"; this.maxText = I18n.format("minelp.options.ponylevel.pony");
} }
@Override @Override

View file

@ -2,7 +2,7 @@
"name": "minelp", "name": "minelp",
"mcversion": "1.8", "mcversion": "1.8",
"version": "1.8-UNOFFICIAL", "version": "1.8-UNOFFICIAL",
"revision": "185.2", "revision": "185.21",
"author": "Verdana, Rene_Z, Mumfrey, JoyJoy", "author": "Verdana, Rene_Z, Mumfrey, JoyJoy",
"voxelCommonJarName": "voxelcommon-2.4.0.jar", "voxelCommonJarName": "voxelcommon-2.4.0.jar",
"classTransformerClasses": "com.minelittlepony.minelp.transformers.RenderPlayerTransformer", "classTransformerClasses": "com.minelittlepony.minelp.transformers.RenderPlayerTransformer",