v0.7.0: fixed capitalization on two windows

This commit is contained in:
Evan Debenham 2018-07-22 13:29:30 -04:00
parent 10143f15e0
commit acd1385f96
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class ChaliceOfBlood extends Artifact {
if (damage > hero.HP*0.75) {
GameScene.show(
new WndOptions(Messages.get(this, "name"),
new WndOptions(Messages.titleCase(Messages.get(this, "name")),
Messages.get(this, "prick_warn"),
Messages.get(this, "yes"),
Messages.get(this, "no")) {

View File

@ -52,7 +52,7 @@ public class WndResurrect extends Window {
IconTitle titlebar = new IconTitle();
titlebar.icon( new ItemSprite( ankh.image(), null ) );
titlebar.label( ankh.name() );
titlebar.label( Messages.titleCase(ankh.name()) );
titlebar.setRect( 0, 0, WIDTH, 0 );
add( titlebar );