From c28a3a9515e50f3e7028a882867cda6f27c577eb Mon Sep 17 00:00:00 2001 From: deathmeat Date: Wed, 7 Mar 2007 08:32:37 +0000 Subject: [PATCH] Removed usage of harcoded messages --- .../src/org/compiere/report/JasperReportViewer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/JasperReports/src/org/compiere/report/JasperReportViewer.java b/JasperReports/src/org/compiere/report/JasperReportViewer.java index a594b352dc..3ff62e9d4b 100644 --- a/JasperReports/src/org/compiere/report/JasperReportViewer.java +++ b/JasperReports/src/org/compiere/report/JasperReportViewer.java @@ -40,8 +40,8 @@ public class JasperReportViewer extends JRViewer { tlbToolBar.add(new JSeparator(SwingConstants.VERTICAL)); JButton btnSendByEmail = new JButton(); - btnSendByEmail.setToolTipText("Send by Email"); - btnSendByEmail.setText("Email"); + btnSendByEmail.setToolTipText(Msg.getMsg(Env.getCtx(), "SendMail")); + btnSendByEmail.setText(Msg.getMsg(Env.getCtx(), "SendMail")); btnSendByEmail.setPreferredSize(new java.awt.Dimension(85, 23)); btnSendByEmail.setMaximumSize(new java.awt.Dimension(85, 23)); btnSendByEmail.setMinimumSize(new java.awt.Dimension(85, 23)); @@ -50,8 +50,8 @@ public class JasperReportViewer extends JRViewer { tlbToolBar.add(new JSeparator(SwingConstants.VERTICAL)); JButton btnExport = new JButton(); - btnExport.setToolTipText("Export to"); - btnExport.setText("Export"); + btnExport.setToolTipText(Msg.getMsg(Env.getCtx(), "SendMail")); + btnExport.setText(Msg.getMsg(Env.getCtx(), "Export")); btnExport.setPreferredSize(new java.awt.Dimension(85, 23)); btnExport.setMaximumSize(new java.awt.Dimension(85, 23)); btnExport.setMinimumSize(new java.awt.Dimension(85, 23));