mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
name the number of selected games in delete confirm dialog
This commit is contained in:
parent
b6aa0e19a6
commit
9d6facce84
2 changed files with 5 additions and 3 deletions
|
@ -179,8 +179,8 @@
|
|||
<string name="confirm_delete">Are you sure you want to delete this
|
||||
game?</string>
|
||||
|
||||
<string name="confirm_seldeletes">Are you sure you want to delete
|
||||
all selected games? This action cannot be undone.</string>
|
||||
<string name="confirm_seldeletesf">Are you sure you want to delete
|
||||
the %d selected game[s]? This action cannot be undone.</string>
|
||||
|
||||
<!-- Text of confirmation dialog posted when list_item_reset menu
|
||||
is selected -->
|
||||
|
|
|
@ -711,7 +711,9 @@ public class GamesList extends XWExpandableListActivity
|
|||
break;
|
||||
|
||||
case R.id.gamel_menu_delete:
|
||||
showConfirmThen( R.string.confirm_seldeletes, R.string.button_delete,
|
||||
String msg = Utils.format( this, R.string.confirm_seldeletesf,
|
||||
m_selected.size() );
|
||||
showConfirmThen( msg, R.string.button_delete,
|
||||
GamesActions.DELETE_SELGAMES.ordinal() );
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue