From c2f29b5752f7a3302edb0a322449faca09170960 Mon Sep 17 00:00:00 2001 From: linbangquan <1437892690@qq.com> Date: Tue, 19 Dec 2023 19:53:43 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E7=AD=96=E7=95=A5=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1049841239556096]通知策略翻译 http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1049841239556096 --- .../constvalue/ChangeProcessStepHandlerType.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/neatlogic/framework/change/constvalue/ChangeProcessStepHandlerType.java b/src/main/java/neatlogic/framework/change/constvalue/ChangeProcessStepHandlerType.java index 2933a7b..e7797b4 100644 --- a/src/main/java/neatlogic/framework/change/constvalue/ChangeProcessStepHandlerType.java +++ b/src/main/java/neatlogic/framework/change/constvalue/ChangeProcessStepHandlerType.java @@ -1,7 +1,7 @@ package neatlogic.framework.change.constvalue; import neatlogic.framework.process.stephandler.core.IProcessStepHandlerType; -import neatlogic.framework.util.I18n; +import neatlogic.framework.util.$; /** * @Title: ChangeProcessStepHandlerType @@ -24,15 +24,15 @@ See the License for the specific language governing permissions and limitations under the License. **/ public enum ChangeProcessStepHandlerType implements IProcessStepHandlerType { - CHANGECREATE("changecreate", "process", new I18n("变更创建")), - CHANGEHANDLE("changehandle", "process", new I18n("变更处理")) + CHANGECREATE("changecreate", "process", "term.change.changecreate"), + CHANGEHANDLE("changehandle", "process", "term.change.changehandle") ; private String handler; - private I18n name; + private String name; private String type; - ChangeProcessStepHandlerType(String handler, String type, I18n name) { + ChangeProcessStepHandlerType(String handler, String type, String name) { this.handler = handler; this.name = name; this.type = type; @@ -45,7 +45,7 @@ public enum ChangeProcessStepHandlerType implements IProcessStepHandlerType { @Override public String getName() { - return name.toString(); + return $.t(name); } @Override -- Gitee