jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1440040 - in /jmeter/trunk/src: components/org/apache/jmeter/visualizers/ protocol/http/org/apache/jmeter/protocol/http/gui/ protocol/jms/org/apache/jmeter/protocol/jms/control/gui/ protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui...
Date Tue, 29 Jan 2013 18:14:22 GMT
Author: sebb
Date: Tue Jan 29 18:14:21 2013
New Revision: 1440040

URL: http://svn.apache.org/viewvc?rev=1440040&view=rev
Log:
Add missing NON-NLS markers for message property key name strings

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/MailerVisualizer.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CacheManagerGui.java
    jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java
    jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SecuritySettingsPanel.java
    jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java
    jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.java
    jmeter/trunk/src/reports/org/apache/jmeter/control/gui/ReportGui.java
    jmeter/trunk/src/reports/org/apache/jmeter/gui/util/ReportMenuBar.java
    jmeter/trunk/src/reports/org/apache/jmeter/report/gui/BarChartGui.java
    jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/AbstractAction.java
    jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportClose.java
    jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportExitCommand.java
    jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportStart.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java Tue Jan 29 18:14:21
2013
@@ -71,7 +71,7 @@ public class AxisGraph extends JPanel {
     protected String[] xAxisLabels;
     protected int width, height;
     
-    protected String[] legendLabels = { JMeterUtils.getResString("aggregate_graph_legend")
};
+    protected String[] legendLabels = { JMeterUtils.getResString("aggregate_graph_legend")
}; // $NON-NLS-1$
     
     protected int maxYAxisScale;
 

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/MailerVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/MailerVisualizer.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/MailerVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/MailerVisualizer.java Tue Jan
29 18:14:21 2013
@@ -280,7 +280,7 @@ public class MailerVisualizer extends Ab
         authPane.add(smtpPasswordPane, BorderLayout.EAST);
 
         JPanel authTypePane = new JPanel(new BorderLayout());
-        authTypePane.add(new JLabel(JMeterUtils.getResString("mailer_connection_security")),
BorderLayout.WEST);
+        authTypePane.add(new JLabel(JMeterUtils.getResString("mailer_connection_security")),
BorderLayout.WEST); // $NON-NLS-1$
         authTypeCombo = new JComboBox(new Object[] { 
                 MailerModel.MailAuthType.NONE.toString(), 
                 MailerModel.MailAuthType.SSL.toString(),
@@ -435,7 +435,8 @@ public class MailerVisualizer extends Ab
             type = JOptionPane.INFORMATION_MESSAGE;
         }
         JOptionPane.showMessageDialog(null, message, isError ? 
-                JMeterUtils.getResString("mailer_msg_title_error") : JMeterUtils.getResString("mailer_msg_title_information"),
type);
+                JMeterUtils.getResString("mailer_msg_title_error") :  // $NON-NLS-1$
+                    JMeterUtils.getResString("mailer_msg_title_information"), type); // $NON-NLS-1$
     }
 
     /**

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphChart.java Tue
Jan 29 18:14:21 2013
@@ -74,7 +74,7 @@ public class RespTimeGraphChart extends 
     
     protected int height;
 
-    protected String[] legendLabels = { JMeterUtils.getResString("aggregate_graph_legend")
};
+    protected String[] legendLabels = { JMeterUtils.getResString("aggregate_graph_legend")
}; // $NON-NLS-1$
 
     protected int maxYAxisScale;
 

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
(original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java
Tue Jan 29 18:14:21 2013
@@ -643,7 +643,7 @@ public class RespTimeGraphVisualizer ext
         titleFontSizeList.setSelectedItem(StatGraphProperties.fontSize[6]); // default: 16
         titleStylePane.add(GuiUtils.createLabelCombo(JMeterUtils.getResString("aggregate_graph_style"),
//$NON-NLS-1$
                 titleFontStyleList));
-        titleFontStyleList.setSelectedItem(JMeterUtils.getResString("fontstyle.bold")); //
default: bold
+        titleFontStyleList.setSelectedItem(JMeterUtils.getResString("fontstyle.bold")); 
// $NON-NLS-1$ // default: bold
 
         JPanel titlePane = new JPanel(new BorderLayout());
         titlePane.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java Tue
Jan 29 18:14:21 2013
@@ -114,7 +114,7 @@ public class StatGraphVisualizer extends
     private final String TOTAL_ROW_LABEL =
         JMeterUtils.getResString("aggregate_report_total_label");       //$NON-NLS-1$
 
-    private Font FONT_SMALL = new Font("SansSerif", Font.PLAIN, 10);
+    private Font FONT_SMALL = new Font("SansSerif", Font.PLAIN, 10); // $NON-NLS-1$
 
     private JTable myJTable;
 
@@ -774,7 +774,7 @@ public class StatGraphVisualizer extends
         titleFontSizeList.setSelectedItem(StatGraphProperties.fontSize[6]); // default: 16
         titleStylePane.add(GuiUtils.createLabelCombo(JMeterUtils.getResString("aggregate_graph_style"),
//$NON-NLS-1$
                 titleFontStyleList));
-        titleFontStyleList.setSelectedItem(JMeterUtils.getResString("fontstyle.bold")); //
default: bold
+        titleFontStyleList.setSelectedItem(JMeterUtils.getResString("fontstyle.bold")); 
// $NON-NLS-1$ // default: bold
 
         JPanel titlePane = new JPanel(new BorderLayout());
         titlePane.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
@@ -860,7 +860,7 @@ public class StatGraphVisualizer extends
 
         legendPanel.add(GuiUtils.createLabelCombo(JMeterUtils.getResString("aggregate_graph_legend_placement"),
//$NON-NLS-1$
                 legendPlacementList));
-        legendPlacementList.setSelectedItem(JMeterUtils.getResString("aggregate_graph_legend.placement.bottom"));
// default: bottom
+        legendPlacementList.setSelectedItem(JMeterUtils.getResString("aggregate_graph_legend.placement.bottom"));
 // $NON-NLS-1$ // default: bottom
         legendPanel.add(GuiUtils.createLabelCombo(JMeterUtils.getResString("aggregate_graph_font"),
//$NON-NLS-1$
                 fontNameList));
         fontNameList.setSelectedIndex(0); // default: sans serif
@@ -869,7 +869,7 @@ public class StatGraphVisualizer extends
         fontSizeList.setSelectedItem(StatGraphProperties.fontSize[2]); // default: 10
         legendPanel.add(GuiUtils.createLabelCombo(JMeterUtils.getResString("aggregate_graph_style"),
//$NON-NLS-1$
                 fontStyleList));
-        fontStyleList.setSelectedItem(JMeterUtils.getResString("fontstyle.normal")); // default:
normal
+        fontStyleList.setSelectedItem(JMeterUtils.getResString("fontstyle.normal"));  //
$NON-NLS-1$ // default: normal
 
         return legendPanel;
     }

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CacheManagerGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CacheManagerGui.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CacheManagerGui.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CacheManagerGui.java
Tue Jan 29 18:14:21 2013
@@ -115,8 +115,8 @@ public class CacheManagerGui extends Abs
         setLayout(new BorderLayout(0, 5));
         setBorder(makeBorder());
 
-        clearEachIteration = new JCheckBox(JMeterUtils.getResString("clear_cache_per_iter"),
false);
-        useExpires = new JCheckBox(JMeterUtils.getResString("use_expires"), false);
+        clearEachIteration = new JCheckBox(JMeterUtils.getResString("clear_cache_per_iter"),
false); // $NON-NLS-1$
+        useExpires = new JCheckBox(JMeterUtils.getResString("use_expires"), false); // $NON-NLS-1$
 
         JPanel northPanel = new JPanel();
         northPanel.setLayout(new VerticalLayout(5, VerticalLayout.BOTH));

Modified: jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java
(original)
+++ jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.java
Tue Jan 29 18:14:21 2013
@@ -101,7 +101,7 @@ public class JMSPublisherGui extends Abs
 
     private final FilePanel randomFile = new FilePanel(JMeterUtils.getResString("jms_random_file"),
ALL_FILES); //$NON-NLS-1$
 
-    private final JLabeledTextArea textMessage = new JLabeledTextArea(JMeterUtils.getResString("jms_text_area"));
+    private final JLabeledTextArea textMessage = new JLabeledTextArea(JMeterUtils.getResString("jms_text_area"));
// $NON-NLS-1$
 
     private final JLabeledRadioI18N msgChoice = new JLabeledRadioI18N("jms_message_type",
MSGTYPES_ITEMS, TEXT_MSG_RSC); //$NON-NLS-1$
     

Modified: jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SecuritySettingsPanel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SecuritySettingsPanel.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SecuritySettingsPanel.java
(original)
+++ jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SecuritySettingsPanel.java
Tue Jan 29 18:14:21 2013
@@ -185,12 +185,12 @@ public class SecuritySettingsPanel exten
         gridBagConstraints.gridx = 0;
         gridBagConstraints.gridy = 2;
         gridBagConstraints.gridwidth = 1;
-        jlTrustStoreToUse.setToolTipText(JMeterUtils.getResString("smtp_truststore_tooltip"));
+        jlTrustStoreToUse.setToolTipText(JMeterUtils.getResString("smtp_truststore_tooltip"));
// $NON-NLS-1$
         this.add(jlTrustStoreToUse, gridBagConstraints);
 
         gridBagConstraints.gridx = 1;
         gridBagConstraints.gridy = 2;
-        tfTrustStoreToUse.setToolTipText(JMeterUtils.getResString("smtp_truststore_tooltip"));
+        tfTrustStoreToUse.setToolTipText(JMeterUtils.getResString("smtp_truststore_tooltip"));
// $NON-NLS-1$
         this.add(tfTrustStoreToUse, gridBagConstraints);
     }
 

Modified: jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java
(original)
+++ jmeter/trunk/src/protocol/mail/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.java
Tue Jan 29 18:14:21 2013
@@ -754,15 +754,15 @@ public class SmtpPanel extends JPanel {
          * Add the header panel
          */
 
-        addHeaderFieldButton = new JButton(JMeterUtils.getResString("smtp_header_add"));
+        addHeaderFieldButton = new JButton(JMeterUtils.getResString("smtp_header_add"));
// $NON-NLS-1$
         addHeaderFieldButton.addActionListener(new ActionListener() {
             @Override
             public void actionPerformed(ActionEvent evt) {
                 addHeaderActionPerformed(evt);
             }
         });
-        headerFieldName = new JLabel(JMeterUtils.getResString("smtp_header_name"));
-        headerFieldValue = new JLabel(JMeterUtils.getResString("smtp_header_value"));
+        headerFieldName = new JLabel(JMeterUtils.getResString("smtp_header_name")); // $NON-NLS-1$
+        headerFieldValue = new JLabel(JMeterUtils.getResString("smtp_header_value")); //
$NON-NLS-1$
         headerFieldsPanel = new JPanel(new GridBagLayout());
 
         headerFieldName.setVisible(false);
@@ -1037,7 +1037,7 @@ public class SmtpPanel extends JPanel {
         }
         JTextField nameTF = new JTextField();
         JTextField valueTF = new JTextField();
-        JButton removeButton = new JButton(JMeterUtils.getResString("smtp_header_remove"));
+        JButton removeButton = new JButton(JMeterUtils.getResString("smtp_header_remove"));
// $NON-NLS-1$
         headerFields.put(nameTF, valueTF);
         removeButtons.put(removeButton, nameTF);
 

Modified: jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.java
(original)
+++ jmeter/trunk/src/protocol/tcp/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.java
Tue Jan 29 18:14:21 2013
@@ -260,7 +260,7 @@ public class TCPConfigGui extends Abstra
         }
 
         VerticalPanel mainPanel = new VerticalPanel();
-        classname = new JLabeledTextField(JMeterUtils.getResString("tcp_classname"));
+        classname = new JLabeledTextField(JMeterUtils.getResString("tcp_classname")); //
$NON-NLS-1$
         mainPanel.add(classname);
         mainPanel.add(serverPanel);
         

Modified: jmeter/trunk/src/reports/org/apache/jmeter/control/gui/ReportGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/control/gui/ReportGui.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/control/gui/ReportGui.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/control/gui/ReportGui.java Tue Jan 29 18:14:21
2013
@@ -74,7 +74,7 @@ public class ReportGui extends AbstractR
     @Override
     public JPopupMenu createPopupMenu() {
         JPopupMenu pop = new JPopupMenu();
-        JMenu addMenu = new JMenu(JMeterUtils.getResString("Add"));
+        JMenu addMenu = new JMenu(JMeterUtils.getResString("add")); // $NON-NLS-1$
         addMenu.add(ReportMenuFactory.makeMenuItem(new ReportPageGui().getStaticLabel(),
                 ReportPageGui.class.getName(),
                 "Add")); // $NON-NLS-1$

Modified: jmeter/trunk/src/reports/org/apache/jmeter/gui/util/ReportMenuBar.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/gui/util/ReportMenuBar.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/gui/util/ReportMenuBar.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/gui/util/ReportMenuBar.java Tue Jan 29 18:14:21
2013
@@ -212,7 +212,7 @@ public class ReportMenuBar extends JMenu
 
     private void makeHelpMenu() {
         // HELP MENU
-        helpMenu = new JMenu(JMeterUtils.getResString("help"));
+        helpMenu = new JMenu(JMeterUtils.getResString("help")); // $NON-NLS-1$
         helpMenu.setMnemonic('H');
         JMenuItem contextHelp = new JMenuItem(JMeterUtils.getResString("help"), 'H'); //
$NON-NLS-1$
         contextHelp.setActionCommand("help");
@@ -280,7 +280,7 @@ public class ReportMenuBar extends JMenu
         run_start.setAccelerator(KeyStrokes.ACTION_START);
         run_start.addActionListener(ReportActionRouter.getInstance());
         run_start.setActionCommand(ACTION_START);
-        run_stop = new JMenuItem(JMeterUtils.getResString("stop"), 'T');
+        run_stop = new JMenuItem(JMeterUtils.getResString("stop"), 'T'); // $NON-NLS-1$
         run_stop.setAccelerator(KeyStrokes.ACTION_STOP);
         run_stop.setEnabled(false);
         run_stop.addActionListener(ReportActionRouter.getInstance());

Modified: jmeter/trunk/src/reports/org/apache/jmeter/report/gui/BarChartGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/report/gui/BarChartGui.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/report/gui/BarChartGui.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/report/gui/BarChartGui.java Tue Jan 29 18:14:21
2013
@@ -87,7 +87,7 @@ public class BarChartGui extends Abstrac
         xAxisLabel.setBackground(Color.white);
         yAxisLabel.setBackground(Color.white);
 
-        JLabel xLabel = new JLabel(JMeterUtils.getResString("report_chart_x_axis"));
+        JLabel xLabel = new JLabel(JMeterUtils.getResString("report_chart_x_axis")); // $NON-NLS-1$
         HorizontalPanel xpanel = new HorizontalPanel(Color.white); // $NON-NLS-1$
         xLabel.setBorder(new EmptyBorder(5,2,5,2));
         xItems.setBackground(Color.white);

Modified: jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/AbstractAction.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/AbstractAction.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/AbstractAction.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/AbstractAction.java Tue Jan
29 18:14:21 2013
@@ -56,7 +56,7 @@ public abstract class AbstractAction imp
         if (ReportGuiPackage.getInstance().getReportPlanFile() == null) {
             if (JOptionPane.showConfirmDialog(ReportGuiPackage.getInstance().getMainFrame(),
                     JMeterUtils.getResString("should_save"),  // $NON-NLS-1$ // $NON-NLS-2$

-                    JMeterUtils.getResString("warning"), JOptionPane.YES_NO_OPTION,
+                    JMeterUtils.getResString("warning"), JOptionPane.YES_NO_OPTION, // $NON-NLS-1$
                     JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION) {
                 ReportActionRouter.getInstance().doActionNow(new ActionEvent(e.getSource(),
e.getID(), ReportSave.SAVE));
             }

Modified: jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportClose.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportClose.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportClose.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportClose.java Tue Jan
29 18:14:21 2013
@@ -72,8 +72,8 @@ public class ReportClose implements Comm
         if (guiPackage.isDirty()) {
             if (JOptionPane.showConfirmDialog(ReportGuiPackage.getInstance()
                     .getMainFrame(), JMeterUtils
-                    .getResString("cancel_new_to_save"), JMeterUtils
-                    .getResString("Save?"), JOptionPane.YES_NO_OPTION,
+                    .getResString("cancel_new_to_save"), JMeterUtils // $NON-NLS-1$
+                    .getResString("Save?"), JOptionPane.YES_NO_OPTION, // $NON-NLS-1$
                     JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION) {
                 ReportActionRouter.getInstance().doActionNow(
                         new ActionEvent(e.getSource(), e.getID(), ActionNames.SAVE));

Modified: jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportExitCommand.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportExitCommand.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportExitCommand.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportExitCommand.java Tue
Jan 29 18:14:21 2013
@@ -68,9 +68,10 @@ public class ReportExitCommand implement
                         ReportCheckDirty.CHECK_DIRTY));
         if (ReportGuiPackage.getInstance().isDirty()) {
             int chosenOption = JOptionPane.showConfirmDialog(ReportGuiPackage
-                    .getInstance().getMainFrame(), JMeterUtils
-                    .getResString("cancel_exit_to_save"), JMeterUtils
-                    .getResString("Save?"), JOptionPane.YES_NO_CANCEL_OPTION,
+                    .getInstance().getMainFrame(), 
+                    JMeterUtils.getResString("cancel_exit_to_save"),  // $NON-NLS-1$ 
+                    JMeterUtils.getResString("Save?"),  // $NON-NLS-1$ 
+                    JOptionPane.YES_NO_CANCEL_OPTION,
                     JOptionPane.QUESTION_MESSAGE);
             if (chosenOption == JOptionPane.NO_OPTION) {
                 System.exit(0);

Modified: jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportStart.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportStart.java?rev=1440040&r1=1440039&r2=1440040&view=diff
==============================================================================
--- jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportStart.java (original)
+++ jmeter/trunk/src/reports/org/apache/jmeter/report/gui/action/ReportStart.java Tue Jan
29 18:14:21 2013
@@ -96,7 +96,7 @@ public class ReportStart extends Abstrac
             engine.runTest();
         } catch (JMeterEngineException e) {
             JOptionPane.showMessageDialog(gui.getMainFrame(), e.getMessage(), JMeterUtils
-                    .getResString("Error Occurred"), JOptionPane.ERROR_MESSAGE);
+                    .getResString("Error Occurred"), JOptionPane.ERROR_MESSAGE);  // $NON-NLS-1$
         }
         log.debug("test plan after cloning and running test is running version: "
                 + ((TestPlan) testTree.getArray()[0]).isRunningVersion());



Mime
View raw message