IDEMPIERE-2238 Printformat header not translated (report)
This commit is contained in:
parent
8ff9b52d2c
commit
f1f732d7ae
|
@ -265,7 +265,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
|||
m_printFont = MPrintFont.get (format.getAD_PrintFont_ID());
|
||||
|
||||
// Print Context
|
||||
Env.setContext(m_printCtx, Page.CONTEXT_REPORTNAME, m_format.getName());
|
||||
Env.setContext(m_printCtx, Page.CONTEXT_REPORTNAME, m_format.get_Translation(MPrintFormat.COLUMNNAME_Name));
|
||||
Env.setContext(m_printCtx, Page.CONTEXT_HEADER, Env.getHeader(m_printCtx, 0));
|
||||
Env.setContext(m_printCtx, Env.LANGUAGE, m_format.getLanguage().getAD_Language());
|
||||
|
||||
|
|
|
@ -213,7 +213,8 @@ public class ZkReportViewer extends Window implements EventListener<Event>, ITab
|
|||
}
|
||||
m_isCanExport = MRole.getDefault().isCanExport(m_AD_Table_ID);
|
||||
|
||||
setTitle(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "Report") + ": " + m_reportEngine.getName()));
|
||||
setTitle(Util.cleanAmp(Msg.getMsg(Env.getCtx(), "Report") + ": " +
|
||||
m_reportEngine.getPrintFormat().get_Translation(MPrintFormat.COLUMNNAME_Name)));
|
||||
|
||||
addEventListener(ON_RENDER_REPORT_EVENT, this);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue