mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
include name of game in title of game-configure screen
This commit is contained in:
parent
6b9c4a4e0f
commit
c5a0384d79
4 changed files with 5 additions and 3 deletions
|
@ -57,7 +57,6 @@
|
|||
</activity>
|
||||
|
||||
<activity android:name="GameConfig"
|
||||
android:label="@string/title_game_config"
|
||||
android:screenOrientation="sensor"
|
||||
android:configChanges="keyboardHidden|orientation"
|
||||
>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue