use same counter title for wordlist and studylist browsers

This commit is contained in:
Eric House 2014-03-21 19:54:30 -07:00
parent 0b01caf262
commit c426741fa1
3 changed files with 3 additions and 4 deletions

View file

@ -2167,7 +2167,6 @@
<string name="sel_groupsf">Groups: %d</string>
<string name="summary_thumbsize">Thumbnail size</string>
<string name="thumb_off">Disabled</string>
<string name="sel_dictsf">Wordlists: %d</string>
<!-- <string name="summary_thumb_enabled">Display snapshots of games</string> -->
@ -2230,7 +2229,7 @@
<string name="slmenu_select_all">Select all</string>
<string name="slmenu_deselect_all">Unselect all</string>
<string name="sel_wordsf">Words: %d</string>
<string name="sel_itemsf">Selected: %d</string>
<string name="slmenu_lookup_sel">Look up</string>
</resources>

View file

@ -741,7 +741,7 @@ public class DictsActivity extends XWExpandableListActivity
{
int nSels = m_selDicts.size();
if ( 0 < nSels ) {
setTitle( getString( R.string.sel_dictsf, nSels ) );
setTitle( getString( R.string.sel_itemsf, nSels ) );
} else {
setTitle( m_origTitle );
}

View file

@ -301,7 +301,7 @@ public class StudyList extends XWListActivity
if ( 0 == nSels ) {
newTitle = m_origTitle;
} else {
newTitle = getString( R.string.sel_wordsf, nSels );
newTitle = getString( R.string.sel_itemsf, nSels );
}
setTitle( newTitle );