JAL-1911 bugfix - do not save i18n text in preference file
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Thu, 26 May 2016 15:11:40 +0000 (16:11 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Thu, 26 May 2016 15:11:40 +0000 (16:11 +0100)
src/jalview/io/HtmlSvgOutput.java
src/jalview/util/ImageMaker.java

index 3bd175b..00af242 100644 (file)
@@ -124,8 +124,7 @@ public class HtmlSvgOutput
         }
       }
 
-      if (renderStyle.equalsIgnoreCase(MessageManager
-              .getString("label.lineart")))
+      if (renderStyle.equalsIgnoreCase("Lineart"))
       {
         g1.setRenderingHint(SVGHints.KEY_DRAW_STRING_TYPE,
                 SVGHints.VALUE_DRAW_STRING_TYPE_VECTOR);
index 9bc732b..72fa605 100755 (executable)
@@ -272,8 +272,7 @@ MessageManager.formatMessage(
       }
     }
 
-    if (renderStyle.equalsIgnoreCase(MessageManager
-            .getString("label.lineart")))
+    if (renderStyle.equalsIgnoreCase("Lineart"))
     {
       ig2.setRenderingHint(SVGHints.KEY_DRAW_STRING_TYPE,
               SVGHints.VALUE_DRAW_STRING_TYPE_VECTOR);