@@ -565,15 +565,15 @@ class RunnerPanel implements FocusListener, ActionListener {
565
565
toolbar. floatable = false
566
566
toolbar. border = new EmptyBorder (new Insets (2 , 2 , 2 , 2 )) // top, left, bottom, right
567
567
refreshButton = new ToolbarButton (UtplsqlResources . getIcon(" REFRESH_ICON" ))
568
- refreshButton. toolTipText = " Reset ordering and refresh "
568
+ refreshButton. toolTipText = UtplsqlResources . getString( " RUNNER_REFRESH_BUTTON " )
569
569
refreshButton. addActionListener(this )
570
570
toolbar. add(refreshButton)
571
571
rerunButton = new ToolbarButton (UtplsqlResources . getIcon(" RUN_ICON" ))
572
- rerunButton. toolTipText = " Rerun all tests "
572
+ rerunButton. toolTipText = UtplsqlResources . getString( " RUNNER_RERUN_TOOLTIP " )
573
573
rerunButton. addActionListener(this )
574
574
toolbar. add(rerunButton)
575
575
rerunWorksheetButton = new ToolbarButton (UtplsqlResources . getIcon(" RUN_WORKSHEET_ICON" ))
576
- rerunWorksheetButton. toolTipText = " Rerun all tests in a new worksheet "
576
+ rerunWorksheetButton. toolTipText = UtplsqlResources . getString( " RUNNER_RERUN_WORKSHEET_TOOLTIP " )
577
577
rerunWorksheetButton. addActionListener(this )
578
578
toolbar. add(rerunWorksheetButton)
579
579
toolbar. add(Box . createHorizontalGlue())
@@ -585,7 +585,7 @@ class RunnerPanel implements FocusListener, ActionListener {
585
585
runComboBox. addActionListener(this )
586
586
toolbar. add(runComboBox)
587
587
clearButton = new ToolbarButton (UtplsqlResources . getIcon(" CLEAR_ICON" ))
588
- clearButton. toolTipText = " Clear history "
588
+ clearButton. toolTipText = UtplsqlResources . getString( " RUNNER_CLEAR_HISTORY_BUTTON " )
589
589
clearButton. addActionListener(this )
590
590
toolbar. add(clearButton)
591
591
c. gridx = 0
@@ -725,10 +725,10 @@ class RunnerPanel implements FocusListener, ActionListener {
725
725
726
726
// Context menu for test overview
727
727
val testOverviewPopupMenu = new JPopupMenu
728
- testOverviewRunMenuItem = new JMenuItem (" Run test " , UtplsqlResources . getIcon(" RUN_ICON" ));
728
+ testOverviewRunMenuItem = new JMenuItem (UtplsqlResources . getString( " RUNNER_RUN_MENUITEM " ) , UtplsqlResources . getIcon(" RUN_ICON" ));
729
729
testOverviewRunMenuItem. addActionListener(this )
730
730
testOverviewPopupMenu. add(testOverviewRunMenuItem)
731
- testOverviewRunWorksheetMenuItem = new JMenuItem (" Run test in new worksheet " , UtplsqlResources . getIcon(" RUN_WORKSHEET_ICON" ));
731
+ testOverviewRunWorksheetMenuItem = new JMenuItem (UtplsqlResources . getString( " RUNNER_RUN_WORKSHEET_MENUITEM " ) , UtplsqlResources . getIcon(" RUN_WORKSHEET_ICON" ));
732
732
testOverviewRunWorksheetMenuItem. addActionListener(this )
733
733
testOverviewPopupMenu. add(testOverviewRunWorksheetMenuItem)
734
734
testOverviewPopupMenu. add(new JSeparator )
@@ -747,7 +747,7 @@ class RunnerPanel implements FocusListener, ActionListener {
747
747
val testInfoPanel = new ScrollablePanel
748
748
testInfoPanel. setLayout(new GridBagLayout ())
749
749
// - Owner
750
- val testOwnerLabel = new JLabel (" Owner " )
750
+ val testOwnerLabel = new JLabel (UtplsqlResources . getString( " RUNNER_OWNER_LABEL " ) )
751
751
c. gridx = 0
752
752
c. gridy = 0
753
753
c. gridwidth = 1
@@ -771,7 +771,7 @@ class RunnerPanel implements FocusListener, ActionListener {
771
771
c. weighty = 0
772
772
testInfoPanel. add(testOwnerTextField, c)
773
773
// - Package
774
- val testPackageLabel = new JLabel (" Package " )
774
+ val testPackageLabel = new JLabel (UtplsqlResources . getString( " RUNNER_PACKAGE_LABEL " ) )
775
775
c. gridx = 0
776
776
c. gridy = 1
777
777
c. gridwidth = 1
@@ -795,7 +795,7 @@ class RunnerPanel implements FocusListener, ActionListener {
795
795
c. weighty = 0
796
796
testInfoPanel. add(testPackageTextField, c)
797
797
// - Procedure
798
- val testProcedureLabel = new JLabel (" Procedure " )
798
+ val testProcedureLabel = new JLabel (UtplsqlResources . getString( " RUNNER_PROCEDURE_LABEL " ) )
799
799
c. gridx = 0
800
800
c. gridy = 2
801
801
c. gridwidth = 1
@@ -819,7 +819,7 @@ class RunnerPanel implements FocusListener, ActionListener {
819
819
c. weighty = 0
820
820
testInfoPanel. add(testProcedureTextField, c)
821
821
// - Description
822
- val testDescriptionLabel = new JLabel (UtplsqlResources . getString(" RUNNER_DESCRIPTION " ))
822
+ val testDescriptionLabel = new JLabel (UtplsqlResources . getString(" RUNNER_DESCRIPTION_LABEL " ))
823
823
c. gridx = 0
824
824
c. gridy = 3
825
825
c. gridwidth = 1
@@ -847,7 +847,7 @@ class RunnerPanel implements FocusListener, ActionListener {
847
847
c. weighty = 0
848
848
testInfoPanel. add(testDescriptionTextArea, c)
849
849
// - Suitepath (id)
850
- val testIdLabel = new JLabel (" Suitepath " )
850
+ val testIdLabel = new JLabel (UtplsqlResources . getString( " RUNNER_TEST_ID_COLUMN " ) )
851
851
c. gridx = 0
852
852
c. gridy = 4
853
853
c. gridwidth = 1
@@ -875,7 +875,7 @@ class RunnerPanel implements FocusListener, ActionListener {
875
875
c. weighty = 0
876
876
testInfoPanel. add(testIdTextArea, c)
877
877
// - Start
878
- val testStartLabel = new JLabel (" Start " )
878
+ val testStartLabel = new JLabel (UtplsqlResources . getString( " RUNNER_START_LABEL " ) )
879
879
c. gridx = 0
880
880
c. gridy = 5
881
881
c. gridwidth = 1
@@ -1012,11 +1012,11 @@ class RunnerPanel implements FocusListener, ActionListener {
1012
1012
1013
1013
// split pane with all tabs
1014
1014
testDetailTabbedPane = new JTabbedPane ()
1015
- testDetailTabbedPane. add(" Test " , testPropertiesScrollPane)
1016
- testDetailTabbedPane. add(" Failures " , failuresSplitPane)
1017
- testDetailTabbedPane. add(" Errors " , testErrorStackPanel)
1018
- testDetailTabbedPane. add(" Warnings " , testWarningsPanel)
1019
- testDetailTabbedPane. add(" Info " , testServerOutputPanel)
1015
+ testDetailTabbedPane. add(UtplsqlResources . getString( " RUNNER_TEST_TAB_LABEL " ) , testPropertiesScrollPane)
1016
+ testDetailTabbedPane. add(UtplsqlResources . getString( " RUNNER_FAILURES_TAB_LABEL " ) , failuresSplitPane)
1017
+ testDetailTabbedPane. add(UtplsqlResources . getString( " RUNNER_ERRORS_TAB_LABEL " ) , testErrorStackPanel)
1018
+ testDetailTabbedPane. add(UtplsqlResources . getString( " RUNNER_WARNINGS_TAB_LABEL " ) , testWarningsPanel)
1019
+ testDetailTabbedPane. add(UtplsqlResources . getString( " RUNNER_INFO_TAB_LABEL " ) , testServerOutputPanel)
1020
1020
val horizontalSplitPane = new JSplitPane (SwingConstants . HORIZONTAL , testOverviewScrollPane, testDetailTabbedPane)
1021
1021
horizontalSplitPane. resizeWeight = 0.5
1022
1022
c. gridx = 0
0 commit comments