Project

General

Profile

« Previous | Next » 

Revision f611dc3e

Added by Leszek Koltunski over 2 years ago

Fix for a bug when in Turkey and Azerbaijan, the names of downloaded objects which contain the letter 'I' do not get transalted to upper case correctly.

View differences:

src/main/java/org/distorted/objects/RubikObject.java
20 20
package org.distorted.objects;
21 21

  
22 22
import java.io.InputStream;
23
import java.util.Locale;
23 24

  
24 25
import android.app.Activity;
25 26
import android.content.res.Resources;
......
90 91
    if( SHOW_DOWNLOADED_DEBUG ) android.util.Log.e("D", "new downloaded RubikObject "+object.shortName+" added");
91 92

  
92 93
    mLowerName     = object.shortName;
93
    mUpperName     = object.shortName.toUpperCase();
94
    mUpperName     = object.shortName.toUpperCase(Locale.ENGLISH);
94 95
    mNumScramble   = object.numScrambles;
95 96
    mObjectMinor   = object.objectMinor;
96 97
    mExtrasMinor   = object.extrasMinor;

Also available in: Unified diff