diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js index a35e33abf..bc656e699 100644 --- a/chrome/content/zotero/xpcom/storage/zfs.js +++ b/chrome/content/zotero/xpcom/storage/zfs.js @@ -492,12 +492,12 @@ Zotero.Sync.Storage.Session.ZFS.prototype._getFileUploadParameters = function (i if (item.libraryID) { var group = Zotero.Groups.getByLibraryID(item.libraryID); text = Zotero.getString('sync.storage.error.zfs.groupQuotaReached1', group.name) + "\n\n" - Zotero.getString('sync.storage.error.zfs.groupQuotaReached2'); + + Zotero.getString('sync.storage.error.zfs.groupQuotaReached2'); } // Personal file else { text = Zotero.getString('sync.storage.error.zfs.personalQuotaReached1') + "\n\n" - Zotero.getString('sync.storage.error.zfs.personalQuotaReached2'); + + Zotero.getString('sync.storage.error.zfs.personalQuotaReached2'); buttonText = Zotero.getString('sync.storage.openAccountSettings'); buttonCallback = function () { var url = "https://www.zotero.org/settings/storage"; @@ -510,6 +510,9 @@ Zotero.Sync.Storage.Session.ZFS.prototype._getFileUploadParameters = function (i } } + // TODO: localize + text += "\n\n" + filename + " (" + Math.round(file.fileSize / 1024) + "KB)"; + Zotero.debug(req.responseText); var e = new Zotero.Error(