X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjbgui%2FGCutAndPasteTransfer.java;h=0a48d7e82c4db7e4f3269c752c11c60a76dc13dc;hb=e7235e7d60595f9e3bec5fb65317681e594461c4;hp=c3107043412b4dc11cd68989cf3e9d3d29bc84d6;hpb=865a855a4ca87eadb3e5ff284ed32ed307d9c34b;p=jalview.git diff --git a/src/jalview/jbgui/GCutAndPasteTransfer.java b/src/jalview/jbgui/GCutAndPasteTransfer.java index c310704..0a48d7e 100755 --- a/src/jalview/jbgui/GCutAndPasteTransfer.java +++ b/src/jalview/jbgui/GCutAndPasteTransfer.java @@ -1,24 +1,27 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1) + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) * Copyright (C) 2014 The Jalview Authors * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR * 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 . + * 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.jbgui; import jalview.gui.JvSwingUtils; +import jalview.util.MessageManager; import java.awt.*; import java.awt.event.*; @@ -85,7 +88,7 @@ public class GCutAndPasteTransfer extends JInternalFrame { scrollPane.setBorder(null); ok.setFont(JvSwingUtils.getLabelFont()); - ok.setText("New Window"); + ok.setText(MessageManager.getString("label.new_window")); ok.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) @@ -93,7 +96,7 @@ public class GCutAndPasteTransfer extends JInternalFrame ok_actionPerformed(e); } }); - cancel.setText("Close"); + cancel.setText(MessageManager.getString("action.close")); cancel.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) @@ -103,7 +106,7 @@ public class GCutAndPasteTransfer extends JInternalFrame }); textarea.setBorder(null); - selectAll.setText("Select All"); + selectAll.setText(MessageManager.getString("action.select_all")); selectAll.setAccelerator(javax.swing.KeyStroke.getKeyStroke( java.awt.event.KeyEvent.VK_A, Toolkit.getDefaultToolkit() .getMenuShortcutKeyMask(), false)); @@ -114,8 +117,8 @@ public class GCutAndPasteTransfer extends JInternalFrame selectAll_actionPerformed(e); } }); - jMenu1.setText("File"); - save.setText("Save"); + jMenu1.setText(MessageManager.getString("action.file")); + save.setText(MessageManager.getString("action.save")); save.setAccelerator(javax.swing.KeyStroke.getKeyStroke( java.awt.event.KeyEvent.VK_S, Toolkit.getDefaultToolkit() .getMenuShortcutKeyMask(), false)); @@ -142,8 +145,8 @@ public class GCutAndPasteTransfer extends JInternalFrame textarea_mousePressed(e); } }); - editMenu.setText("Edit"); - pasteMenu.setText("Paste"); + editMenu.setText(MessageManager.getString("action.edit")); + pasteMenu.setText(MessageManager.getString("action.paste")); pasteMenu.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) @@ -151,7 +154,7 @@ public class GCutAndPasteTransfer extends JInternalFrame pasteMenu_actionPerformed(e); } }); - copyItem.setText("Copy"); + copyItem.setText(MessageManager.getString("action.copy")); copyItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e)