From: Renia Correya Date: Thu, 6 Jun 2024 10:17:59 +0000 (+0100) Subject: JAL-4426 Reword tool tip and status bar text X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6c7940c8fb3e1ca1540b9544b544138332108b30;p=jalview.git JAL-4426 Reword tool tip and status bar text --- diff --git a/resources/lang/Messages.properties b/resources/lang/Messages.properties index 10dbe35..2b9b76f 100644 --- a/resources/lang/Messages.properties +++ b/resources/lang/Messages.properties @@ -201,7 +201,7 @@ label.score_model_sequencefeaturesimilarity = Distance measure of average number label.score_model_conservation = Physicochemical property conservation label.score_model_enhconservation = Physicochemical property conservation label.status_bar = Status bar -label.sequence_count = Sequences +label.sequence_count = No. of sequences: label.out_to_textbox = Output to Textbox label.occupancy = Occupancy # delete Clustal - use FileFormat name instead diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index 9d6dc6c..1ee7cba 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -890,9 +890,10 @@ public class AnnotationLabels extends JPanel if(aa.getNoOfSequencesIncluded()>=0) { - msg.append(", "); - msg.append(MessageManager.getString("label.sequence_count")).append(" : "); + msg.append(" ("); + msg.append(MessageManager.getString("label.sequence_count")); msg.append(aa.getNoOfSequencesIncluded()); + msg.append(")"); } else if (anns != null) @@ -938,7 +939,9 @@ public class AnnotationLabels extends JPanel // tooltips String desc = aa.getDescription(true).trim(); if(aa.getNoOfSequencesIncluded()>=0) { - desc+=", " + MessageManager.getString("label.sequence_count")+" : "+aa.getNoOfSequencesIncluded(); + desc += " (" + MessageManager.getString("label.sequence_count") + + aa.getNoOfSequencesIncluded() + + ")"; } if (!desc.toLowerCase(Locale.ROOT).startsWith(HTML_START_TAG)) {