删除国际化文件加载多余判断语句
This commit is contained in:
@@ -726,7 +726,6 @@ public class BaseController {
|
|||||||
Properties msgProp = new Properties();
|
Properties msgProp = new Properties();
|
||||||
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")) {
|
||||||
@@ -734,7 +733,6 @@ public class BaseController {
|
|||||||
} else {
|
} else {
|
||||||
msgProp=Configurations.getMsgPropEn();
|
msgProp=Configurations.getMsgPropEn();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
//msgProp = null;
|
//msgProp = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user