From: gmungoc Date: Tue, 21 Aug 2018 12:59:37 +0000 (+0100) Subject: JAL-2717 corrected i18n of colour scheme names X-Git-Tag: Release_2_11_4_0~45^2~18^2~472^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8ca1ac83b31ae44e8025b246800a4671f44cbb0c;p=jalview.git JAL-2717 corrected i18n of colour scheme names --- diff --git a/src/jalview/gui/ColourMenuHelper.java b/src/jalview/gui/ColourMenuHelper.java index 8f0b88c..9479ea6 100644 --- a/src/jalview/gui/ColourMenuHelper.java +++ b/src/jalview/gui/ColourMenuHelper.java @@ -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);