v0.3.4: externalized a missed string from gamescene

This commit is contained in:
Evan Debenham 2016-02-06 20:12:26 -05:00 committed by Evan Debenham
parent b361c83eb2
commit 878ee86d7f
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ scenes.gamescene.water=You hear water splashing around you.
scenes.gamescene.grass=The smell of vegetation is thick in the air. scenes.gamescene.grass=The smell of vegetation is thick in the air.
scenes.gamescene.dark=You can hear enemies moving in the darkness... scenes.gamescene.dark=You can hear enemies moving in the darkness...
scenes.gamescene.secrets=The atmosphere hints that this floor hides many secrets. scenes.gamescene.secrets=The atmosphere hints that this floor hides many secrets.
scenes.gamescene.dont_know=You don't know what is there.
scenes.interlevelscene$mode.descend=Descending... scenes.interlevelscene$mode.descend=Descending...
scenes.interlevelscene$mode.ascend=Ascending... scenes.interlevelscene$mode.ascend=Ascending...

View File

@ -766,7 +766,7 @@ public class GameScene extends PixelScene {
} }
if (cell < 0 || cell > Level.LENGTH || (!Dungeon.level.visited[cell] && !Dungeon.level.mapped[cell])) { if (cell < 0 || cell > Level.LENGTH || (!Dungeon.level.visited[cell] && !Dungeon.level.mapped[cell])) {
GameScene.show( new WndMessage( "You don't know what is there." ) ) ; GameScene.show( new WndMessage( Messages.get(GameScene.class, "dont_know") ) ) ;
return; return;
} }