JAL 4392 Reformat Secondary structure description text
authorRenia Correya <rcorreya001@dundee.ac.uk>
Thu, 6 Jun 2024 09:24:37 +0000 (10:24 +0100)
committerRenia Correya <rcorreya001@dundee.ac.uk>
Thu, 6 Jun 2024 09:24:37 +0000 (10:24 +0100)
src/jalview/viewmodel/AlignmentViewport.java

index 2f0244f..cc431a5 100644 (file)
@@ -982,7 +982,7 @@ public abstract class AlignmentViewport
         
         if(!ssConsensusForSourcePresent) {
           AlignmentAnnotation ssConsensus = new AlignmentAnnotation(MessageManager.getString("label.ssconsensus_label") + " "+source,
-                  source + MessageManager.getString("label.ssconsensus_descr"),
+                  source + " " + MessageManager.getString("label.ssconsensus_descr"),
                   new Annotation[1], 0f, 100f, AlignmentAnnotation.BAR_GRAPH);
 
           ssConsensus.hasText = true;
@@ -2098,7 +2098,7 @@ public abstract class AlignmentViewport
         for (String ssSource : secondaryStructureSources) {
         
           AlignmentAnnotation ssConsensus = new AlignmentAnnotation(MessageManager.getString("label.ssconsensus_label") + " "+ssSource,
-                  ssSource + MessageManager.getString("label.ssconsensus_descr"),
+                  ssSource + " " + MessageManager.getString("label.ssconsensus_descr"),
                   new Annotation[1], 0f, 100f, AlignmentAnnotation.BAR_GRAPH);
           secondaryStructureConsensus.add(ssConsensus);
         }