From e600b69993e5affaa77f1862306972c24e15093f Mon Sep 17 00:00:00 2001 From: linbangquan <1437892690@qq.com> Date: Tue, 19 Dec 2023 19:56:46 +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 --- .../event/constvalue/EventProcessStepHandlerType.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/neatlogic/framework/event/constvalue/EventProcessStepHandlerType.java b/src/main/java/neatlogic/framework/event/constvalue/EventProcessStepHandlerType.java index 794634e..1e51b26 100755 --- a/src/main/java/neatlogic/framework/event/constvalue/EventProcessStepHandlerType.java +++ b/src/main/java/neatlogic/framework/event/constvalue/EventProcessStepHandlerType.java @@ -17,15 +17,15 @@ limitations under the License. package neatlogic.framework.event.constvalue; import neatlogic.framework.process.stephandler.core.IProcessStepHandlerType; -import neatlogic.framework.util.I18n; +import neatlogic.framework.util.$; public enum EventProcessStepHandlerType implements IProcessStepHandlerType { - EVENT("event", "process", new I18n("事件")); + EVENT("event", "process", "common.event"); private String handler; - private I18n name; + private String name; private String type; - EventProcessStepHandlerType(String handler, String type, I18n name) { + EventProcessStepHandlerType(String handler, String type, String name) { this.handler = handler; this.name = name; this.type = type; @@ -38,7 +38,7 @@ public enum EventProcessStepHandlerType implements IProcessStepHandlerType { @Override public String getName() { - return name.toString(); + return $.t(name); } @Override -- Gitee