diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 4cd075b43..6f9b784d0 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -563,11 +563,8 @@ Zotero.Schema = new function(){ var refDir = (row.linkMode==Zotero.Attachments.LINK_MODE_LINKED_FILE) ? Zotero.getZoteroDirectory() : Zotero.getStorageDirectory(); file.setRelativeDescriptor(refDir, row.path); Zotero.DB.query("UPDATE itemAttachments SET path=? WHERE itemID=?", [file.persistentDescriptor, row.itemID]); - Zotero.debug('succeeded'); - } - catch (e){ - Zotero.debug('failed'); } + catch (e){} } } } diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index 4efe02899..40859ccd4 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -32,6 +32,7 @@ pane.item.notes.count.plural = %s notes pane.item.attachments.view.link = View Page pane.item.attachments.view.snapshot = View Snapshot pane.item.attachments.view.file = View File +pane.item.attachments.fileNotFound = The attached file could not be found.\n\nIt may have been moved or deleted outside of Zotero. pane.item.attachments.delete.confirm = Are you sure you want to delete this attachment? pane.item.attachments.count.singular = %s attachment pane.item.attachments.count.plural = %s attachments