JAL-3127 Sequence ID Colour and nominal spanish translation
authorJim Procter <jprocter@issues.jalview.org>
Tue, 20 Nov 2018 06:40:21 +0000 (06:40 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 20 Nov 2018 06:40:21 +0000 (06:40 +0000)
resources/lang/Messages.properties
resources/lang/Messages_es.properties
src/jalview/schemes/JalviewColourScheme.java
test/jalview/schemes/JalviewColourSchemeTest.java

index ae5b0e7..4e31b62 100644 (file)
@@ -203,6 +203,7 @@ label.colourScheme_purine/pyrimidine = Purine/Pyrimidine
 label.colourScheme_nucleotide = Nucleotide
 label.colourScheme_t-coffee_scores = T-Coffee Scores
 label.colourScheme_rna_helices = By RNA Helices
+label.colourScheme_sequence_id = Sequence ID Colour
 label.blc = BLC
 label.fasta = Fasta
 label.msf = MSF
index 555977d..9d337a7 100644 (file)
@@ -199,6 +199,7 @@ label.colourScheme_purine/pyrimidine = Purina/Pirimidina
 label.colourScheme_nucleotide = Nucleótido
 label.colourScheme_t-coffee_scores = Puntuación del T-Coffee
 label.colourScheme_rna_helices = Por hélices de RNA
+label.colourScheme_sequence_id = Color de ID de secuencia
 label.blc = BLC
 label.fasta = Fasta
 label.msf = MSF
index 4422d72..456397e 100644 (file)
@@ -43,7 +43,7 @@ public enum JalviewColourScheme
   PurinePyrimidine("Purine/Pyrimidine", PurinePyrimidineColourScheme.class),
   RNAHelices("RNA Helices", RNAHelicesColour.class),
   TCoffee("T-Coffee Scores", TCoffeeColourScheme.class),
-  IdColour("Sequence IDs", IdColourScheme.class);
+  IdColour("Sequence ID", IdColourScheme.class);
   // RNAInteraction("RNA Interaction type", RNAInteractionColourScheme.class)
 
   private String name;
index d9403d2..e8a70e4 100644 (file)
@@ -24,6 +24,8 @@ public class JalviewColourSchemeTest
     assertTrue(JalviewColourScheme.PurinePyrimidine.getSchemeClass() == PurinePyrimidineColourScheme.class);
     assertTrue(JalviewColourScheme.TCoffee.getSchemeClass() == TCoffeeColourScheme.class);
     assertTrue(JalviewColourScheme.RNAHelices.getSchemeClass() == RNAHelicesColour.class);
+    assertTrue(JalviewColourScheme.IdColour
+            .getSchemeClass() == IdColourScheme.class);
   }
 
   @Test(groups = "Functional")
@@ -44,5 +46,6 @@ public class JalviewColourSchemeTest
             "Purine/Pyrimidine");
     assertEquals(JalviewColourScheme.TCoffee.toString(), "T-Coffee Scores");
     assertEquals(JalviewColourScheme.RNAHelices.toString(), "RNA Helices");
+    assertEquals(JalviewColourScheme.IdColour.toString(), "Sequence ID");
   }
 }