From 21901b0c44df5aa002d9c869e49b76e4ceeb3732 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 21 Apr 2014 16:00:45 +0100 Subject: [PATCH] JAL-1355 JAL-1466 i18n for flanking sequence menu entry and tooltip messages --- resources/lang/Messages.properties | 2 ++ src/jalview/jbgui/GAlignFrame.java | 1 + 2 files changed, 3 insertions(+) diff --git a/resources/lang/Messages.properties b/resources/lang/Messages.properties index 56d6ca7..8356ebf 100644 --- a/resources/lang/Messages.properties +++ b/resources/lang/Messages.properties @@ -133,6 +133,8 @@ action.show_chain = Show Chain action.show_group = Show Group action.fetch_db_references = Fetch DB References action.edit = Edit +action.view_flanking_regions = Show flanking regions +label.view_flanking_regions = Show sequence data either side of the subsequences involved in this alignment label.str = Str: label.seq = Seq: label.structures_manager = Structures Manager diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 6feca56..698d4af 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -633,6 +633,7 @@ public class GAlignFrame extends JInternalFrame } }); expandAlignment.setText(MessageManager.getString("action.view_flanking_regions")); + expandAlignment.setToolTipText(MessageManager.getString("label.view_flanking_regions")); expandAlignment.addActionListener(new java.awt.event.ActionListener() { @Override public void actionPerformed(ActionEvent e) -- 1.7.10.2