mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
use version of getString that translates
This commit is contained in:
parent
d27f2d580a
commit
9e228ab368
1 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@ import org.json.JSONObject;
|
|||
import junit.framework.Assert;
|
||||
|
||||
import org.eehouse.android.xw4.jni.*;
|
||||
import org.eehouse.android.xw4.loc.LocUtils;
|
||||
import org.eehouse.android.xw4.jni.CommsAddrRec.CommsConnType;
|
||||
import org.eehouse.android.xw4.jni.CurGameInfo.DeviceRole;
|
||||
|
||||
|
@ -259,7 +260,7 @@ public class GameUtils {
|
|||
String result = DBUtils.getName( context, rowid );
|
||||
if ( null == result || 0 == result.length() ) {
|
||||
int visID = DBUtils.getVisID( context, rowid );
|
||||
result = context.getString( R.string.game_fmt, visID );
|
||||
result = LocUtils.getString( context, R.string.game_fmt, visID );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue