Skip to content

Commit

Permalink
#43: IntroScene localized
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcnor committed Oct 12, 2014
1 parent 6d7262a commit daada0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
7 changes: 7 additions & 0 deletions android/assets/i18n/l10n.properties
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ game_falling = Falling...
game_err_file_not_found = File not found. For some reason.
game_err_generic = Something went wrong...

# IntroScene
intro_txt = Many heroes of all kinds ventured into the Dungeon before you. Some of them have returned with treasures and magical \
artifacts, most have never been heard of since. But none have succeeded in retrieving the Amulet of Yendor, \
which is told to be hidden in the depths of the Dungeon.\n\n\
You consider yourself ready for the challenge, but most importantly, you feel that fortune smiles on you. \
It's time to start your own adventure!

# TitleScene
title_play = Play
title_rankings = Rankings
Expand Down
12 changes: 3 additions & 9 deletions core/src/com/watabou/pixeldungeon/scenes/IntroScene.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,19 @@

public class IntroScene extends PixelScene {

private static final String TEXT =
"Many heroes of all kinds ventured into the Dungeon before you. Some of them have returned with treasures and magical " +
"artifacts, most have never been heard of since. But none have succeeded in retrieving the Amulet of Yendor, " +
"which is told to be hidden in the depths of the Dungeon.\n\n" +
"" +
"You consider yourself ready for the challenge, but most importantly, you feel that fortune smiles on you. " +
"It's time to start your own adventure!";
private static final String TEXT = "intro_txt";

@Override
public void create() {
super.create();

add( new WndStory( TEXT ) {
add(new WndStory(tr(TEXT)) {
@Override
public void hide() {
super.hide();
Game.switchScene( InterlevelScene.class );
}
} );
});

fadeIn();
}
Expand Down

0 comments on commit daada0d

Please sign in to comment.