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