Commit 674d493c authored by Mygod's avatar Mygod

Refine #937

parent 17382a10
...@@ -146,7 +146,7 @@ class ShadowsocksApplication extends Application { ...@@ -146,7 +146,7 @@ class ShadowsocksApplication extends Application {
} }
} else { } else {
val newLocale = checkChineseLocale(config.locale) val newLocale = checkChineseLocale(config.locale)
if (newLocale != null && config.locale != newLocale) { if (newLocale != null) {
val newConfig = new Configuration(config) val newConfig = new Configuration(config)
newConfig.locale = newLocale newConfig.locale = newLocale
val res = getResources val res = getResources
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment