minor - translate BPartner message on two zk forms

This commit is contained in:
Carlos Ruiz 2011-03-08 11:51:03 -05:00
parent 08c2ea68cf
commit 1c21d4122e
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ public class WInOutGen extends InOutGen implements IFormController, EventListene
*/ */
void zkInit() throws Exception void zkInit() throws Exception
{ {
lBPartner.setText("BPartner"); lBPartner.setText(Msg.translate(Env.getCtx(), "C_BPartner_ID"));
Row row = form.getParameterPanel().newRows().newRow(); Row row = form.getParameterPanel().newRows().newRow();
row.appendChild(lWarehouse.rightAlign()); row.appendChild(lWarehouse.rightAlign());

View File

@ -50,7 +50,7 @@ public class WInvoiceGen extends InvoiceGen implements IFormController, EventLis
private WGenForm form; private WGenForm form;
/** Logger */ /** Logger */
private static CLogger log = CLogger.getCLogger(WInOutGen.class); private static CLogger log = CLogger.getCLogger(WInvoiceGen.class);
// //
private Label lOrg = new Label(); private Label lOrg = new Label();
private WTableDirEditor fOrg; private WTableDirEditor fOrg;
@ -96,7 +96,7 @@ public class WInvoiceGen extends InvoiceGen implements IFormController, EventLis
void zkInit() throws Exception void zkInit() throws Exception
{ {
lOrg.setText(Msg.translate(Env.getCtx(), "AD_Org_ID")); lOrg.setText(Msg.translate(Env.getCtx(), "AD_Org_ID"));
lBPartner.setText("BPartner"); lBPartner.setText(Msg.translate(Env.getCtx(), "C_BPartner_ID"));
Row row = form.getParameterPanel().newRows().newRow(); Row row = form.getParameterPanel().newRows().newRow();
row.appendChild(lOrg.rightAlign()); row.appendChild(lOrg.rightAlign());