From: gmungoc Date: Wed, 10 Aug 2016 10:37:01 +0000 (+0100) Subject: JAL-2124 i18n of "All" menu item X-Git-Tag: Release_2_10_0~70^2~13 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=608002f963630dd631941e34f1a6a93b6dcbd823;p=jalview.git JAL-2124 i18n of "All" menu item --- diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 497f3ba..569fcec 100644 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -91,8 +91,6 @@ import javax.swing.JRadioButtonMenuItem; */ public class PopupMenu extends JPopupMenu { - private static final String ALL_ANNOTATIONS = "All"; - JMenu groupMenu = new JMenu(); JMenuItem groupName = new JMenuItem(); @@ -756,7 +754,8 @@ public class PopupMenu extends JPopupMenu showMenu.removeAll(); hideMenu.removeAll(); - final List all = Arrays.asList(ALL_ANNOTATIONS); + final List all = Arrays.asList(new String[] { MessageManager + .getString("label.all") }); addAnnotationTypeToShowHide(showMenu, forSequences, "", all, true, true); addAnnotationTypeToShowHide(hideMenu, forSequences, "", all, true, false);