Merge branch 'Release_2_8_2_Branch_i18n' into Release_2_8_2_Branch
[jalview.git] / src / jalview / appletgui / AnnotationColourChooser.java
index f85a073..c7b7c6c 100644 (file)
@@ -137,8 +137,7 @@ public class AnnotationColourChooser extends Panel implements
         threshold.select(1);
         break;
       default:
-        throw new Error(
-                "Implementation error: don't know about threshold setting for current AnnotationColourGradient.");
+        throw new Error(MessageManager.getString("error.implementation_error_dont_know_thereshold_annotationcolourgradient"));
       }
       thresholdIsMin.setState(acg.thresholdIsMinMax);
       thresholdValue.setText("" + acg.getAnnotationThreshold());