删除国际化文件加载多余判断语句
This commit is contained in:
@@ -727,13 +727,11 @@ public class BaseController {
|
||||
try {
|
||||
String language = LocaleContextHolder.getLocale().getLanguage();
|
||||
if (language.equals("zh_cn") || language.equals("zh")) {
|
||||
if (language.equals("zh_cn") || language.equals("zh")) {
|
||||
msgProp=Configurations.getMsgPropZh();
|
||||
} else if (language.equals("ru")) {
|
||||
msgProp=Configurations.getMsgPropRu();
|
||||
} else {
|
||||
msgProp=Configurations.getMsgPropEn();
|
||||
}
|
||||
msgProp=Configurations.getMsgPropZh();
|
||||
} else if (language.equals("ru")) {
|
||||
msgProp=Configurations.getMsgPropRu();
|
||||
} else {
|
||||
msgProp=Configurations.getMsgPropEn();
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user