Removed usage of harcoded messages
This commit is contained in:
parent
81a1ffa84f
commit
c28a3a9515
|
@ -40,8 +40,8 @@ public class JasperReportViewer extends JRViewer {
|
||||||
|
|
||||||
tlbToolBar.add(new JSeparator(SwingConstants.VERTICAL));
|
tlbToolBar.add(new JSeparator(SwingConstants.VERTICAL));
|
||||||
JButton btnSendByEmail = new JButton();
|
JButton btnSendByEmail = new JButton();
|
||||||
btnSendByEmail.setToolTipText("Send by Email");
|
btnSendByEmail.setToolTipText(Msg.getMsg(Env.getCtx(), "SendMail"));
|
||||||
btnSendByEmail.setText("Email");
|
btnSendByEmail.setText(Msg.getMsg(Env.getCtx(), "SendMail"));
|
||||||
btnSendByEmail.setPreferredSize(new java.awt.Dimension(85, 23));
|
btnSendByEmail.setPreferredSize(new java.awt.Dimension(85, 23));
|
||||||
btnSendByEmail.setMaximumSize(new java.awt.Dimension(85, 23));
|
btnSendByEmail.setMaximumSize(new java.awt.Dimension(85, 23));
|
||||||
btnSendByEmail.setMinimumSize(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));
|
tlbToolBar.add(new JSeparator(SwingConstants.VERTICAL));
|
||||||
|
|
||||||
JButton btnExport = new JButton();
|
JButton btnExport = new JButton();
|
||||||
btnExport.setToolTipText("Export to");
|
btnExport.setToolTipText(Msg.getMsg(Env.getCtx(), "SendMail"));
|
||||||
btnExport.setText("Export");
|
btnExport.setText(Msg.getMsg(Env.getCtx(), "Export"));
|
||||||
btnExport.setPreferredSize(new java.awt.Dimension(85, 23));
|
btnExport.setPreferredSize(new java.awt.Dimension(85, 23));
|
||||||
btnExport.setMaximumSize(new java.awt.Dimension(85, 23));
|
btnExport.setMaximumSize(new java.awt.Dimension(85, 23));
|
||||||
btnExport.setMinimumSize(new java.awt.Dimension(85, 23));
|
btnExport.setMinimumSize(new java.awt.Dimension(85, 23));
|
||||||
|
|
Loading…
Reference in New Issue