From: gmungoc Date: Fri, 26 Apr 2019 09:41:33 +0000 (+0100) Subject: JAL-2808 better tooltip 'delete this condition' X-Git-Tag: Release_2_11_0~17^2~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=23f03e565a548039e0e5d7c3953ad7e53e772378;p=jalview.git JAL-2808 better tooltip 'delete this condition' --- 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