diff --git a/chrome/content/zotero/locateMenu.js b/chrome/content/zotero/locateMenu.js
index aee67783f8..ea1a8741ac 100644
--- a/chrome/content/zotero/locateMenu.js
+++ b/chrome/content/zotero/locateMenu.js
@@ -601,17 +601,20 @@ var Zotero_LocateMenu = new function() {
ViewOptions.showFile = new function() {
this.className = "zotero-menuitem-show-file";
this.hideInToolbar = true;
- this.l10nId = "menu-show-file";
- this.l10nArgs = { count: 1 };
this.canHandleItem = function (item) {
return ZoteroPane.canShowItemInFilesystem(item);
};
this.updateMenuItem = function (items) {
- // We only care about showing 1 or many
- let count = Zotero.Items.numDistinctFileAttachmentsForLabel(items) > 1 ? 2 : 1;
- this.l10nArgs = { count };
+ if (Zotero.isMac) {
+ this.l10nId = 'menu-file-show-in-finder';
+ }
+ else {
+ // We only care about showing 1 or many
+ let count = Zotero.Items.numDistinctFileAttachmentsForLabel(items) > 1 ? 2 : 1;
+ this.l10nId = count > 1 ? 'menu-file-show-files' : 'menu-file-show-file';
+ }
};
this.handleItems = async function (items) {
diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js
index a43678ca97..6e9b3d54a2 100644
--- a/chrome/content/zotero/standalone/standalone.js
+++ b/chrome/content/zotero/standalone/standalone.js
@@ -179,12 +179,16 @@ const ZoteroStandalone = new function() {
let selectedItems = ZoteroPane.getSelectedItems();
let showFileMenuitem = document.getElementById('menu_showFile');
+ let showFileLabel = "";
let numFiles = Zotero.Items.numDistinctFileAttachmentsForLabel(selectedItems);
+ if (Zotero.isMac) {
+ showFileLabel = "menu-file-show-in-finder";
+ }
+ else {
+ showFileLabel = numFiles > 1 ? 'menu-file-show-files' : 'menu-file-show-file';
+ }
+ document.l10n.setAttributes(showFileMenuitem, showFileLabel);
showFileMenuitem.disabled = !numFiles;
- document.l10n.setArgs(showFileMenuitem, {
- // We only care about showing 1 or many
- count: numFiles > 1 ? 2 : 1
- });
// TEMP: Quick implementation
try {
diff --git a/chrome/content/zotero/zoteroPane.xhtml b/chrome/content/zotero/zoteroPane.xhtml
index a5246e1115..78e9c6f01e 100644
--- a/chrome/content/zotero/zoteroPane.xhtml
+++ b/chrome/content/zotero/zoteroPane.xhtml
@@ -319,7 +319,7 @@
-