mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-11-19 09:50:01 +00:00
Set default currency-symbol-format-locale to US locale.
This commit is contained in:
parent
1c009e1ebc
commit
5187be5d02
1 changed files with 1 additions and 1 deletions
|
@ -1298,7 +1298,7 @@ public class Settings implements net.ess3.api.ISettings {
|
||||||
decimalFormatSymbols = DecimalFormatSymbols.getInstance(Locale.forLanguageTag(symbolLocaleString));
|
decimalFormatSymbols = DecimalFormatSymbols.getInstance(Locale.forLanguageTag(symbolLocaleString));
|
||||||
} else {
|
} else {
|
||||||
// Fallback to the JVM's default locale
|
// Fallback to the JVM's default locale
|
||||||
decimalFormatSymbols = DecimalFormatSymbols.getInstance();
|
decimalFormatSymbols = DecimalFormatSymbols.getInstance(Locale.US);
|
||||||
}
|
}
|
||||||
|
|
||||||
DecimalFormat currencyFormat = new DecimalFormat(currencyFormatString, decimalFormatSymbols);
|
DecimalFormat currencyFormat = new DecimalFormat(currencyFormatString, decimalFormatSymbols);
|
||||||
|
|
Loading…
Reference in a new issue