include number of tiles in trade confirm message

This commit is contained in:
Eric House 2014-08-26 21:58:55 -07:00
parent d8266f6a2c
commit 5343b054a5
4 changed files with 4 additions and 4 deletions

View file

@ -1194,7 +1194,7 @@
<!-- Text of dialog asking user to confirm a move that exchanges
tiles (instead of forming a new word to earn points) -->
<string name="query_trade_fmt">Are you sure you want to exchange the
selected tiles (%1$s)?</string>
%1$d selected tiles (%2$s)?</string>
<!-- ############################################################
# :Screens:

View file

@ -1022,7 +1022,7 @@
<!-- Text of dialog asking user to confirm a move that exchanges
tiles (instead of forming a new word to earn points) -->
<string name="query_trade_fmt">Era uoy erus uoy tnaw ot egnahcxe eht
detceles selit (%1$s?)</string>
%1$d detceles selit (%2$s?)</string>
<!-- ############################################################
# :Screens:
# Chat screen

View file

@ -1022,7 +1022,7 @@
<!-- Text of dialog asking user to confirm a move that exchanges
tiles (instead of forming a new word to earn points) -->
<string name="query_trade_fmt">ARE YOU SURE YOU WANT TO EXCHANGE THE
SELECTED TILES (%1$s)?</string>
%1$d SELECTED TILES (%2$s)?</string>
<!-- ############################################################
# :Screens:
# Chat screen

View file

@ -1561,7 +1561,7 @@ public class BoardDelegate extends DelegateBase
public boolean confirmTrade( String[] tiles )
{
m_dlgTitle = R.string.info_title;
m_dlgBytes = getString( R.string.query_trade_fmt,
m_dlgBytes = getString( R.string.query_trade_fmt, tiles.length,
TextUtils.join( ", ", tiles ) );
return 0 != waitBlockingDialog( DlgID.QUERY_REQUEST_BLK, 0 );
}