From f46c0986d37e39a36eff8dbed1973b0bdc2caf93 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 20 Jul 2022 01:03:29 -0400 Subject: [PATCH] =?UTF-8?q?Localize=20"Export=20PDF=E2=80=A6"=20menu=20opt?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #2710 --- chrome/content/zotero/standalone/standalone.js | 9 +++------ chrome/locale/en-US/zotero/zotero.properties | 2 ++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index 86b98bbe51..6870862ab2 100644 --- a/chrome/content/zotero/standalone/standalone.js +++ b/chrome/content/zotero/standalone/standalone.js @@ -192,12 +192,9 @@ const ZoteroStandalone = new function() { if (numFiles) { menuitem.hidden = false; sep.hidden = false; - if (numFiles == 1) { - menuitem.label = 'Export PDF…'; - } - else { - menuitem.label = 'Export PDFs…'; - } + menuitem.label = Zotero.getString( + 'pane.items.menu.exportPDF' + (numFiles == 1 ? '' : '.multiple') + ); } else { menuitem.hidden = true; diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index 9039d83607..3cd74abddb 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -345,6 +345,8 @@ pane.items.menu.export = Export Item… pane.items.menu.export.multiple = Export Items… pane.items.menu.exportNote = Export Note… pane.items.menu.exportNote.multiple = Export Notes… +pane.items.menu.exportPDF = Export PDF… +pane.items.menu.exportPDF.multiple = Export PDFs… pane.items.menu.createBib = Create Bibliography from Item… pane.items.menu.createBib.multiple = Create Bibliography from Items… pane.items.menu.generateReport = Generate Report from Item…