From 15305e6f6dadf2c2cfe5d4998dd7ccf41a8a7c4c Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Tue, 25 Nov 2025 13:36:42 -0500 Subject: [PATCH] Correct constant name --- chrome/content/zotero/exportOptions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/exportOptions.js b/chrome/content/zotero/exportOptions.js index e78de7cbb2..2410252812 100644 --- a/chrome/content/zotero/exportOptions.js +++ b/chrome/content/zotero/exportOptions.js @@ -31,7 +31,7 @@ const OPTION_PREFIX = "export-option-"; -const IGNORE_IMPORT_ONLY = [ +const IGNORE_EXPORT_ONLY_TRANSLATORS = [ 'b6e39b57-8942-4d11-8259-342c46ce395f', // BibLaTeX: Imported by BibTeX '14763d25-8ba0-45df-8f52-b8d1108e7ac9', // Bibliontology RDF: Imported by RDF '14763d24-8ba0-45df-8f52-b8d1108e7ac9', // Zotero RDF: Imported by RDF @@ -228,7 +228,7 @@ var Zotero_File_Interface_Export = new function() { let warningCannotImport = document.getElementById('warning-cannot-import'); warningCannotImport.hidden = translator.translatorType & Zotero.Translator.TRANSLATOR_TYPES.import - || IGNORE_IMPORT_ONLY.includes(translator.translatorID); + || IGNORE_EXPORT_ONLY_TRANSLATORS.includes(translator.translatorID); document.l10n.setArgs(warningCannotImport, { format: translator.label }); document.l10n.translateRoots().then(() => window.sizeToContent());