From 23f03e565a548039e0e5d7c3953ad7e53e772378 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 26 Apr 2019 10:41:33 +0100 Subject: [PATCH] JAL-2808 better tooltip 'delete this condition' --- resources/lang/Messages.properties | 1 + resources/lang/Messages_es.properties | 1 + src/jalview/gui/FeatureTypeSettings.java | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/lang/Messages.properties b/resources/lang/Messages.properties index f701008..04e8982 100644 --- a/resources/lang/Messages.properties +++ b/resources/lang/Messages.properties @@ -1314,6 +1314,7 @@ label.numeric_required = The value should be numeric label.filter = Filter label.filters = Filters label.join_conditions = Join conditions with +label.delete_condition = Delete this condition label.score = Score label.colour_by_label = Colour by label label.variable_colour = Variable colour... diff --git a/resources/lang/Messages_es.properties b/resources/lang/Messages_es.properties index fc297b6..9efeca1 100644 --- a/resources/lang/Messages_es.properties +++ b/resources/lang/Messages_es.properties @@ -1314,6 +1314,7 @@ label.matchCondition_ge = >= label.numeric_required = Valor numérico requerido label.filter = Filtro label.filters = Filtros +label.delete_condition = Borrar esta condición label.join_conditions = Combinar condiciones con label.score = Puntuación label.colour_by_label = Colorear por texto diff --git a/src/jalview/gui/FeatureTypeSettings.java b/src/jalview/gui/FeatureTypeSettings.java index 82e826f..434515a 100644 --- a/src/jalview/gui/FeatureTypeSettings.java +++ b/src/jalview/gui/FeatureTypeSettings.java @@ -1421,8 +1421,8 @@ public class FeatureTypeSettings extends JalviewDialog { // todo: gif for button drawing '-' or 'x' JButton removeCondition = new BasicArrowButton(SwingConstants.WEST); - removeCondition - .setToolTipText(MessageManager.getString("label.delete_row")); + removeCondition.setToolTipText( + MessageManager.getString("label.delete_condition")); removeCondition.addActionListener(new ActionListener() { @Override -- 1.7.10.2