X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws2%2FSequenceAnnotationWSClient.java;h=a59047068c5c23e378ecfb789c187e4ca33f7ab4;hb=dfa04e77181fccfa6229ffef1591fc9c622d9b39;hp=59cc96227834d952ff6d95be15c1dfc1eb4a5e6a;hpb=cb0510ac1a059636122bd8ee0b6ad0bfbdcaa2a6;p=jalview.git diff --git a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java index 59cc962..a590470 100644 --- a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java +++ b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8) - * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1) + * Copyright (C) 2014 The Jalview Authors * * This file is part of Jalview. * @@ -14,6 +14,7 @@ * PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. */ package jalview.ws.jws2; @@ -22,6 +23,7 @@ import jalview.bin.Cache; import jalview.gui.AlignFrame; import jalview.gui.Desktop; import jalview.gui.JvSwingUtils; +import jalview.util.MessageManager; import jalview.ws.jws2.dm.AAConSettings; import jalview.ws.jws2.jabaws2.Jws2Instance; import jalview.ws.params.WsParamSetI; @@ -171,7 +173,7 @@ public class SequenceAnnotationWSClient extends Jws2Client String calcName = service.serviceType.substring(0, service.serviceType.length() - 2); - JMenuItem annotservice = new JMenuItem(calcName + " Defaults"); + JMenuItem annotservice = new JMenuItem(MessageManager.formatMessage("label.calcname_with_default_settings", new String[]{calcName})); annotservice.addActionListener(new ActionListener() { @@ -186,9 +188,9 @@ public class SequenceAnnotationWSClient extends Jws2Client { // only add these menu options if the service has user-modifiable // arguments - annotservice = new JMenuItem("Edit settings and run ..."); + annotservice = new JMenuItem(MessageManager.getString("label.edit_settings_and_run")); annotservice - .setToolTipText("View and change parameters before running calculation"); + .setToolTipText(MessageManager.getString("label.view_and_change_parameters_before_running_calculation")); annotservice.addActionListener(new ActionListener() { @@ -228,7 +230,7 @@ public class SequenceAnnotationWSClient extends Jws2Client } else { - annotservice = new JMenuItem("View documentation"); + annotservice = new JMenuItem(MessageManager.getString("label.view_documentation")); if (service.docUrl != null) { annotservice.addActionListener(new ActionListener()