mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-18 00:25:32 +01:00
Set default currency-symbol-format-locale to US locale.
This commit is contained in:
parent
1c009e1ebc
commit
5187be5d02
@ -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 New Issue
Block a user