don't break r.{string,plurals}.id across lines: my script's too dumb

to recognize them then
This commit is contained in:
Eric House 2016-01-23 21:04:20 -08:00
parent ca09c48d95
commit 805f160556
2 changed files with 5 additions and 7 deletions

View file

@ -338,8 +338,7 @@ public class BoardDelegate extends DelegateBase
lstnr = new OnClickListener() {
public void onClick( DialogInterface dialog,
int whichButton ) {
showNotAgainDlgThen( R.string.
not_again_lookup,
showNotAgainDlgThen( R.string.not_again_lookup,
R.string.
key_na_lookup,
Action.LOOKUP_ACTION );
@ -876,7 +875,7 @@ public class BoardDelegate extends DelegateBase
case R.id.board_menu_trade:
String msg = getString( R.string.not_again_trading );
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 );
showNotAgainDlgThen( msg, R.string.key_notagain_trading,
Action.START_TRADE_ACTION );

View file

@ -358,10 +358,9 @@ public class UpdateCheckReceiver extends BroadcastReceiver {
int nAdded = LocUtils.addXlations( m_context, data );
if ( 0 < nAdded ) {
gotOne = true;
String msg =
LocUtils.getQuantityString( m_context, R.plurals
.new_xlations_fmt,
nAdded, nAdded );
String msg = LocUtils
.getQuantityString( m_context, R.plurals.new_xlations_fmt,
nAdded, nAdded );
Utils.showToast( m_context, msg );
}
}