commit f272fc686121437a5fc632847e87c8ece04e86a6
parent 8831ba51cd3d323834daa085231384db1100e9e4
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 20 Jan 2012 17:51:00 -0500
Tweak read-only save error message
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git 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
@@ -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
@@ -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"