File tree Expand file tree Collapse file tree
java/net/xzos/upgradeall/data Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import net.xzos.upgradeall.data.constants.DEFAULT_REPO_URL
1818import net.xzos.upgradeall.server.update.UpdateServiceBroadcastReceiver
1919import net.xzos.upgradeall.ui.home.MainActivity
2020import net.xzos.upgradeall.utils.file.SDK_CACHE_DIR
21- import java.util.*
21+ import java.util.Locale
2222
2323
2424object PreferencesMap {
@@ -123,7 +123,7 @@ object PreferencesMap {
123123 get() {
124124 return if (locale_custom) {
125125 val (language, country) = prefs.getString(LANGUAGE_LOCALE_CODE_KEY , null )
126- ?.split(" _" , " -" ) // 兼容旧版本错误的下划线语言代码格式
126+ ?.split(" _" , " -" )?.plus( " " ) // 兼容旧版本错误的下划线语言代码格式
127127 ? : return null
128128 Locale (language, country)
129129 } else {
Original file line number Diff line number Diff line change 7878 <item >
7979 tr-TR
8080 </item >
81+ <item >
82+ uk_UA
83+ </item >
8184 </string-array >
8285</resources >
You can’t perform that action at this time.
0 commit comments