mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
add languages to dict names in set-default spinner
This commit is contained in:
parent
c8a6f453c9
commit
84e6d94919
1 changed files with 6 additions and 1 deletions
|
@ -33,7 +33,12 @@ public class DictListPreference extends ListPreference {
|
|||
super( context, attrs );
|
||||
|
||||
String[] dicts = GameUtils.dictList( context );
|
||||
setEntries( dicts );
|
||||
String[] dictEntries = new String[dicts.length];
|
||||
for ( int ii = 0; ii < dicts.length; ++ii ) {
|
||||
dictEntries[ii] =
|
||||
DictLangCache.annotatedDictName( context, dicts[ii] );
|
||||
}
|
||||
setEntries( dictEntries );
|
||||
setEntryValues( dicts );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue