From 608002f963630dd631941e34f1a6a93b6dcbd823 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 10 Aug 2016 11:37:01 +0100 Subject: [PATCH] JAL-2124 i18n of "All" menu item --- src/jalview/gui/PopupMenu.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 1.7.10.2