Remove unused "transfer to PDF file" feature artifacts

This commit is contained in:
Martynas Bagdonas 2024-09-02 14:16:04 +03:00
parent 576e50552b
commit ce1061c2fb
2 changed files with 1 additions and 3 deletions

View file

@ -229,7 +229,7 @@ class PDFWorker {
throw error;
}
await IOUtils.write(path || attachmentPath, new Uint8Array(res.buf));
await IOUtils.write(path, new Uint8Array(res.buf));
if (transfer) {
await Zotero.Items.erase(items.map(x => x.id));

View file

@ -1401,8 +1401,6 @@ pdfReader.location = Location
pdfReader.readOnly = Read-only
pdfReader.promptTransferFromPDF.title = Import Annotations
pdfReader.promptTransferFromPDF.text = Annotations stored in the PDF file will be moved to %1$S.
pdfReader.promptTransferToPDF.title = Store Annotations in File
pdfReader.promptTransferToPDF.text = Annotations will be transferred to the PDF file and will no longer be editable in %S.
pdfReader.promptPasswordProtected = The operation is not supported for password-protected PDF files.
pdfReader.promptDeletePages.title = Delete Pages
pdfReader.promptDeletePages.text = Are you sure you want to delete %1$S page from the PDF file?;Are you sure you want to delete %1$S pages from the PDF file?