mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-24 07:58:34 +01:00
don't break r.{string,plurals}.id across lines: my script's too dumb
to recognize them then
This commit is contained in:
parent
ca09c48d95
commit
805f160556
2 changed files with 5 additions and 7 deletions
|
@ -338,8 +338,7 @@ public class BoardDelegate extends DelegateBase
|
||||||
lstnr = new OnClickListener() {
|
lstnr = new OnClickListener() {
|
||||||
public void onClick( DialogInterface dialog,
|
public void onClick( DialogInterface dialog,
|
||||||
int whichButton ) {
|
int whichButton ) {
|
||||||
showNotAgainDlgThen( R.string.
|
showNotAgainDlgThen( R.string.not_again_lookup,
|
||||||
not_again_lookup,
|
|
||||||
R.string.
|
R.string.
|
||||||
key_na_lookup,
|
key_na_lookup,
|
||||||
Action.LOOKUP_ACTION );
|
Action.LOOKUP_ACTION );
|
||||||
|
@ -876,7 +875,7 @@ public class BoardDelegate extends DelegateBase
|
||||||
case R.id.board_menu_trade:
|
case R.id.board_menu_trade:
|
||||||
String msg = getString( R.string.not_again_trading );
|
String msg = getString( R.string.not_again_trading );
|
||||||
int strID = ABUtils.haveActionBar() ? R.string.not_again_trading_menu
|
int strID = ABUtils.haveActionBar() ? R.string.not_again_trading_menu
|
||||||
: R.string. not_again_trading_buttons;
|
: R.string.not_again_trading_buttons;
|
||||||
msg += getString( strID );
|
msg += getString( strID );
|
||||||
showNotAgainDlgThen( msg, R.string.key_notagain_trading,
|
showNotAgainDlgThen( msg, R.string.key_notagain_trading,
|
||||||
Action.START_TRADE_ACTION );
|
Action.START_TRADE_ACTION );
|
||||||
|
|
|
@ -358,9 +358,8 @@ public class UpdateCheckReceiver extends BroadcastReceiver {
|
||||||
int nAdded = LocUtils.addXlations( m_context, data );
|
int nAdded = LocUtils.addXlations( m_context, data );
|
||||||
if ( 0 < nAdded ) {
|
if ( 0 < nAdded ) {
|
||||||
gotOne = true;
|
gotOne = true;
|
||||||
String msg =
|
String msg = LocUtils
|
||||||
LocUtils.getQuantityString( m_context, R.plurals
|
.getQuantityString( m_context, R.plurals.new_xlations_fmt,
|
||||||
.new_xlations_fmt,
|
|
||||||
nAdded, nAdded );
|
nAdded, nAdded );
|
||||||
Utils.showToast( m_context, msg );
|
Utils.showToast( m_context, msg );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue