WebDAV server SSL error wasn't being properly displayed

This commit is contained in:
Dan Stillman 2010-05-11 19:49:22 +00:00
parent e7ba86216e
commit 0821e34b20

View file

@ -1644,7 +1644,7 @@ Zotero.Sync.Storage.Session.WebDAV.prototype._checkResponse = function (req, obj
Zotero.debug(e);
}
var msg = Zotero.localeString([
var msg = Zotero.localeJoin([
Zotero.getString('sync.storage.error.webdav.sslCertificateError'),
Zotero.getString('sync.storage.error.webdav.loadURLForMoreInfo')
]);
@ -1653,7 +1653,7 @@ Zotero.Sync.Storage.Session.WebDAV.prototype._checkResponse = function (req, obj
return;
}
else if ((secInfo.securityState & Ci.nsIWebProgressListener.STATE_IS_BROKEN) == Ci.nsIWebProgressListener.STATE_IS_BROKEN) {
var msg = Zotero.localeString([
var msg = Zotero.localeJoin([
Zotero.getString('sync.storage.error.webdav.sslConnectionError'),
Zotero.getString('sync.storage.error.webdav.loadURLForMoreInfo')
]);