JAL-2717 corrected i18n of colour scheme names
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 21 Aug 2018 12:59:37 +0000 (13:59 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Tue, 21 Aug 2018 12:59:37 +0000 (13:59 +0100)
src/jalview/gui/ColourMenuHelper.java

index 8f0b88c..9479ea6 100644 (file)
@@ -121,8 +121,7 @@ public class ColourMenuHelper
        */
       final String name = scheme.getSchemeName();
       String label = MessageManager.getStringOrReturn(
-              "label.colourScheme_" + name.toLowerCase().replace(" ", "_"),
-              name);
+              "label.colourScheme_", name.toLowerCase().replace(" ", "_"));
       final JRadioButtonMenuItem radioItem = new JRadioButtonMenuItem(
               label);
       radioItem.setName(name);