v0.3.4: adjusted the description of some buffs for better i18n

This commit is contained in:
Evan Debenham
2016-01-18 01:40:35 -05:00
committed by Evan Debenham
parent 07cb7537d5
commit 41f90b5d32
4 changed files with 35 additions and 40 deletions
@@ -90,9 +90,7 @@ public class Buff extends Actor {
//to handle the common case of showing how many turns are remaining in a buff description.
protected String dispTurns(float input){
return input == 1 ?
Messages.get(Buff.class, "1moreturn") :
Messages.get(Buff.class, "#moreturns", new DecimalFormat("#.##").format(input));
return new DecimalFormat("#.##").format(input);
}
//creates a fresh instance of the buff and attaches that, this allows duplication.