Localize "Export PDF…" menu option

Fixes #2710
This commit is contained in:
Dan Stillman 2022-07-20 01:03:29 -04:00
parent a33775d2a1
commit f46c0986d3
2 changed files with 5 additions and 6 deletions

View file

@ -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;

View file

@ -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…