From f272fc686121437a5fc632847e87c8ece04e86a6 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 20 Jan 2012 17:51:00 -0500 Subject: [PATCH] Tweak read-only save error message --- chrome/content/zotero/browser.js | 2 +- chrome/content/zotero/zoteroPane.js | 4 ++-- chrome/locale/en-US/zotero/zotero.properties | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/browser.js b/chrome/content/zotero/browser.js index b81672f224..a7d7a0287f 100644 --- a/chrome/content/zotero/browser.js +++ b/chrome/content/zotero/browser.js @@ -154,7 +154,7 @@ var Zotero_Browser = new function() { try { if (!ZoteroPane.collectionsView.editable) { Zotero_Browser.progress.changeHeadline(Zotero.getString("ingester.scrapeError")); - var desc = Zotero.getString('save.error.cannotMakeChangesToLibrary'); + var desc = Zotero.getString('save.error.cannotMakeChangesToCollection'); Zotero_Browser.progress.addDescription(desc); Zotero_Browser.progress.show(); Zotero_Browser.progress.startCloseTimer(8000); diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index ddf42f604c..c101e9c906 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -3592,14 +3592,14 @@ var ZoteroPane = new function() this.displayCannotEditLibraryMessage = function () { var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); - ps.alert(null, "", Zotero.getString('save.error.cannotMakeChangesToLibrary')); + ps.alert(null, "", Zotero.getString('save.error.cannotMakeChangesToCollection')); } this.displayCannotEditLibraryFilesMessage = function () { var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); - ps.alert(null, "", Zotero.getString('save.error.cannotAddFilesToLibrary')); + ps.alert(null, "", Zotero.getString('save.error.cannotAddFilesToCollection')); } diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index bf2cd51e51..052f6012bb 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -397,8 +397,8 @@ fileTypes.document = Document save.attachment = Saving Snapshot… save.link = Saving Link… save.link.error = An error occurred while saving this link. -save.error.cannotMakeChangesToLibrary = You cannot make changes to the currently selected library. -save.error.cannotAddFilesToLibrary = You cannot add files to the currently selected library. +save.error.cannotMakeChangesToCollection = You cannot make changes to the currently selected collection. +save.error.cannotAddFilesToCollection = You cannot add files to the currently selected collection. ingester.saveToZotero = Save to Zotero ingester.saveToZoteroUsing = Save to Zotero using "%S"