mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2024-12-21 07:00:22 +08:00
Use Locale.forLanguageTag (#2064)
This commit is contained in:
parent
5753c2993c
commit
a6c8867ec4
@ -58,12 +58,12 @@ public final class Locales {
|
||||
/**
|
||||
* Spanish
|
||||
*/
|
||||
public static final SupportedLocale ES = new SupportedLocale(new Locale("es"));
|
||||
public static final SupportedLocale ES = new SupportedLocale(Locale.forLanguageTag("es"));
|
||||
|
||||
/**
|
||||
* Russian
|
||||
*/
|
||||
public static final SupportedLocale RU = new SupportedLocale(new Locale("ru"));
|
||||
public static final SupportedLocale RU = new SupportedLocale(Locale.forLanguageTag("ru"));
|
||||
|
||||
/**
|
||||
* Japanese
|
||||
|
Loading…
Reference in New Issue
Block a user