From 696e49a6749809ff51320f8be0d9344558d2de8a Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 10 Aug 2016 11:41:20 +0100 Subject: [PATCH] JAL-2124 i18n of 'All' menu item --- src/jalview/appletgui/APopupMenu.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/jalview/appletgui/APopupMenu.java b/src/jalview/appletgui/APopupMenu.java index 948c8e5..b6cc7c0 100644 --- a/src/jalview/appletgui/APopupMenu.java +++ b/src/jalview/appletgui/APopupMenu.java @@ -70,8 +70,6 @@ import java.util.Vector; public class APopupMenu extends java.awt.PopupMenu implements ActionListener, ItemListener { - private static final String ALL_ANNOTATIONS = "All"; - Menu groupMenu = new Menu(); MenuItem editGroupName = new MenuItem(); @@ -1326,7 +1324,8 @@ public class APopupMenu extends java.awt.PopupMenu implements 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