From 1a73d27df862fa770c2df77fd652bbd3a6b22969 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 23 Jan 2013 09:48:00 -0800 Subject: [PATCH] IDEMPIERE-577 Message not translated at the end of processes / relates to IDEMPIERE-370 --- .../src/org/adempiere/webui/component/ProcessInfoDialog.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ProcessInfoDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ProcessInfoDialog.java index a64de9d32a..dd4000b014 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ProcessInfoDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ProcessInfoDialog.java @@ -17,6 +17,8 @@ package org.adempiere.webui.component; import org.adempiere.webui.LayoutUtils; import org.adempiere.webui.apps.AEnv; import org.compiere.process.ProcessInfoLog; +import org.compiere.util.Env; +import org.compiere.util.Msg; import org.zkoss.zhtml.Text; import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.EventListener; @@ -83,7 +85,7 @@ public class ProcessInfoDialog extends Window implements EventListener { recordLink.addEventListener(Events.ON_CLICK, this); pnlMessage.appendChild(recordLink); } else { - Text recordText = new Text(m_logs[loopCtr].getP_Msg()); + Text recordText = new Text(Msg.parseTranslation(Env.getCtx(), m_logs[loopCtr].getP_Msg())); pnlMessage.appendChild(recordText); } pnlMessage.appendChild(new Separator("horizontal"));