diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 0989ae366..cce85c05d 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -814,7 +814,7 @@ Zotero.CollectionTreeView.prototype.getLastViewedRow = function () { /* * Delete the selection */ -Zotero.CollectionTreeView.prototype.deleteSelection = function() +Zotero.CollectionTreeView.prototype.deleteSelection = function(deleteItems) { if(this.selection.count == 0) return; @@ -842,14 +842,12 @@ Zotero.CollectionTreeView.prototype.deleteSelection = function() for (var i=0; i + diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index a821742d6..bb0e2d066 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -34,6 +34,7 @@ general.permissionDenied = Permission Denied general.character.singular = character general.character.plural = characters general.create = Create +general.delete = Delete general.seeForMoreInformation = See %S for more information. general.enable = Enable general.disable = Disable @@ -132,8 +133,14 @@ date.relative.daysAgo.multiple = %S days ago date.relative.yearsAgo.one = 1 year ago date.relative.yearsAgo.multiple = %S years ago +pane.collections.delete.title = Delete Collection pane.collections.delete = Are you sure you want to delete the selected collection? -pane.collections.deleteSearch = Are you sure you want to delete the selected search? +pane.collections.delete.keepItems = Items within this collection will not be deleted. +pane.collections.deleteWithItems.title = Delete Collection and Items +pane.collections.deleteWithItems = Are you sure you want to delete the selected collection and move all items within it to the Trash? + +pane.collections.deleteSearch.title = Delete Search +pane.collections.deleteSearch = Are you sure you want to delete the selected search? pane.collections.emptyTrash = Are you sure you want to permanently remove items in the Trash? pane.collections.newCollection = New Collection pane.collections.name = Enter a name for this collection: @@ -149,8 +156,9 @@ pane.collections.duplicate = Duplicate Items pane.collections.menu.rename.collection = Rename Collection… pane.collections.menu.edit.savedSearch = Edit Saved Search -pane.collections.menu.remove.collection = Remove Collection… -pane.collections.menu.remove.savedSearch = Remove Saved Search… +pane.collections.menu.delete.collection = Delete Collection… +pane.collections.menu.delete.collectionAndItems = Delete Collection and Items… +pane.collections.menu.delete.savedSearch = Delete Saved Search… pane.collections.menu.export.collection = Export Collection… pane.collections.menu.export.savedSearch = Export Saved Search… pane.collections.menu.createBib.collection = Create Bibliography From Collection…