mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
no blank Translate menu titles
This commit is contained in:
parent
1ebf51d3ab
commit
4452adf33d
1 changed files with 4 additions and 1 deletions
|
@ -399,7 +399,10 @@ public class LocUtils {
|
|||
String title = activity.getString( R.string.loc_menu_xlate );
|
||||
associateMenuString( rootRef, title );
|
||||
|
||||
title = getXlation( activity, title, true );
|
||||
String xlated = getXlation( activity, title, true );
|
||||
if ( null != xlated ) {
|
||||
title = xlated;
|
||||
}
|
||||
menu.add( title )
|
||||
.setOnMenuItemClickListener( new OnMenuItemClickListener() {
|
||||
public boolean onMenuItemClick( MenuItem item ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue