mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
add a newbie-info for new-from menuitem. Still need one for reset.
This commit is contained in:
parent
a318021308
commit
d470a1c1e0
3 changed files with 16 additions and 2 deletions
|
@ -68,6 +68,7 @@
|
|||
<string name="key_notagain_dicts">key_notagain_dicts</string>
|
||||
<string name="key_notagain_arrow">key_notagain_arrow</string>
|
||||
<string name="key_notagain_turnchanged">key_notagain_turnchanged</string>
|
||||
<string name="key_notagain_newfrom">key_notagain_newfrom</string>
|
||||
|
||||
<!-- other -->
|
||||
<string name="default_host">eehouse.org</string>
|
||||
|
|
|
@ -524,6 +524,10 @@
|
|||
the scoreboard to get details about that player\'s most recent
|
||||
move.</string>
|
||||
|
||||
<string name="not_again_newfrom">Create a new ready-to-play game
|
||||
using all the settings from this one. That is, treat this game
|
||||
as a template.</string>
|
||||
|
||||
<string name="relay_game_explainf">To start a basic networked two-player
|
||||
game in %s:</string>
|
||||
|
||||
|
|
|
@ -468,8 +468,17 @@ public class GamesList extends XWListActivity
|
|||
break;
|
||||
|
||||
case R.id.list_item_new_from:
|
||||
String newName = GameUtils.dupeGame( this, path );
|
||||
invalPath = newName;
|
||||
Runnable proc = new Runnable() {
|
||||
public void run() {
|
||||
String newName =
|
||||
GameUtils.dupeGame( GamesList.this, path );
|
||||
if ( null != m_adapter ) {
|
||||
m_adapter.inval( newName );
|
||||
}
|
||||
}
|
||||
};
|
||||
showNotAgainDlgThen( R.string.not_again_newfrom,
|
||||
R.string.key_notagain_newfrom, proc );
|
||||
break;
|
||||
|
||||
case R.id.list_item_copy:
|
||||
|
|
Loading…
Reference in a new issue