IDEMPIERE-577 Message not translated at the end of processes / relates to IDEMPIERE-370

This commit is contained in:
Carlos Ruiz 2013-01-23 09:48:00 -08:00
parent f60692dd6d
commit 1a73d27df8
1 changed files with 3 additions and 1 deletions

View File

@ -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<Event> {
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"));