include name of game in title of game-configure screen

This commit is contained in:
eehouse 2010-05-27 02:58:27 +00:00
parent 6b9c4a4e0f
commit c5a0384d79
4 changed files with 5 additions and 3 deletions

View file

@ -57,7 +57,6 @@
</activity>
<activity android:name="GameConfig"
android:label="@string/title_game_config"
android:screenOrientation="sensor"
android:configChanges="keyboardHidden|orientation"
>

View file

@ -41,7 +41,7 @@
<string name="title_games_list">Crosswords</string>
<string name="title_dicts_list">Slovníky Crosswords</string>
<string name="title_game">Hra</string>
<string name="title_game_config">Konfigurovat hru</string>
<string name="title_game_configf">Konfigurovat %s</string>
<string name="title_prefs">Předvolby Crosswords</string>
<string name="app_name">Crosswords</string>

View file

@ -41,7 +41,7 @@
<string name="title_games_list">Crosswords</string>
<string name="title_dicts_list">Crosswords dictionaries</string>
<string name="title_game">Game</string>
<string name="title_game_config">Configure game</string>
<string name="title_game_configf">Configure %s</string>
<string name="title_prefs">Crosswords settings</string>
<string name="app_name">Crosswords</string>

View file

@ -447,6 +447,9 @@ public class GameConfig extends Activity implements View.OnClickListener {
Utils.setChecked( this, R.id.smart_robot, 0 < m_gi.robotSmartness );
adjustVisibility();
String fmt = getString( R.string.title_game_configf );
setTitle( String.format( fmt, GameUtils.gameName( this, m_path ) ) );
} // onCreate
@Override