v1.1.0: added translation code for ratmog heroic energy title
This commit is contained in:
parent
722ac978d6
commit
33cef58705
|
@ -742,6 +742,7 @@ actors.hero.talent.swift_spirit.desc=_+1:_ The spirit hawk's movement speed is i
|
||||||
|
|
||||||
#universal
|
#universal
|
||||||
actors.hero.talent.heroic_energy.title=heroic energy
|
actors.hero.talent.heroic_energy.title=heroic energy
|
||||||
|
actors.hero.talent.heroic_energy.rat_title=ratroic energy
|
||||||
actors.hero.talent.heroic_energy.desc=_+1:_ The hero's armor ability has a _13% reduced_ charge cost.\n\n_+2:_ The hero's armor ability has a _24% reduced_ charge cost.\n\n_+3:_ The hero's armor ability has a _34% reduced_ charge cost.\n\n_+4:_ The hero's armor ability has a _43% reduced_ charge cost
|
actors.hero.talent.heroic_energy.desc=_+1:_ The hero's armor ability has a _13% reduced_ charge cost.\n\n_+2:_ The hero's armor ability has a _24% reduced_ charge cost.\n\n_+3:_ The hero's armor ability has a _34% reduced_ charge cost.\n\n_+4:_ The hero's armor ability has a _43% reduced_ charge cost
|
||||||
|
|
||||||
actors.hero.talent.ratsistance.title=ratsistance
|
actors.hero.talent.ratsistance.title=ratsistance
|
||||||
|
|
|
@ -219,12 +219,10 @@ public enum Talent {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String title(){
|
public String title(){
|
||||||
//TODO translate this
|
if (this == HEROIC_ENERGY
|
||||||
if (this == HEROIC_ENERGY &&
|
|
||||||
Messages.lang() == Languages.ENGLISH
|
|
||||||
&& Dungeon.hero != null
|
&& Dungeon.hero != null
|
||||||
&& Dungeon.hero.armorAbility instanceof Ratmogrify){
|
&& Dungeon.hero.armorAbility instanceof Ratmogrify){
|
||||||
return "ratroic energy";
|
return Messages.get(this, name() + ".rat_title");
|
||||||
}
|
}
|
||||||
return Messages.get(this, name() + ".title");
|
return Messages.get(this, name() + ".title");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user