Remove "\n" from localized string for note annotation header
Follow-up to 47f897fe8c
This commit is contained in:
parent
91ebbc1bc9
commit
00a0231e4f
2 changed files with 4 additions and 2 deletions
|
@ -1268,7 +1268,9 @@ class EditorInstance {
|
|||
jsonAnnotation.attachmentItemID = attachmentItem.id;
|
||||
jsonAnnotations.push(jsonAnnotation);
|
||||
}
|
||||
let html = `<h1>${Zotero.getString('noteEditor.annotationsWithDate', new Date().toLocaleString()).replace(/\n/g, '<br/>')}</h1>\n`;
|
||||
let html = `<h1>${Zotero.getString('pdfReader.annotations')}<br/>`
|
||||
+ Zotero.getString('noteEditor.annotationsDateLine', new Date().toLocaleString())
|
||||
+ `</h1>\n`;
|
||||
let { html: serializedHTML, citationItems } = await editorInstance._serializeAnnotations(jsonAnnotations, true);
|
||||
html += serializedHTML;
|
||||
citationItems = encodeURIComponent(JSON.stringify(citationItems));
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue