From: gmungoc Date: Wed, 2 Sep 2015 15:34:24 +0000 (+0100) Subject: JAL-1355 User error text externalised to message bundle X-Git-Tag: Release_2_10_0~507^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b6d1f5d13098ff4a20ce709551d381f8f19d40a9;p=jalview.git JAL-1355 User error text externalised to message bundle --- diff --git a/src/jalview/io/FileLoader.java b/src/jalview/io/FileLoader.java index 870d438..e2e7d19 100755 --- a/src/jalview/io/FileLoader.java +++ b/src/jalview/io/FileLoader.java @@ -429,8 +429,11 @@ public class FileLoader implements Runnable Desktop.instance.stopLoading(); } - final String errorMessage = "Couldn't load file " + title + "\n" - + error; + final String errorMessage = MessageManager + .getString("label.couldnt_load_file") + + " " + + title + + "\n" + error; // TODO: refactor FileLoader to be independent of Desktop / Applet GUI // bits ? if (raiseGUI && Desktop.desktop != null)