From 073600bea85b5d84204a1aa96d09b27b650688a9 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 30 Dec 2008 08:21:29 +0000 Subject: [PATCH] [ 2476678 ] Transaction document info not formatted using current locale --- base/src/org/compiere/model/GridTab.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/src/org/compiere/model/GridTab.java b/base/src/org/compiere/model/GridTab.java index cbc5aa9bf0..cfad4e466a 100644 --- a/base/src/org/compiere/model/GridTab.java +++ b/base/src/org/compiere/model/GridTab.java @@ -1492,7 +1492,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable MessageFormat mf = null; try { - mf = new MessageFormat(Msg.getMsg(Env.getAD_Language(m_vo.ctx), "InvoiceBatchSummary")); + mf = new MessageFormat(Msg.getMsg(Env.getAD_Language(m_vo.ctx), "InvoiceBatchSummary"), Env.getLanguage(m_vo.ctx).getLocale()); } catch (Exception e) { @@ -1575,7 +1575,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable MessageFormat mf = null; try { - mf = new MessageFormat(Msg.getMsg(Env.getAD_Language(m_vo.ctx), "OrderSummary")); + mf = new MessageFormat(Msg.getMsg(Env.getAD_Language(m_vo.ctx), "OrderSummary"), Env.getLanguage(m_vo.ctx).getLocale()); } catch (Exception e) { @@ -1646,7 +1646,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable MessageFormat mf = null; try { - mf = new MessageFormat(Msg.getMsg(Env.getAD_Language(m_vo.ctx), "ExpenseSummary")); + mf = new MessageFormat(Msg.getMsg(Env.getAD_Language(m_vo.ctx), "ExpenseSummary"), Env.getLanguage(m_vo.ctx).getLocale()); } catch (Exception e) {