add number being reset to message

This commit is contained in:
Eric House 2014-03-17 06:56:10 -07:00
parent cb5bb00ef0
commit 37b2458140
3 changed files with 3 additions and 8 deletions

View file

@ -157,12 +157,6 @@
list_item_rename) -->
<string name="rename_label">Mudar o nome desse jogo para:</string>
<!-- Text of confirmation dialog posted when list_item_reset menu
is selected -->
<string name="confirm_reset">Você tem certeza que quer reiniciar
esse jogo? Reiniciar apaga todas as jogadas e informações de
conexão.</string>
<!--
############################################################
# :Screens:

View file

@ -159,7 +159,7 @@
<!-- Text of confirmation dialog posted when list_item_reset menu
is selected -->
<string name="confirm_reset">Are you sure you want to reset the
<string name="confirm_resetf">Are you sure you want to reset the %d
selected game[s]? (Resetting erases all moves and any connection
information.)</string>

View file

@ -858,7 +858,8 @@ public class GamesList extends XWExpandableListActivity
break;
case R.id.games_game_reset:
showConfirmThen( R.string.confirm_reset, R.string.button_reset,
msg = getString( R.string.confirm_resetf, selRowIDs.length );
showConfirmThen( msg, R.string.button_reset,
GamesActions.RESET_GAMES.ordinal(), selRowIDs );
break;