From 2b3f99eadba114046b6c96f86bcdbfcf54784433 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 21 Aug 2018 13:59:37 +0100 Subject: [PATCH] JAL-2717 corrected i18n of colour scheme names --- src/jalview/gui/ColourMenuHelper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 1.7.10.2