JAL-4426 Reword tool tip and status bar text
authorRenia Correya <rcorreya001@dundee.ac.uk>
Thu, 6 Jun 2024 10:17:59 +0000 (11:17 +0100)
committerRenia Correya <rcorreya001@dundee.ac.uk>
Thu, 6 Jun 2024 10:17:59 +0000 (11:17 +0100)
resources/lang/Messages.properties
src/jalview/gui/AnnotationLabels.java

index 10dbe35..2b9b76f 100644 (file)
@@ -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
index 9d6dc6c..1ee7cba 100755 (executable)
@@ -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))
       {