JAL-1354 JAL-3528 fix bug from b594d516dac69eebcccdc743933880b00fb6d44c only try...
authorJim Procter <jprocter@issues.jalview.org>
Fri, 14 Feb 2020 09:18:55 +0000 (09:18 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 14 Feb 2020 09:18:55 +0000 (09:18 +0000)
src/jalview/util/MessageManager.java

index 2efaeb6..25e10c3 100644 (file)
@@ -98,6 +98,7 @@ public class MessageManager
     } catch (Exception e)
     {
       log.warning("I18N missing: " + loc + "\t" + key);
+      // e.printStackTrace();
 
     }
     String value = "[missing key] " + key + "";
@@ -110,7 +111,7 @@ public class MessageManager
 
   public static String formatMessage(String key, String[] params)
   {
-    return formatMessage(rb.getString(key), (Object[]) params);
+    return formatMessage(key, (Object[]) params);
   }
 
   /**