From: gmungoc Date: Wed, 10 Aug 2016 10:41:20 +0000 (+0100) Subject: JAL-2124 i18n of 'All' menu item X-Git-Tag: Release_2_10_0~70^2~12 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=696e49a6749809ff51320f8be0d9344558d2de8a;p=jalview.git JAL-2124 i18n of 'All' menu item --- 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);