Fix [2482968] - Translate FDialog
Similar translation problem found in WDocActionPanel https://sourceforge.net/tracker2/index.php?func=detail&aid=2482968&group_id=176962&atid=955896
This commit is contained in:
parent
1805c3e86d
commit
3a8dbbe620
|
@ -33,6 +33,7 @@ import org.compiere.process.DocumentEngine;
|
||||||
import org.compiere.util.CLogger;
|
import org.compiere.util.CLogger;
|
||||||
import org.compiere.util.DB;
|
import org.compiere.util.DB;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
|
import org.compiere.util.Msg;
|
||||||
import org.compiere.wf.MWFActivity;
|
import org.compiere.wf.MWFActivity;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zk.ui.event.EventListener;
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
|
@ -199,7 +200,7 @@ public class WDocActionPanel extends Window implements EventListener
|
||||||
{
|
{
|
||||||
lblDocAction = new Label();
|
lblDocAction = new Label();
|
||||||
lblDocAction.setId("lblDocAction");
|
lblDocAction.setId("lblDocAction");
|
||||||
lblDocAction.setValue("Document Action");
|
lblDocAction.setValue(Msg.translate(Env.getCtx(), "DocAction"));
|
||||||
|
|
||||||
label = new Label();
|
label = new Label();
|
||||||
label.setId("label");
|
label.setId("label");
|
||||||
|
@ -245,7 +246,7 @@ public class WDocActionPanel extends Window implements EventListener
|
||||||
rows.appendChild(rowConfirm);
|
rows.appendChild(rowConfirm);
|
||||||
|
|
||||||
grid.appendChild(rows);
|
grid.appendChild(rows);
|
||||||
this.setTitle("Document Action");
|
this.setTitle(Msg.translate(Env.getCtx(), "DocAction"));
|
||||||
this.setWidth("410px");
|
this.setWidth("410px");
|
||||||
this.setBorder("normal");
|
this.setBorder("normal");
|
||||||
this.appendChild(grid);
|
this.appendChild(grid);
|
||||||
|
|
Loading…
Reference in New Issue