Merge branch 'Release_2_8_2_Branch_i18n' into Release_2_8_2_Branch
[jalview.git] / src / jalview / gui / TextColourChooser.java
index dc705b2..6fe7660 100644 (file)
@@ -68,9 +68,7 @@ public class TextColourChooser
     JPanel panel = new JPanel();
     bigpanel.add(panel, BorderLayout.CENTER);
     bigpanel.add(
-            new JLabel(
-                    "<html><i>Select a dark and light text colour, then set the threshold to"
-                            + "<br>switch between colours, based on background colour</i></html>"),
+            new JLabel(MessageManager.getString("label.select_dark_light_set_thereshold")),
             BorderLayout.NORTH);
     panel.add(col1);
     panel.add(slider);
@@ -81,7 +79,7 @@ public class TextColourChooser
       public void mousePressed(MouseEvent e)
       {
         Color col = JColorChooser.showDialog(bigpanel,
-                "Select Colour for Text", col1.getBackground());
+                MessageManager.getString("label.select_colour_for_text"), col1.getBackground());
         if (col != null)
         {
           colour1Changed(col);
@@ -95,7 +93,7 @@ public class TextColourChooser
       public void mousePressed(MouseEvent e)
       {
         Color col = JColorChooser.showDialog(bigpanel,
-                "Select Colour for Text", col2.getBackground());
+                       MessageManager.getString("label.select_colour_for_text"), col2.getBackground());
         if (col != null)
         {
           colour2Changed(col);
@@ -113,7 +111,7 @@ public class TextColourChooser
     });
 
     int reply = JOptionPane.showInternalOptionDialog(ap, bigpanel,
-            "Adjust Foreground Text Colour Threshold",
+            MessageManager.getString("label.adjunst_foreground_text_colour_thereshold"),
             JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE,
             null, null, null);