diff --git a/chrome/content/zotero/xpcom/editorInstance.js b/chrome/content/zotero/xpcom/editorInstance.js index 9e14fb75fd..96ccd4a14d 100644 --- a/chrome/content/zotero/xpcom/editorInstance.js +++ b/chrome/content/zotero/xpcom/editorInstance.js @@ -1268,7 +1268,9 @@ class EditorInstance { jsonAnnotation.attachmentItemID = attachmentItem.id; jsonAnnotations.push(jsonAnnotation); } - let html = `

${Zotero.getString('noteEditor.annotationsWithDate', new Date().toLocaleString()).replace(/\n/g, '
')}

\n`; + let html = `

${Zotero.getString('pdfReader.annotations')}
` + + Zotero.getString('noteEditor.annotationsDateLine', new Date().toLocaleString()) + + `

\n`; let { html: serializedHTML, citationItems } = await editorInstance._serializeAnnotations(jsonAnnotations, true); html += serializedHTML; citationItems = encodeURIComponent(JSON.stringify(citationItems)); diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index e83601e9ac..c79f0fa909 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -1267,7 +1267,7 @@ retraction.citeWarning.text2 = You can view the item in your library for further retraction.citationWarning = A citation in your document has been retracted: retraction.citationWarning.dontWarn = Don’t warn me about this item again -noteEditor.annotationsWithDate = Annotations\n(%S) +noteEditor.annotationsDateLine = (%S) noteEditor.cut = Cut noteEditor.copy = Copy noteEditor.paste = Paste