diff --git a/mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties b/mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties index 0b8fc42e92d..3767b408092 100644 --- a/mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties +++ b/mozilla/extensions/irc/locales/en-US/chrome/chatzilla.properties @@ -1351,7 +1351,7 @@ msg.save.err.invalid.ext = The extension ``%S'' cannot be used without supp msg.save.err.invalid.savetype = The savetype ``%S'' is not a valid type of file to save to. Use either |complete|, |htmlonly| or |text|. msg.save.err.failed = Saving the view ``%1$S'' to ``%2$S'' failed:\n ``%3$S'' msg.save.fileexists = The file ``%S'' already exists.\n Click OK to overwrite it, click Cancel to keep the original file. -msg.save.successful = The view ``%1$S'' has been successfully saved to ``%2$S''. +msg.save.successful = The view ``%1$S'' has been saved to <%2$S>. msg.ceip.msg1 = ChatZilla would like you to participate in the Customer Experience Improvement Program. You can %1$S or %2$S this. diff --git a/mozilla/extensions/irc/xul/content/commands.js b/mozilla/extensions/irc/xul/content/commands.js index 9b1207b3e94..b1a366446b3 100644 --- a/mozilla/extensions/irc/xul/content/commands.js +++ b/mozilla/extensions/irc/xul/content/commands.js @@ -24,6 +24,7 @@ * Robert Ginda, , original author * Chiaki Koufugata, chiaki@mozilla.gr.jp, UI i18n * James Ross, silver@warwickcompsoc.co.uk + * Gijs Kruitbosch, gijskruitbosch@gmail.com * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -3616,7 +3617,7 @@ function cmdSave(e) && wbp.currentState == nsIWBP.PERSIST_STATE_FINISHED) { // Let the user know: - pm = [e.sourceObject.viewName, e.filename]; + pm = [e.sourceObject.viewName, getURLSpecFromFile(file)]; display(getMsg(MSG_SAVE_SUCCESSFUL, pm), MT_INFO); } /* Check if we've finished. WebBrowserPersist screws up when we @@ -3627,7 +3628,7 @@ function cmdSave(e) { if (wbp) wbp.progressListener = null; - pm = [e.sourceObject.viewName, e.filename]; + pm = [e.sourceObject.viewName, getURLSpecFromFile(file)]; display(getMsg(MSG_SAVE_SUCCESSFUL, pm), MT_INFO); } } @@ -3700,7 +3701,7 @@ function cmdSave(e) } catch (ex) { - // try to use it as an url + // try to use it as a URL try { file = getFileFromURLSpec(e.filename);