6.7.0 - Alpha13 - Fine tuning

This commit is contained in:
SuperMonster003
2025-12-25 17:54:30 +08:00
parent adc27e2c34
commit 4ed77a3085
10 changed files with 63 additions and 91 deletions

View File

@@ -55,7 +55,7 @@ public class Type {
if (lang != null) {
// At least keep valid language.
// zh-CN: 至少保留合法 language.
tmpLocale = new Locale(lang);
tmpLocale = Locale.forLanguageTag(lang);
} else {
tmpLocale = Locale.ROOT;
}