From 1c21d4122e78b1a96bded8b6109599e077ea8f54 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 8 Mar 2011 11:51:03 -0500 Subject: [PATCH] minor - translate BPartner message on two zk forms --- .../WEB-INF/src/org/adempiere/webui/apps/form/WInOutGen.java | 2 +- .../src/org/adempiere/webui/apps/form/WInvoiceGen.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WInOutGen.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WInOutGen.java index 004ff0c35f..eddc179e63 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WInOutGen.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WInOutGen.java @@ -96,7 +96,7 @@ public class WInOutGen extends InOutGen implements IFormController, EventListene */ void zkInit() throws Exception { - lBPartner.setText("BPartner"); + lBPartner.setText(Msg.translate(Env.getCtx(), "C_BPartner_ID")); Row row = form.getParameterPanel().newRows().newRow(); row.appendChild(lWarehouse.rightAlign()); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WInvoiceGen.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WInvoiceGen.java index ccc2cc6afb..dce120eef3 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WInvoiceGen.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WInvoiceGen.java @@ -50,7 +50,7 @@ public class WInvoiceGen extends InvoiceGen implements IFormController, EventLis private WGenForm form; /** Logger */ - private static CLogger log = CLogger.getCLogger(WInOutGen.class); + private static CLogger log = CLogger.getCLogger(WInvoiceGen.class); // private Label lOrg = new Label(); private WTableDirEditor fOrg; @@ -96,7 +96,7 @@ public class WInvoiceGen extends InvoiceGen implements IFormController, EventLis void zkInit() throws Exception { 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.appendChild(lOrg.rightAlign());