修改中英文翻译的后端问题

This commit is contained in:
高嵩
2022-10-13 11:59:48 +08:00
parent 7c724cc5e2
commit 6d2caec19f
4 changed files with 9 additions and 9 deletions
@@ -8,7 +8,7 @@ import org.apache.commons.lang3.StringUtils;
*/
public enum ReleaseConditionEnum {
PUBLISHED("已发布","published","Have published"),
PUBLISHED("已发布","published","Published"),
DRAFT("草稿","draft","Draft"),
;
@@ -385,9 +385,9 @@ public class ProblemKnowledgeBaseEOServiceImpl extends ServiceImpl<ProblemKnowle
}
if(StringUtils.isNotEmpty(fileText)){
sbEn.append("Accessory File content" + ":" + fileText + " ");
sbEn.append("Attachment" + ":" + fileText + " ");
}else {
sbEn.append("Accessory File content" + ":" + "-- ");
sbEn.append("Attachment" + ":" + "-- ");
}
}
}
@@ -7,8 +7,8 @@ package com.jero.modules.report.enums;
* @auth zhn
*/
public enum ExportStateEnum {
NOT_EXPORT("未导出","Not export","1"),
HAS_BEEN_EXPORT("已导出","Has been export","2");
NOT_EXPORT("未导出","Not exported","1"),
HAS_BEEN_EXPORT("已导出","Exported","2");
String name;
@@ -1136,7 +1136,7 @@ public class WordUtil {
setBlank(text, run, sb, itemText);
}
if("Usage".equals(fieldName)){
String itemText = "Constraint,Recommend,Installation Is Compliant";
String itemText = "Mandatory,Voluntary,Mandatory if fitted";
setBlank(text, run, sb, itemText);
}
}
@@ -1231,13 +1231,13 @@ public class WordUtil {
case "安装需符合":
blank = "";
break;
case "Constraint":
case "Mandatory":
blank = " ";
break;
case "Recommend":
case "Voluntary":
blank = " ";
break;
case "Installation Is Compliant":
case "Mandatory if fitted":
blank = "";
break;
default: