mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
add a newbie-info for new-from menuitem. Still need one for reset.
This commit is contained in:
parent
3fdf15955e
commit
ae0860a047
3 changed files with 16 additions and 2 deletions
|
@ -64,6 +64,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>
|
||||
|
||||
<string name="relayids_extra">org.eehouse.android.xw4.relayids_extra</string>
|
||||
|
||||
|
|
|
@ -502,6 +502,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>
|
||||
|
||||
|
|
|
@ -433,8 +433,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…
Add table
Reference in a new issue