forked from External/mage
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. (#4634).
This commit is contained in:
parent
03ebdc17d8
commit
b073ce1c42
147 changed files with 1419 additions and 1496 deletions
|
|
@ -988,7 +988,7 @@ public class CardView extends SimpleCardView {
|
|||
public String getColorText() {
|
||||
|
||||
String color = getColor().getDescription();
|
||||
return color.substring(0, 1).toUpperCase() + color.substring(1);
|
||||
return color.substring(0, 1).toUpperCase(Locale.ENGLISH) + color.substring(1);
|
||||
}
|
||||
|
||||
public String getTypeText() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue