diff --git a/xwords4/android/XWords4/res/menu/board_menu.xml b/xwords4/android/XWords4/res/menu/board_menu.xml index f2f65c6ec..0e4617561 100644 --- a/xwords4/android/XWords4/res/menu/board_menu.xml +++ b/xwords4/android/XWords4/res/menu/board_menu.xml @@ -3,8 +3,8 @@ + Tap word to search Look up %s at - Pass + Pass diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java index a3763e808..9fd89c5b1 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java @@ -144,7 +144,6 @@ public class BoardActivity extends XWActivity private JNIThread m_jniThread; private JNIThread.GameStateInfo m_gsi; private boolean m_blockingDlgPosted = false; - private String m_doneOrigTitle = null; private String m_room; private String m_toastStr; @@ -607,16 +606,13 @@ public class BoardActivity extends XWActivity if ( !inTrade ) { MenuItem item = menu.findItem( R.id.board_menu_done ); - if ( null == m_doneOrigTitle ) { - m_doneOrigTitle = item.getTitle().toString(); - } - String title; + int strId; if ( 0 >= m_view.curPending() ) { - title = getString( R.string.pass ); + strId = R.string.board_menu_pass; } else { - title = m_doneOrigTitle; + strId = R.string.board_menu_done; } - item.setTitle( title ); + item.setTitle( strId ); } return true;