X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAppJmol.java;h=cc37b66af6c036bde7b0264af97cf48b563b4fb3;hb=910e92c4ec8b94b41d5b4c1e9b82438a4203207c;hp=3b4b7389fd5c5e0e5ff2c36db079bdb6dd0bc415;hpb=21c29b20790ac555b2e2a124a034f6c6b4486270;p=jalview.git diff --git a/src/jalview/gui/AppJmol.java b/src/jalview/gui/AppJmol.java index 3b4b738..cc37b66 100644 --- a/src/jalview/gui/AppJmol.java +++ b/src/jalview/gui/AppJmol.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.gui; @@ -199,8 +200,7 @@ public class AppJmol extends GStructureViewer implements Runnable, public void itemStateChanged(ItemEvent e) { alignStructs.setEnabled(_alignwith.size() > 0); - alignStructs.setToolTipText("Align structures using " - + _alignwith.size() + " linked alignment views"); + alignStructs.setToolTipText(MessageManager.formatMessage("label.align_structures_using_linked_alignment_views", new String[] {new Integer(_alignwith.size()).toString()})); } }); handler.itemStateChanged(null); @@ -617,7 +617,7 @@ public class AppJmol extends GStructureViewer implements Runnable, { return; } - JMenuItem menuItem = new JMenuItem("All"); + JMenuItem menuItem = new JMenuItem(MessageManager.getString("label.all")); menuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) @@ -871,7 +871,7 @@ public class AppJmol extends GStructureViewer implements Runnable, chooser.setFileView(new JalviewFileView()); chooser.setDialogTitle("Save PDB File"); - chooser.setToolTipText("Save"); + chooser.setToolTipText(MessageManager.getString("action.save")); int value = chooser.showSaveDialog(this); @@ -919,7 +919,7 @@ public class AppJmol extends GStructureViewer implements Runnable, cap.dispose(); return; } - jalview.gui.Desktop.addInternalFrame(cap, "PDB - Sequence Mapping", + jalview.gui.Desktop.addInternalFrame(cap, MessageManager.getString("label.pdb_sequence_mapping"), 550, 600); }