Browse Source

Merge pull request #297 in DESIGN/design from ~JU/design:release/10.0 to release/10.0

* commit '33ecac4fa020e39e597495e9cd33b091ce353b60':
  REPORT-10225 【10.0冒烟】设计器界面变成英文的了
  REPORT-10225 【10.0冒烟】设计器界面变成英文的了
  无JIRA任务 backup
  REPORT-10215
research/10.0
ju 6 years ago
parent
commit
2fefb15f4a
  1. 12
      designer-base/src/main/java/com/fr/design/DesignerEnvManager.java

12
designer-base/src/main/java/com/fr/design/DesignerEnvManager.java

@ -1294,22 +1294,26 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
// 用于兼容10.0之前的版本
int value = Integer.parseInt(tmpVal);
switch (value) {
//原来0、1都是中文
case 0:
setLanguage(Locale.SIMPLIFIED_CHINESE);
break;
case 1:
setLanguage(Locale.US);
setLanguage(Locale.SIMPLIFIED_CHINESE);
break;
case 2:
setLanguage(Locale.JAPAN);
setLanguage(Locale.US);
break;
case 3:
setLanguage(Locale.TRADITIONAL_CHINESE);
setLanguage(Locale.JAPAN);
break;
case 4:
setLanguage(Locale.KOREA);
setLanguage(Locale.TRADITIONAL_CHINESE);
break;
case 5:
setLanguage(Locale.KOREA);
break;
case 6:
setLanguage(new Locale("pt", "PT"));
break;
default:

Loading…
Cancel
Save