From b6d1f5d13098ff4a20ce709551d381f8f19d40a9 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 2 Sep 2015 16:34:24 +0100 Subject: [PATCH] JAL-1355 User error text externalised to message bundle --- src/jalview/io/FileLoader.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) -- 1.7.10.2