Skip to content

Instantly share code, notes, and snippets.

@retorquere
Last active December 1, 2022 07:27
Show Gist options
  • Save retorquere/4eb1411a46094fc34f60017b50f13989 to your computer and use it in GitHub Desktop.
Save retorquere/4eb1411a46094fc34f60017b50f13989 to your computer and use it in GitHub Desktop.
module.exports = function(doc, root, tr) {
const prefpane1 = root.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "prefpane"));
prefpane1.setAttribute("id", 'zotero-prefpane-better-bibtex');
prefpane1.setAttribute("label", tr["better-bibtex.Preferences.prefpane.better-bibtex"] || "better-bibtex.Preferences.prefpane.better-bibtex");
prefpane1.setAttribute("image", "chrome://zotero-better-bibtex/skin/bibtex.svg");
prefpane1.setAttribute("helpTopic", "BetterBibTeX");
const popupset1 = prefpane1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "popupset"));
const tooltip1 = popupset1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tooltip"));
tooltip1.setAttribute("id", 'tooltip-bibtexURL');
const description1 = tooltip1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "description"));
description1.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.fields.doi-and-url.warning"] || "better-bibtex.Preferences.export.fields.doi-and-url.warning"));
const tooltip2 = popupset1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tooltip"));
tooltip2.setAttribute("id", 'tooltip-jabrefFormat');
const description2 = tooltip2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "description"));
description2.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.jabrefFormat.warn"] || "better-bibtex.Preferences.export.jabrefFormat.warn"));
const tooltip3 = popupset1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tooltip"));
tooltip3.setAttribute("id", 'tooltip-importSentenceCase');
const description3 = tooltip3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "description"));
description3.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.advanced.import.sentenceCase.warning"] || "better-bibtex.Preferences.advanced.import.sentenceCase.warning"));
const tooltip4 = popupset1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tooltip"));
tooltip4.setAttribute("id", 'tooltip-importCaseProtection');
const description4 = tooltip4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "description"));
description4.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.advanced.import.caseProtection.warning"] || "better-bibtex.Preferences.advanced.import.caseProtection.warning"));
const tooltip5 = popupset1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tooltip"));
tooltip5.setAttribute("id", 'tooltip-exportTitleCase');
const description5 = tooltip5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "description"));
description5.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.advanced.export.titleCase.warning"] || "better-bibtex.Preferences.advanced.export.titleCase.warning"));
const tooltip6 = popupset1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tooltip"));
tooltip6.setAttribute("id", 'tooltip-exportBraceProtection');
const description6 = tooltip6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "description"));
description6.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.advanced.export.braceProtection.warning"] || "better-bibtex.Preferences.advanced.export.braceProtection.warning"));
const tooltip7 = popupset1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tooltip"));
tooltip7.setAttribute("id", 'tooltip-retainCache');
const description7 = tooltip7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "description"));
description7.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.advanced.export.retainCache.warning"] || "better-bibtex.Preferences.advanced.export.retainCache.warning"));
const preferences1 = prefpane1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preferences"));
preferences1.setAttribute("id", 'zotero-preferences-cite');
const preference1 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference1.setAttribute("id", 'pref-better-bibtex-language');
preference1.setAttribute("name", "extensions.zotero.translators.better-bibtex.language");
preference1.setAttribute("type", "string");
preference1.setAttribute("default", "langid");
const preference2 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference2.setAttribute("id", 'pref-better-bibtex-DOIandURL');
preference2.setAttribute("name", "extensions.zotero.translators.better-bibtex.DOIandURL");
preference2.setAttribute("type", "string");
preference2.setAttribute("default", "both");
const preference3 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference3.setAttribute("id", 'pref-better-bibtex-automaticTags');
preference3.setAttribute("name", "extensions.zotero.translators.better-bibtex.automaticTags");
preference3.setAttribute("type", "bool");
preference3.setAttribute("default", "true");
const preference4 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference4.setAttribute("id", 'pref-better-bibtex-asciiBibLaTeX');
preference4.setAttribute("name", "extensions.zotero.translators.better-bibtex.asciiBibLaTeX");
preference4.setAttribute("type", "bool");
preference4.setAttribute("default", "false");
const preference5 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference5.setAttribute("name", "extensions.zotero.translators.better-bibtex.ascii");
preference5.setAttribute("type", "string");
preference5.setAttribute("default", "");
const preference6 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference6.setAttribute("id", 'pref-better-bibtex-asciiBibTeX');
preference6.setAttribute("name", "extensions.zotero.translators.better-bibtex.asciiBibTeX");
preference6.setAttribute("type", "bool");
preference6.setAttribute("default", "true");
const preference7 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference7.setAttribute("id", 'pref-better-bibtex-autoExport');
preference7.setAttribute("name", "extensions.zotero.translators.better-bibtex.autoExport");
preference7.setAttribute("type", "string");
preference7.setAttribute("default", "immediate");
const preference8 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference8.setAttribute("id", 'pref-better-bibtex-quickCopyMode');
preference8.setAttribute("name", "extensions.zotero.translators.better-bibtex.quickCopyMode");
preference8.setAttribute("type", "string");
preference8.setAttribute("default", "latex");
const preference9 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference9.setAttribute("id", 'pref-better-bibtex-citeCommand');
preference9.setAttribute("name", "extensions.zotero.translators.better-bibtex.citeCommand");
preference9.setAttribute("type", "string");
preference9.setAttribute("default", "cite");
const preference10 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference10.setAttribute("id", 'pref-better-bibtex-quickCopyPandocBrackets');
preference10.setAttribute("name", "extensions.zotero.translators.better-bibtex.quickCopyPandocBrackets");
preference10.setAttribute("type", "bool");
preference10.setAttribute("default", "false");
const preference11 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference11.setAttribute("id", 'pref-better-bibtex-quickCopyEta');
preference11.setAttribute("name", "extensions.zotero.translators.better-bibtex.quickCopyEta");
preference11.setAttribute("type", "string");
preference11.setAttribute("default", "");
const preference12 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference12.setAttribute("id", 'pref-better-bibtex-quickCopyOrgMode');
preference12.setAttribute("name", "extensions.zotero.translators.better-bibtex.quickCopyOrgMode");
preference12.setAttribute("type", "string");
preference12.setAttribute("default", "zotero");
const preference13 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference13.setAttribute("id", 'pref-better-bibtex-quickCopySelectLink');
preference13.setAttribute("name", "extensions.zotero.translators.better-bibtex.quickCopySelectLink");
preference13.setAttribute("type", "string");
preference13.setAttribute("default", "zotero");
const preference14 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference14.setAttribute("id", 'pref-better-bibtex-citekeyFormat');
preference14.setAttribute("name", "extensions.zotero.translators.better-bibtex.citekeyFormat");
preference14.setAttribute("type", "string");
preference14.setAttribute("default", "\u200bauth.lower + shorttitle(3,3) + year");
const preference15 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference15.setAttribute("id", 'pref-better-bibtex-citekeyFormatBackup');
preference15.setAttribute("name", "extensions.zotero.translators.better-bibtex.citekeyFormatBackup");
preference15.setAttribute("type", "string");
preference15.setAttribute("default", "");
const preference16 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference16.setAttribute("id", 'pref-better-bibtex-citekeySearch');
preference16.setAttribute("name", "extensions.zotero.translators.better-bibtex.citekeySearch");
preference16.setAttribute("type", "bool");
preference16.setAttribute("default", "true");
const preference17 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference17.setAttribute("id", 'pref-better-bibtex-citekeyFold');
preference17.setAttribute("name", "extensions.zotero.translators.better-bibtex.citekeyFold");
preference17.setAttribute("type", "bool");
preference17.setAttribute("default", "true");
const preference18 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference18.setAttribute("id", 'pref-better-bibtex-keyConflictPolicy');
preference18.setAttribute("name", "extensions.zotero.translators.better-bibtex.keyConflictPolicy");
preference18.setAttribute("type", "string");
preference18.setAttribute("default", "keep");
const preference19 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference19.setAttribute("id", 'pref-better-bibtex-aux-import');
preference19.setAttribute("name", "extensions.zotero.translators.better-bibtex.auxImport");
preference19.setAttribute("type", "bool");
preference19.setAttribute("default", "false");
const preference20 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference20.setAttribute("id", 'pref-better-bibtex-keyScope');
preference20.setAttribute("name", "extensions.zotero.translators.better-bibtex.keyScope");
preference20.setAttribute("type", "string");
preference20.setAttribute("default", "library");
const preference21 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference21.setAttribute("id", 'pref-better-bibtex-exportBibTeXStrings');
preference21.setAttribute("name", "extensions.zotero.translators.better-bibtex.exportBibTeXStrings");
preference21.setAttribute("type", "string");
preference21.setAttribute("default", "off");
const preference22 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference22.setAttribute("id", 'pref-better-bibtex-importBibTeXStrings');
preference22.setAttribute("name", "extensions.zotero.translators.better-bibtex.importBibTeXStrings");
preference22.setAttribute("type", "bool");
preference22.setAttribute("default", "true");
const preference23 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference23.setAttribute("id", 'pref-better-bibtex-bibtexParticleNoOp');
preference23.setAttribute("name", "extensions.zotero.translators.better-bibtex.bibtexParticleNoOp");
preference23.setAttribute("type", "bool");
preference23.setAttribute("default", "false");
const preference24 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference24.setAttribute("id", 'pref-better-bibtex-skipFields');
preference24.setAttribute("name", "extensions.zotero.translators.better-bibtex.skipFields");
preference24.setAttribute("type", "string");
preference24.setAttribute("default", "");
const preference25 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference25.setAttribute("id", 'pref-better-bibtex-warnBulkModify');
preference25.setAttribute("name", "extensions.zotero.translators.better-bibtex.warnBulkModify");
preference25.setAttribute("type", "int");
preference25.setAttribute("default", "10");
const preference26 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference26.setAttribute("id", 'pref-better-bibtex-postscript');
preference26.setAttribute("name", "extensions.zotero.translators.better-bibtex.postscript");
preference26.setAttribute("type", "string");
preference26.setAttribute("default", "");
const preference27 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference27.setAttribute("id", 'pref-better-bibtex-strings');
preference27.setAttribute("name", "extensions.zotero.translators.better-bibtex.strings");
preference27.setAttribute("type", "string");
preference27.setAttribute("default", "");
const preference28 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference28.setAttribute("id", 'pref-better-bibtex-autoAbbrev');
preference28.setAttribute("name", "extensions.zotero.translators.better-bibtex.autoAbbrev");
preference28.setAttribute("type", "bool");
preference28.setAttribute("default", "false");
const preference29 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference29.setAttribute("id", 'pref-better-bibtex-autoAbbrevStyle');
preference29.setAttribute("name", "extensions.zotero.translators.better-bibtex.autoAbbrevStyle");
preference29.setAttribute("type", "string");
preference29.setAttribute("default", "");
const preference30 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference30.setAttribute("name", "extensions.zotero.translators.better-bibtex.autoExportIdleWait");
preference30.setAttribute("type", "int");
preference30.setAttribute("default", "10");
const preference31 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference31.setAttribute("name", "extensions.zotero.translators.better-bibtex.cacheFlushInterval");
preference31.setAttribute("type", "int");
preference31.setAttribute("default", "5");
const preference32 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference32.setAttribute("name", "extensions.zotero.translators.better-bibtex.csquotes");
preference32.setAttribute("type", "string");
preference32.setAttribute("default", "");
const preference33 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference33.setAttribute("name", "extensions.zotero.translators.better-bibtex.patchDates");
preference33.setAttribute("type", "string");
preference33.setAttribute("default", "dateadded=dateAdded, date-added=dateAdded, datemodified=dateModified, date-modified=dateModified");
const preference34 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference34.setAttribute("name", "extensions.zotero.translators.better-bibtex.rawLaTag");
preference34.setAttribute("type", "string");
preference34.setAttribute("default", "#LaTeX");
const preference35 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference35.setAttribute("name", "extensions.zotero.translators.better-bibtex.rawImports");
preference35.setAttribute("type", "bool");
preference35.setAttribute("default", "false");
const preference36 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference36.setAttribute("name", "extensions.zotero.translators.better-bibtex.skipWords");
preference36.setAttribute("type", "string");
preference36.setAttribute("default", "a,ab,aboard,about,above,across,after,against,al,along,amid,among,an,and,anti,around,as,at,before,behind,below,beneath,beside,besides,between,beyond,but,by,d,da,das,de,del,dell,dello,dei,degli,della,dell,delle,dem,den,der,des,despite,die,do,down,du,during,ein,eine,einem,einen,einer,eines,el,en,et,except,for,from,gli,i,il,in,inside,into,is,l,la,las,le,les,like,lo,los,near,nor,of,off,on,onto,or,over,past,per,plus,round,save,since,so,some,sur,than,the,through,to,toward,towards,un,una,unas,under,underneath,une,unlike,uno,unos,until,up,upon,versus,via,von,while,with,within,without,yet,zu,zum");
const preference37 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference37.setAttribute("name", "extensions.zotero.translators.better-bibtex.verbatimFields");
preference37.setAttribute("type", "string");
preference37.setAttribute("default", "url,doi,file,ids,eprint,/^verb[a-z]$/,groups,/^citeulike-linkout-[0-9]+$/, /^bdsk-url-[0-9]+$/");
const preference38 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference38.setAttribute("id", 'pref-better-bibtex-qualityReport');
preference38.setAttribute("name", "extensions.zotero.translators.better-bibtex.qualityReport");
preference38.setAttribute("type", "bool");
preference38.setAttribute("default", "false");
const preference39 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference39.setAttribute("name", "extensions.zotero.translators.better-bibtex.biblatexExtendedDateFormat");
preference39.setAttribute("type", "bool");
preference39.setAttribute("default", "true");
const preference40 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference40.setAttribute("id", 'pref-better-bibtex-biblatexExtendedNameFormat');
preference40.setAttribute("name", "extensions.zotero.translators.better-bibtex.biblatexExtendedNameFormat");
preference40.setAttribute("type", "bool");
preference40.setAttribute("default", "false");
const preference41 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference41.setAttribute("name", "extensions.zotero.translators.better-bibtex.startupProgress");
preference41.setAttribute("type", "string");
preference41.setAttribute("default", "popup");
const preference42 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference42.setAttribute("name", "extensions.zotero.translators.better-bibtex.importUnknownTexCommand");
preference42.setAttribute("type", "string");
preference42.setAttribute("default", "ignore");
const preference43 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference43.setAttribute("name", "extensions.zotero.translators.better-bibtex.autoExportDelay");
preference43.setAttribute("type", "int");
preference43.setAttribute("default", "5");
const preference44 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference44.setAttribute("name", "extensions.zotero.translators.better-bibtex.warnTitleCased");
preference44.setAttribute("type", "bool");
preference44.setAttribute("default", "false");
const preference45 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference45.setAttribute("name", "extensions.zotero.translators.better-bibtex.itemObserverDelay");
preference45.setAttribute("type", "int");
preference45.setAttribute("default", "5");
const preference46 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference46.setAttribute("name", "extensions.zotero.translators.better-bibtex.autoPinDelay");
preference46.setAttribute("type", "int");
preference46.setAttribute("default", "0");
const preference47 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference47.setAttribute("name", "extensions.zotero.translators.better-bibtex.parseParticles");
preference47.setAttribute("type", "bool");
preference47.setAttribute("default", "true");
const preference48 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference48.setAttribute("name", "extensions.zotero.translators.better-bibtex.import");
preference48.setAttribute("type", "bool");
preference48.setAttribute("default", "true");
const preference49 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference49.setAttribute("name", "extensions.zotero.translators.better-bibtex.importExtra");
preference49.setAttribute("type", "bool");
preference49.setAttribute("default", "true");
const preference50 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference50.setAttribute("name", "extensions.zotero.translators.better-bibtex.importNoteToExtra");
preference50.setAttribute("type", "string");
preference50.setAttribute("default", "");
const preference51 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference51.setAttribute("name", "extensions.zotero.translators.better-bibtex.importCitationKey");
preference51.setAttribute("type", "bool");
preference51.setAttribute("default", "true");
const preference52 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference52.setAttribute("id", 'pref-better-bibtex-extraMergeTeX');
preference52.setAttribute("name", "extensions.zotero.translators.better-bibtex.extraMergeTeX");
preference52.setAttribute("type", "bool");
preference52.setAttribute("default", "false");
const preference53 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference53.setAttribute("id", 'pref-better-bibtex-extraMergeCSL');
preference53.setAttribute("name", "extensions.zotero.translators.better-bibtex.extraMergeCSL");
preference53.setAttribute("type", "bool");
preference53.setAttribute("default", "false");
const preference54 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference54.setAttribute("id", 'pref-better-bibtex-extraMergeCitekeys');
preference54.setAttribute("name", "extensions.zotero.translators.better-bibtex.extraMergeCitekeys");
preference54.setAttribute("type", "bool");
preference54.setAttribute("default", "false");
const preference55 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference55.setAttribute("name", "extensions.zotero.translators.better-bibtex.postscriptOverride");
preference55.setAttribute("type", "string");
preference55.setAttribute("default", "");
const preference56 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference56.setAttribute("name", "extensions.zotero.translators.better-bibtex.preferencesOverride");
preference56.setAttribute("type", "string");
preference56.setAttribute("default", "");
const preference57 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference57.setAttribute("name", "extensions.zotero.translators.better-bibtex.stringsOverride");
preference57.setAttribute("type", "string");
preference57.setAttribute("default", "");
const preference58 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference58.setAttribute("id", 'pref-better-bibtex-kuroshiro');
preference58.setAttribute("name", "extensions.zotero.translators.better-bibtex.kuroshiro");
preference58.setAttribute("type", "bool");
preference58.setAttribute("default", "false");
const preference59 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference59.setAttribute("id", 'pref-better-bibtex-jieba');
preference59.setAttribute("name", "extensions.zotero.translators.better-bibtex.jieba");
preference59.setAttribute("type", "bool");
preference59.setAttribute("default", "false");
const preference60 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference60.setAttribute("name", "extensions.zotero.translators.better-bibtex.relativeFilePaths");
preference60.setAttribute("type", "bool");
preference60.setAttribute("default", "false");
const preference61 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference61.setAttribute("name", "extensions.zotero.translators.better-bibtex.git");
preference61.setAttribute("type", "string");
preference61.setAttribute("default", "config");
const preference62 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference62.setAttribute("id", 'pref-better-bibtex-mapUnicode');
preference62.setAttribute("name", "extensions.zotero.translators.better-bibtex.mapUnicode");
preference62.setAttribute("type", "string");
preference62.setAttribute("default", "conservative");
const preference63 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference63.setAttribute("name", "extensions.zotero.translators.better-bibtex.mapText");
preference63.setAttribute("type", "string");
preference63.setAttribute("default", "");
const preference64 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference64.setAttribute("name", "extensions.zotero.translators.better-bibtex.mapMath");
preference64.setAttribute("type", "string");
preference64.setAttribute("default", "");
const preference65 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference65.setAttribute("id", 'pref-better-bibtex-cache');
preference65.setAttribute("name", "extensions.zotero.translators.better-bibtex.cache");
preference65.setAttribute("type", "bool");
preference65.setAttribute("default", "true");
const preference66 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference66.setAttribute("name", "extensions.zotero.translators.better-bibtex.separatorList");
preference66.setAttribute("type", "string");
preference66.setAttribute("default", "and");
const preference67 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference67.setAttribute("name", "extensions.zotero.translators.better-bibtex.separatorNames");
preference67.setAttribute("type", "string");
preference67.setAttribute("default", "and");
const preference68 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference68.setAttribute("name", "extensions.zotero.translators.better-bibtex.charmap");
preference68.setAttribute("type", "string");
preference68.setAttribute("default", "");
const preference69 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference69.setAttribute("id", 'pref-better-bibtex-retainCache');
preference69.setAttribute("name", "extensions.zotero.translators.better-bibtex.retainCache");
preference69.setAttribute("type", "bool");
preference69.setAttribute("default", "false");
const preference70 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference70.setAttribute("id", 'pref-better-bibtex-exportTitleCase');
preference70.setAttribute("name", "extensions.zotero.translators.better-bibtex.exportTitleCase");
preference70.setAttribute("type", "bool");
preference70.setAttribute("default", "true");
const preference71 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference71.setAttribute("id", 'pref-better-bibtex-importCaseProtection');
preference71.setAttribute("name", "extensions.zotero.translators.better-bibtex.importCaseProtection");
preference71.setAttribute("type", "string");
preference71.setAttribute("default", "as-needed");
const preference72 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference72.setAttribute("id", 'pref-better-bibtex-bibtexURL');
preference72.setAttribute("name", "extensions.zotero.translators.better-bibtex.bibtexURL");
preference72.setAttribute("type", "string");
preference72.setAttribute("default", "off");
const preference73 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference73.setAttribute("id", 'pref-better-bibtex-jabrefFormat');
preference73.setAttribute("name", "extensions.zotero.translators.better-bibtex.jabrefFormat");
preference73.setAttribute("type", "int");
preference73.setAttribute("default", "0");
const preference74 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference74.setAttribute("id", 'pref-better-bibtex-biblatexExtractEprint');
preference74.setAttribute("name", "extensions.zotero.translators.better-bibtex.biblatexExtractEprint");
preference74.setAttribute("type", "bool");
preference74.setAttribute("default", "true");
const preference75 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference75.setAttribute("id", 'pref-better-bibtex-exportBraceProtection');
preference75.setAttribute("name", "extensions.zotero.translators.better-bibtex.exportBraceProtection");
preference75.setAttribute("type", "bool");
preference75.setAttribute("default", "true");
const preference76 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference76.setAttribute("id", 'pref-better-bibtex-importSentenceCase');
preference76.setAttribute("name", "extensions.zotero.translators.better-bibtex.importSentenceCase");
preference76.setAttribute("type", "string");
preference76.setAttribute("default", "on+guess");
const preference77 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference77.setAttribute("name", "extensions.zotero.translators.better-bibtex.importJabRefStrings");
preference77.setAttribute("type", "bool");
preference77.setAttribute("default", "true");
const preference78 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference78.setAttribute("name", "extensions.zotero.translators.better-bibtex.importJabRefAbbreviations");
preference78.setAttribute("type", "bool");
preference78.setAttribute("default", "true");
const preference79 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference79.setAttribute("name", "extensions.zotero.translators.better-bibtex.autoExportPathReplaceDirSep");
preference79.setAttribute("type", "string");
preference79.setAttribute("default", "-");
const preference80 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference80.setAttribute("name", "extensions.zotero.translators.better-bibtex.autoExportPathReplaceSpace");
preference80.setAttribute("type", "string");
preference80.setAttribute("default", " ");
const preference81 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference81.setAttribute("name", "extensions.zotero.translators.better-bibtex.autoExportPathReplaceDiacritics");
preference81.setAttribute("type", "bool");
preference81.setAttribute("default", "false");
const preference82 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference82.setAttribute("name", "extensions.zotero.translators.better-bibtex.baseAttachmentPath");
preference82.setAttribute("type", "string");
preference82.setAttribute("default", "");
const preference83 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference83.setAttribute("name", "extensions.zotero.translators.better-bibtex.scrubDatabase");
preference83.setAttribute("type", "bool");
preference83.setAttribute("default", "false");
const preference84 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference84.setAttribute("name", "extensions.zotero.translators.better-bibtex.testing");
preference84.setAttribute("type", "bool");
preference84.setAttribute("default", "false");
const preference85 = preferences1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "preference"));
preference85.setAttribute("name", "extensions.zotero.translators.better-bibtex.platform");
preference85.setAttribute("type", "string");
preference85.setAttribute("default", "");
const deck1 = prefpane1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "deck"));
deck1.setAttribute("id", 'better-bibtex-prefs-deck');
deck1.setAttribute("selectedIndex", '0');
const label1 = deck1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label1.setAttribute("id", 'better-bibtex-loading');
label1.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.prefpane.loading"] || "better-bibtex.Preferences.prefpane.loading"));
const tabbox1 = deck1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabbox"));
tabbox1.setAttribute("id", 'better-bibtex-prefs-tabbox');
const tabs1 = tabbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabs"));
tabs1.setAttribute("id", 'better-bibtex-prefs-tabs');
tabs1.setAttribute("onselect", "Zotero.BetterBibTeX.PrefPane.refresh()");
const tab1 = tabs1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab1.setAttribute("id", 'better-bibtex-prefs-citekey');
tab1.setAttribute("label", tr["better-bibtex.Preferences.tab.citekey"] || "better-bibtex.Preferences.tab.citekey");
const tab2 = tabs1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab2.setAttribute("id", 'better-bibtex-prefs-export');
tab2.setAttribute("label", tr["better-bibtex.Preferences.tab.export"] || "better-bibtex.Preferences.tab.export");
const tab3 = tabs1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab3.setAttribute("id", 'better-bibtex-prefs-auto-export');
tab3.setAttribute("label", tr["better-bibtex.Preferences.tab.auto-export"] || "better-bibtex.Preferences.tab.auto-export");
const tab4 = tabs1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab4.setAttribute("label", tr["better-bibtex.Preferences.advanced.tab.import"] || "better-bibtex.Preferences.advanced.tab.import");
const tab5 = tabs1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab5.setAttribute("label", tr["better-bibtex.Preferences.export.misc"] || "better-bibtex.Preferences.export.misc");
const tabpanels1 = tabbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanels"));
tabpanels1.setAttribute("id", 'better-bibtex-prefs-tabpanels');
tabpanels1.setAttribute("flex", "1");
const tabpanel1 = tabpanels1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel1.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "page", 'citation-keys');
tabpanel1.setAttribute("flex", "1");
tabpanel1.setAttribute("orient", "vertical");
const vbox1 = tabpanel1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "vbox"));
const label2 = vbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label2.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-citekeyFormat");
label2.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.citekey.format"] || "better-bibtex.Preferences.citekey.format"));
const textbox1 = vbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox1.setAttribute("id", 'id-better-bibtex-preferences-citekeyFormat');
textbox1.setAttribute("flex", '1');
textbox1.setAttribute("rows", 1);
textbox1.setAttribute("onfocus", "this.setAttribute('rows', '5'); Zotero.BetterBibTeX.PrefPane.getCitekeyFormat(event.target); showNew();");
textbox1.setAttribute("onblur", "this.setAttribute('rows', '1'); Zotero.BetterBibTeX.PrefPane.saveCitekeyFormat(event.target); showNew();");
textbox1.setAttribute("oninput", "Zotero.BetterBibTeX.PrefPane.checkCitekeyFormat(event.target); showNew();");
textbox1.setAttribute("onkeypress", "setTimeout(function() { Zotero.BetterBibTeX.PrefPane.checkCitekeyFormat(event.target); showNew() }, 1);");
textbox1.setAttribute("multiline", 'true');
const label3 = vbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label3.setAttribute("id", 'id-better-bibtex-label-citekeyFormatNew');
label3.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.citekey.format.new"] || "better-bibtex.Preferences.citekey.format.new"));
const textbox2 = vbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox2.setAttribute("id", 'id-better-bibtex-preferences-citekeyFormatNew');
textbox2.setAttribute("flex", '1');
textbox2.setAttribute("rows", 1);
textbox2.setAttribute("readonly", 'true');
textbox2.setAttribute("multiline", 'true');
textbox2.setAttribute("onfocus", "if (this.value) this.setAttribute('rows', '5')");
textbox2.setAttribute("onblur", "this.setAttribute('rows', '1')");
const label4 = vbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label4.setAttribute("id", 'id-better-bibtex-label-citekeyFormatBackup');
label4.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-citekeyFormatBackup");
label4.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.citekey.format.backup"] || "better-bibtex.Preferences.citekey.format.backup"));
const textbox3 = vbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox3.setAttribute("id", 'id-better-bibtex-preferences-citekeyFormatBackup');
textbox3.setAttribute("preference", 'pref-better-bibtex-citekeyFormatBackup');
textbox3.setAttribute("flex", '1');
textbox3.setAttribute("rows", 1);
textbox3.setAttribute("readonly", 'true');
textbox3.setAttribute("multiline", 'true');
textbox3.setAttribute("onfocus", "if (this.value) this.setAttribute('rows', '5')");
textbox3.setAttribute("onblur", "this.setAttribute('rows', '1')");
const checkbox1 = tabpanel1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox1.setAttribute("preference", "pref-better-bibtex-citekeyFold");
checkbox1.setAttribute("label", tr["better-bibtex.Preferences.citekey.fold"] || "better-bibtex.Preferences.citekey.fold");
const checkbox2 = tabpanel1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox2.setAttribute("preference", "pref-better-bibtex-citekeySearch");
checkbox2.setAttribute("label", tr["better-bibtex.Preferences.citekey.search"] || "better-bibtex.Preferences.citekey.search");
const groupbox1 = tabpanel1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "groupbox"));
groupbox1.setAttribute("style", 'margin-bottom: 10px');
const caption1 = groupbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "caption"));
caption1.setAttribute("label", tr["better-bibtex.Preferences.citekey.uniqueness"] || "better-bibtex.Preferences.citekey.uniqueness");
const hbox1 = groupbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label5 = hbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label5.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-keyScope");
label5.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.citekey.uniqueness.scope"] || "better-bibtex.Preferences.citekey.uniqueness.scope"));
const menulist1 = hbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist1.setAttribute("preference", "pref-better-bibtex-keyScope");
const menupopup1 = menulist1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem1 = menupopup1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem1.setAttribute("label", tr["better-bibtex.Preferences.citekey.uniqueness.scope.global"] || "better-bibtex.Preferences.citekey.uniqueness.scope.global");
menuitem1.setAttribute("value", "global");
const menuitem2 = menupopup1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem2.setAttribute("label", tr["better-bibtex.Preferences.citekey.uniqueness.scope.library"] || "better-bibtex.Preferences.citekey.uniqueness.scope.library");
menuitem2.setAttribute("value", "library");
const hbox2 = groupbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label6 = hbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label6.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-keyConflictPolicy");
label6.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.citekey.uniqueness.conflict"] || "better-bibtex.Preferences.citekey.uniqueness.conflict"));
const menulist2 = hbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist2.setAttribute("preference", "pref-better-bibtex-keyConflictPolicy");
const menupopup2 = menulist2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem3 = menupopup2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem3.setAttribute("label", tr["better-bibtex.Preferences.citekey.uniqueness.conflict.change"] || "better-bibtex.Preferences.citekey.uniqueness.conflict.change");
menuitem3.setAttribute("value", "change");
const menuitem4 = menupopup2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem4.setAttribute("label", tr["better-bibtex.Preferences.citekey.uniqueness.conflict.keep"] || "better-bibtex.Preferences.citekey.uniqueness.conflict.keep");
menuitem4.setAttribute("value", "keep");
const groupbox2 = tabpanel1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "groupbox"));
const caption2 = groupbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "caption"));
caption2.setAttribute("label", tr["better-bibtex.Preferences.advanced.ideographs"] || "better-bibtex.Preferences.advanced.ideographs");
const checkbox3 = groupbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox3.setAttribute("preference", "pref-better-bibtex-kuroshiro");
checkbox3.setAttribute("label", tr["better-bibtex.Preferences.advanced.ideographs.kuroshiro"] || "better-bibtex.Preferences.advanced.ideographs.kuroshiro");
const checkbox4 = groupbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox4.setAttribute("preference", "pref-better-bibtex-jieba");
checkbox4.setAttribute("label", tr["better-bibtex.Preferences.advanced.ideographs.jieba"] || "better-bibtex.Preferences.advanced.ideographs.jieba");
const hbox3 = tabpanel1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label7 = hbox3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label7.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-warnBulkModify");
label7.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.bulkWarning"] || "better-bibtex.Preferences.bulkWarning"));
const textbox4 = hbox3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox4.setAttribute("size", "5");
textbox4.setAttribute("preference", "pref-better-bibtex-warnBulkModify");
const hbox4 = tabpanel1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const button1 = hbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "button"));
button1.setAttribute("id", 'rescan-citekeys');
button1.classList.add("hidden");
button1.setAttribute("label", tr["better-bibtex.Preferences.rescan-citekeys"] || "better-bibtex.Preferences.rescan-citekeys");
button1.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.rescanCitekeys()");
const tabpanel2 = tabpanels1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel2.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "page", 'export');
tabpanel2.setAttribute("flex", "1");
tabpanel2.setAttribute("orient", "vertical");
const tabbox2 = tabpanel2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabbox"));
const tabs2 = tabbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabs"));
const tab6 = tabs2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab6.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex"] || "better-bibtex.Preferences.export.bibtex");
const tab7 = tabs2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab7.setAttribute("label", tr["better-bibtex.Preferences.export.biblatex"] || "better-bibtex.Preferences.export.biblatex");
const tab8 = tabs2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab8.setAttribute("label", tr["better-bibtex.Preferences.export.fields"] || "better-bibtex.Preferences.export.fields");
const tab9 = tabs2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab9.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy"] || "better-bibtex.Preferences.export.quickCopy");
const tab10 = tabs2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab10.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-postscript");
tab10.setAttribute("label", tr["better-bibtex.Preferences.advanced.tab.postscript"] || "better-bibtex.Preferences.advanced.tab.postscript");
const tab11 = tabs2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab11.setAttribute("label", tr["better-bibtex.Preferences.export.misc"] || "better-bibtex.Preferences.export.misc");
const tabpanels2 = tabbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanels"));
const tabpanel3 = tabpanels2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel3.setAttribute("orient", "vertical");
const checkbox5 = tabpanel3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox5.setAttribute("preference", "pref-better-bibtex-asciiBibTeX");
checkbox5.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.ascii"] || "better-bibtex.Preferences.export.bibtex.ascii");
const checkbox6 = tabpanel3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox6.setAttribute("preference", "pref-better-bibtex-bibtexParticleNoOp");
checkbox6.setAttribute("label", tr["better-bibtex.Preferences.export.fields.bibtexParticleNoOp"] || "better-bibtex.Preferences.export.fields.bibtexParticleNoOp");
const hbox5 = tabpanel3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label8 = hbox5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label8.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-bibtexURL");
label8.appendChild(doc.createTextNode("&better-bibtex.Preferences.export.bibtex.URLs;:"));
const image1 = hbox5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "image"));
image1.setAttribute("tooltip", "tooltip-bibtexURL");
image1.setAttribute("src", "chrome://zotero-better-bibtex/skin/attention.svg");
image1.setAttribute("width", "16");
image1.setAttribute("height", "16");
const hbox6 = tabpanel3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const menulist3 = hbox6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist3.setAttribute("preference", "pref-better-bibtex-bibtexURL");
const menupopup3 = menulist3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem5 = menupopup3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem5.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.URLs.off"] || "better-bibtex.Preferences.export.bibtex.URLs.off");
menuitem5.setAttribute("value", "off");
const menuitem6 = menupopup3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem6.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.URLs.note"] || "better-bibtex.Preferences.export.bibtex.URLs.note");
menuitem6.setAttribute("value", "note");
const menuitem7 = menupopup3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem7.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.URLs.note-url-ish"] || "better-bibtex.Preferences.export.bibtex.URLs.note-url-ish");
menuitem7.setAttribute("value", "note-url-ish");
const menuitem8 = menupopup3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem8.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.URLs.url"] || "better-bibtex.Preferences.export.bibtex.URLs.url");
menuitem8.setAttribute("value", "url");
const menuitem9 = menupopup3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem9.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.URLs.url-ish"] || "better-bibtex.Preferences.export.bibtex.URLs.url-ish");
menuitem9.setAttribute("value", "url-ish");
const hbox7 = hbox6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
hbox7.setAttribute("flex", '1');
const tabpanel4 = tabpanels2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel4.setAttribute("orient", "vertical");
const checkbox7 = tabpanel4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox7.setAttribute("preference", "pref-better-bibtex-asciiBibLaTeX");
checkbox7.setAttribute("label", tr["better-bibtex.Preferences.export.biblatex.ascii"] || "better-bibtex.Preferences.export.biblatex.ascii");
const checkbox8 = tabpanel4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox8.setAttribute("preference", "pref-better-bibtex-biblatexExtendedNameFormat");
checkbox8.setAttribute("label", tr["better-bibtex.Preferences.export.biblatex.extendedNameFormat"] || "better-bibtex.Preferences.export.biblatex.extendedNameFormat");
const checkbox9 = tabpanel4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox9.setAttribute("preference", "pref-better-bibtex-biblatexExtractEprint");
checkbox9.setAttribute("label", tr["better-bibtex.Preferences.export.biblatex.biblatexExtractEprint"] || "better-bibtex.Preferences.export.biblatex.biblatexExtractEprint");
const tabpanel5 = tabpanels2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel5.setAttribute("orient", "vertical");
const hbox8 = tabpanel5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label9 = hbox8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label9.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-language");
label9.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.fields.language"] || "better-bibtex.Preferences.export.fields.language"));
const menulist4 = hbox8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist4.setAttribute("preference", "pref-better-bibtex-language");
menulist4.setAttribute("preference-editable", "true");
const menupopup4 = menulist4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem10 = menupopup4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem10.setAttribute("label", tr["better-bibtex.Preferences.export.fields.language.langid"] || "better-bibtex.Preferences.export.fields.language.langid");
menuitem10.setAttribute("value", "langid");
const menuitem11 = menupopup4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem11.setAttribute("label", tr["better-bibtex.Preferences.export.fields.language.language"] || "better-bibtex.Preferences.export.fields.language.language");
menuitem11.setAttribute("value", "language");
const menuitem12 = menupopup4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem12.setAttribute("label", tr["better-bibtex.Preferences.export.fields.language.both"] || "better-bibtex.Preferences.export.fields.language.both");
menuitem12.setAttribute("value", "both");
const hbox9 = tabpanel5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label10 = hbox9.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label10.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-DOIandURL");
label10.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.fields.doi-and-url"] || "better-bibtex.Preferences.export.fields.doi-and-url"));
const menulist5 = hbox9.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist5.setAttribute("preference", "pref-better-bibtex-DOIandURL");
menulist5.setAttribute("preference-editable", "true");
const menupopup5 = menulist5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem13 = menupopup5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem13.setAttribute("label", tr["better-bibtex.Preferences.export.fields.doi-and-url.both"] || "better-bibtex.Preferences.export.fields.doi-and-url.both");
menuitem13.setAttribute("value", "both");
const menuitem14 = menupopup5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem14.setAttribute("label", tr["better-bibtex.Preferences.export.fields.doi-and-url.DOI"] || "better-bibtex.Preferences.export.fields.doi-and-url.DOI");
menuitem14.setAttribute("value", "doi");
const menuitem15 = menupopup5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem15.setAttribute("label", tr["better-bibtex.Preferences.export.fields.doi-and-url.URL"] || "better-bibtex.Preferences.export.fields.doi-and-url.URL");
menuitem15.setAttribute("value", "url");
const image2 = hbox9.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "image"));
image2.setAttribute("tooltip", "tooltip-bibtexURL");
image2.setAttribute("src", "chrome://zotero-better-bibtex/skin/attention.svg");
image2.setAttribute("width", "16");
image2.setAttribute("height", "16");
const hbox10 = tabpanel5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label11 = hbox10.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label11.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-skipFields");
label11.appendChild(doc.createTextNode("&better-bibtex.Preferences.export.fields.skip;:"));
const textbox5 = hbox10.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox5.setAttribute("id", 'id-better-bibtex-preferences-skipFields');
textbox5.setAttribute("size", '30');
textbox5.setAttribute("preference", 'pref-better-bibtex-skipFields');
const hbox11 = tabpanel5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label12 = hbox11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label12.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-jabrefFormat");
label12.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.jabrefFormat"] || "better-bibtex.Preferences.export.jabrefFormat"));
const menulist6 = hbox11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist6.setAttribute("preference", "pref-better-bibtex-jabrefFormat");
menulist6.setAttribute("preference-editable", "true");
const menupopup6 = menulist6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem16 = menupopup6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem16.setAttribute("label", tr["better-bibtex.Preferences.export.jabrefFormat.0"] || "better-bibtex.Preferences.export.jabrefFormat.0");
menuitem16.setAttribute("value", "0");
const menuitem17 = menupopup6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem17.setAttribute("label", tr["better-bibtex.Preferences.export.jabrefFormat.3"] || "better-bibtex.Preferences.export.jabrefFormat.3");
menuitem17.setAttribute("value", "3");
const menuitem18 = menupopup6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem18.setAttribute("label", tr["better-bibtex.Preferences.export.jabrefFormat.4"] || "better-bibtex.Preferences.export.jabrefFormat.4");
menuitem18.setAttribute("value", "4");
const menuitem19 = menupopup6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem19.setAttribute("label", tr["better-bibtex.Preferences.export.jabrefFormat.5"] || "better-bibtex.Preferences.export.jabrefFormat.5");
menuitem19.setAttribute("value", "5");
const image3 = hbox11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "image"));
image3.setAttribute("tooltip", "tooltip-jabrefFormat");
image3.setAttribute("src", "chrome://zotero-better-bibtex/skin/attention.svg");
image3.setAttribute("width", "16");
image3.setAttribute("height", "16");
const tabpanel6 = tabpanels2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel6.setAttribute("orient", "vertical");
const groupbox3 = tabpanel6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "groupbox"));
const caption3 = groupbox3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "caption"));
caption3.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.quickCopy.explanation"] || "better-bibtex.Preferences.export.quickCopy.explanation"));
const vbox2 = groupbox3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "vbox"));
vbox2.setAttribute("style", 'height: 14em;');
vbox2.setAttribute("flex", '1');
const hbox12 = vbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label13 = hbox12.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label13.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", 'pref-better-bibtex-quickCopyMode');
label13.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.quickCopy.format"] || "better-bibtex.Preferences.export.quickCopy.format"));
const menulist7 = hbox12.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist7.setAttribute("id", 'id-better-bibtex-preferences-quickCopyMode');
menulist7.setAttribute("preference", 'pref-better-bibtex-quickCopyMode');
menulist7.setAttribute("preference-editable", 'true');
menulist7.setAttribute("oncommand", 'Zotero.BetterBibTeX.PrefPane.refresh();');
const menupopup7 = menulist7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem20 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem20.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.latex"] || "better-bibtex.Preferences.export.quickCopy.latex");
menuitem20.setAttribute("value", 'latex');
const menuitem21 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem21.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.citekeys"] || "better-bibtex.Preferences.export.quickCopy.citekeys");
menuitem21.setAttribute("value", 'citekeys');
const menuitem22 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem22.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.pandoc"] || "better-bibtex.Preferences.export.quickCopy.pandoc");
menuitem22.setAttribute("value", 'pandoc');
const menuitem23 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem23.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.orgMode"] || "better-bibtex.Preferences.export.quickCopy.orgMode");
menuitem23.setAttribute("value", 'orgmode');
const menuitem24 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem24.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.orgRef"] || "better-bibtex.Preferences.export.quickCopy.orgRef");
menuitem24.setAttribute("value", 'orgRef');
const menuitem25 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem25.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.orgRef3"] || "better-bibtex.Preferences.export.quickCopy.orgRef3");
menuitem25.setAttribute("value", 'orgRef3');
const menuitem26 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem26.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.rtfScan"] || "better-bibtex.Preferences.export.quickCopy.rtfScan");
menuitem26.setAttribute("value", 'rtfScan');
const menuitem27 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem27.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.roamCiteKey"] || "better-bibtex.Preferences.export.quickCopy.roamCiteKey");
menuitem27.setAttribute("value", 'roamCiteKey');
const menuitem28 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem28.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.atom"] || "better-bibtex.Preferences.export.quickCopy.atom");
menuitem28.setAttribute("value", 'atom');
const menuitem29 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem29.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.gitbook"] || "better-bibtex.Preferences.export.quickCopy.gitbook");
menuitem29.setAttribute("value", 'gitbook');
const menuitem30 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem30.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.selectLink"] || "better-bibtex.Preferences.export.quickCopy.selectLink");
menuitem30.setAttribute("value", 'selectlink');
const menuitem31 = menupopup7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem31.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.etaTemplate"] || "better-bibtex.Preferences.export.quickCopy.etaTemplate");
menuitem31.setAttribute("value", 'eta');
const hbox13 = vbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
hbox13.setAttribute("id", 'better-bibtex-preferences-quickcopy-latex');
hbox13.classList.add("better-bibtex-preferences-quickcopy-details");
const label14 = hbox13.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label14.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", 'pref-better-bibtex-citeCommand');
label14.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.quickCopy.latex.command"] || "better-bibtex.Preferences.export.quickCopy.latex.command"));
const textbox6 = hbox13.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox6.setAttribute("size", '10');
textbox6.setAttribute("preference", 'pref-better-bibtex-citeCommand');
textbox6.setAttribute("onchange", 'Zotero.BetterBibTeX.PrefPane.refresh();');
textbox6.setAttribute("onkeypress", 'Zotero.setTimeout(function() { Zotero.BetterBibTeX.PrefPane.refresh() }, 1);');
const hbox14 = vbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
hbox14.setAttribute("id", 'better-bibtex-preferences-quickcopy-pandoc');
hbox14.classList.add("better-bibtex-preferences-quickcopy-details");
const checkbox10 = hbox14.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox10.setAttribute("id", 'id-better-bibtex-preferences-quickCopyPandocBrackets');
checkbox10.setAttribute("preference", 'pref-better-bibtex-quickCopyPandocBrackets');
checkbox10.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.pandoc.brackets"] || "better-bibtex.Preferences.export.quickCopy.pandoc.brackets");
const hbox15 = vbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
hbox15.setAttribute("id", 'better-bibtex-preferences-quickcopy-orgmode');
hbox15.classList.add("better-bibtex-preferences-quickcopy-details");
const label15 = hbox15.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label15.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", 'pref-better-bibtex-quickCopyOrgMode');
label15.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.quickCopy.orgMode"] || "better-bibtex.Preferences.export.quickCopy.orgMode"));
const menulist8 = hbox15.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist8.setAttribute("preference", 'pref-better-bibtex-quickCopyOrgMode');
const menupopup8 = menulist8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem32 = menupopup8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem32.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.orgMode.zotero"] || "better-bibtex.Preferences.export.quickCopy.orgMode.zotero");
menuitem32.setAttribute("value", 'zotero');
const menuitem33 = menupopup8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem33.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.orgMode.citekey"] || "better-bibtex.Preferences.export.quickCopy.orgMode.citekey");
menuitem33.setAttribute("value", 'citationkey');
const hbox16 = vbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
hbox16.setAttribute("id", 'better-bibtex-preferences-quickcopy-selectlink');
hbox16.classList.add("better-bibtex-preferences-quickcopy-details");
const label16 = hbox16.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label16.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", 'pref-better-bibtex-quickCopySelectLink');
label16.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.quickCopy.selectLink"] || "better-bibtex.Preferences.export.quickCopy.selectLink"));
const menulist9 = hbox16.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist9.setAttribute("preference", 'pref-better-bibtex-quickCopySelectLink');
const menupopup9 = menulist9.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem34 = menupopup9.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem34.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.selectLink.zotero"] || "better-bibtex.Preferences.export.quickCopy.selectLink.zotero");
menuitem34.setAttribute("value", 'zotero');
const menuitem35 = menupopup9.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem35.setAttribute("label", tr["better-bibtex.Preferences.export.quickCopy.selectLink.citekey"] || "better-bibtex.Preferences.export.quickCopy.selectLink.citekey");
menuitem35.setAttribute("value", 'citationkey');
const vbox3 = vbox2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "vbox"));
vbox3.setAttribute("id", 'better-bibtex-preferences-quickcopy-eta');
vbox3.classList.add("better-bibtex-preferences-quickcopy-details");
const label17 = vbox3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label17.classList.add("text-link");
label17.setAttribute("href", 'https://retorque.re/zotero-better-bibtex/installation/preferences/citation-keys/#quick-copydrag-and-drop-citations');
label17.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", 'pref-better-bibtex-quickCopyEta');
label17.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.quickCopy.etaTemplate"] || "better-bibtex.Preferences.export.quickCopy.etaTemplate"));
const textbox7 = vbox3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox7.setAttribute("rows", '10');
textbox7.setAttribute("multiline", 'true');
textbox7.setAttribute("preference", 'pref-better-bibtex-quickCopyEta');
const tabpanel7 = tabpanels2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel7.setAttribute("orient", "vertical");
const textbox8 = tabpanel7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox8.setAttribute("id", 'zotero-better-bibtex-postscript');
textbox8.setAttribute("rows", '10');
textbox8.setAttribute("multiline", 'true');
textbox8.setAttribute("preference", 'pref-better-bibtex-postscript');
textbox8.setAttribute("onblur", 'Zotero.BetterBibTeX.PrefPane.checkPostscript();');
textbox8.setAttribute("oninput", 'Zotero.BetterBibTeX.PrefPane.checkPostscript();');
textbox8.setAttribute("onkeypress", 'Zotero.setTimeout(function() { Zotero.BetterBibTeX.PrefPane.checkPostscript() }, 1);');
const textbox9 = tabpanel7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox9.setAttribute("id", 'better-bibtex-cache-warn-postscript');
textbox9.classList.add("plain");
textbox9.classList.add("textbox-emph");
textbox9.setAttribute("rows", '2');
textbox9.setAttribute("multiline", 'true');
textbox9.setAttribute("readonly", 'true');
textbox9.setAttribute("value", tr["better-bibtex.Preferences.postscript.warn"] || "better-bibtex.Preferences.postscript.warn");
const tabpanel8 = tabpanels2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel8.setAttribute("orient", "vertical");
const checkbox11 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox11.setAttribute("id", 'id-better-bibtex-preferences-autoAbbrev');
checkbox11.setAttribute("label", tr["better-bibtex.Preferences.auto-abbrev"] || "better-bibtex.Preferences.auto-abbrev");
checkbox11.setAttribute("preference", "pref-better-bibtex-autoAbbrev");
const separator1 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "separator"));
separator1.setAttribute("id", 'better-bibtex-abbrev-style-separator');
separator1.classList.add("thin");
separator1.classList.add("jurism");
const label18 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label18.setAttribute("id", 'better-bibtex-abbrev-style-label');
label18.classList.add("jurism");
label18.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-autoAbbrevStyle");
label18.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.auto-abbrev.style"] || "better-bibtex.Preferences.auto-abbrev.style"));
const menulist10 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist10.setAttribute("id", 'better-bibtex-abbrev-style');
menulist10.classList.add("jurism");
menulist10.setAttribute("onchange", "Zotero.BetterBibTeX.PrefPane.styleChanged()");
const menupopup10 = menulist10.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
menupopup10.setAttribute("id", 'better-bibtex-abbrev-style-popup');
const checkbox12 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox12.setAttribute("label", tr["better-bibtex.Preferences.export.qualityReport"] || "better-bibtex.Preferences.export.qualityReport");
checkbox12.setAttribute("preference", "pref-better-bibtex-qualityReport");
const checkbox13 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox13.setAttribute("label", tr["better-bibtex.Preferences.export.automaticTags"] || "better-bibtex.Preferences.export.automaticTags");
checkbox13.setAttribute("preference", "pref-better-bibtex-automaticTags");
const label19 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label19.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-mapUnicode");
label19.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.map-unicode"] || "better-bibtex.Preferences.export.map-unicode"));
const menulist11 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist11.setAttribute("preference", "pref-better-bibtex-mapUnicode");
const menupopup11 = menulist11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem36 = menupopup11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem36.setAttribute("label", tr["better-bibtex.Preferences.export.map-unicode.minimal-packages"] || "better-bibtex.Preferences.export.map-unicode.minimal-packages");
menuitem36.setAttribute("value", "minimal-packages");
const menuitem37 = menupopup11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem37.setAttribute("label", tr["better-bibtex.Preferences.export.map-unicode.conservative"] || "better-bibtex.Preferences.export.map-unicode.conservative");
menuitem37.setAttribute("value", "conservative");
const menuitem38 = menupopup11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem38.setAttribute("label", tr["better-bibtex.Preferences.export.map-unicode.text"] || "better-bibtex.Preferences.export.map-unicode.text");
menuitem38.setAttribute("value", "text");
const menuitem39 = menupopup11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem39.setAttribute("label", tr["better-bibtex.Preferences.export.map-unicode.math"] || "better-bibtex.Preferences.export.map-unicode.math");
menuitem39.setAttribute("value", "math");
const hbox17 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const checkbox14 = hbox17.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox14.setAttribute("preference", "pref-better-bibtex-exportTitleCase");
checkbox14.setAttribute("label", tr["better-bibtex.Preferences.advanced.export.titleCase"] || "better-bibtex.Preferences.advanced.export.titleCase");
const image4 = hbox17.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "image"));
image4.setAttribute("tooltip", "tooltip-exportTitleCase");
image4.setAttribute("src", "chrome://zotero-better-bibtex/skin/attention.svg");
image4.setAttribute("width", "16");
image4.setAttribute("height", "16");
const hbox18 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const checkbox15 = hbox18.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox15.setAttribute("preference", "pref-better-bibtex-exportBraceProtection");
checkbox15.setAttribute("label", tr["better-bibtex.Preferences.advanced.export.braceProtection"] || "better-bibtex.Preferences.advanced.export.braceProtection");
const image5 = hbox18.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "image"));
image5.setAttribute("tooltip", "tooltip-exportBraceProtection");
image5.setAttribute("src", "chrome://zotero-better-bibtex/skin/attention.svg");
image5.setAttribute("width", "16");
image5.setAttribute("height", "16");
const groupbox4 = tabpanel8.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "groupbox"));
const caption4 = groupbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "caption"));
caption4.appendChild(doc.createTextNode("Cache"));
const hbox19 = groupbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const checkbox16 = hbox19.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox16.setAttribute("preference", "pref-better-bibtex-retainCache");
checkbox16.setAttribute("label", tr["better-bibtex.Preferences.advanced.export.retainCache"] || "better-bibtex.Preferences.advanced.export.retainCache");
const image6 = hbox19.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "image"));
image6.setAttribute("tooltip", "tooltip-retainCache");
image6.setAttribute("src", "chrome://zotero-better-bibtex/skin/attention.svg");
image6.setAttribute("width", "16");
image6.setAttribute("height", "16");
const hbox20 = groupbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const checkbox17 = hbox20.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox17.setAttribute("preference", "pref-better-bibtex-cache");
checkbox17.setAttribute("label", tr["better-bibtex.Preferences.advanced.export.workers.cache"] || "better-bibtex.Preferences.advanced.export.workers.cache");
const label20 = groupbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label20.classList.add("better-bibtex-preferences-worker-state");
const hbox21 = groupbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const button2 = hbox21.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "button"));
button2.setAttribute("label", tr["better-bibtex.Preferences.resetCache"] || "better-bibtex.Preferences.resetCache");
button2.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.cacheReset()");
const hbox22 = hbox21.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
hbox22.setAttribute("flex", '1');
const tabpanel9 = tabpanels1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel9.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "page", 'automatic-export');
tabpanel9.setAttribute("flex", "1");
tabpanel9.setAttribute("orient", "vertical");
const vbox4 = tabpanel9.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "vbox"));
vbox4.setAttribute("flex", "1");
const label21 = vbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label21.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.auto-export.explanation"] || "better-bibtex.Preferences.auto-export.explanation"));
const separator2 = vbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "separator"));
separator2.classList.add("thin");
const hbox23 = vbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label22 = hbox23.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label22.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-autoExport");
label22.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.auto-export"] || "better-bibtex.Preferences.auto-export"));
const menulist12 = hbox23.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist12.setAttribute("preference", "pref-better-bibtex-autoExport");
const menupopup12 = menulist12.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem40 = menupopup12.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem40.setAttribute("label", tr["better-bibtex.Preferences.auto-export.off"] || "better-bibtex.Preferences.auto-export.off");
menuitem40.setAttribute("value", "off");
const menuitem41 = menupopup12.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem41.setAttribute("label", tr["better-bibtex.Preferences.auto-export.immediate"] || "better-bibtex.Preferences.auto-export.immediate");
menuitem41.setAttribute("value", "immediate");
const menuitem42 = menupopup12.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem42.setAttribute("label", tr["better-bibtex.Preferences.auto-export.idle"] || "better-bibtex.Preferences.auto-export.idle");
menuitem42.setAttribute("value", "idle");
const tabbox3 = tabpanel9.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabbox"));
tabbox3.setAttribute("id", 'better-bibtex-prefs-auto-export-tabbox');
tabbox3.setAttribute("hidden", "true");
const arrowscrollbox1 = tabbox3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "arrowscrollbox"));
arrowscrollbox1.classList.add("tabbrowser-arrowscrollbox");
arrowscrollbox1.setAttribute("allowevents", "true");
arrowscrollbox1.setAttribute("orient", "horizontal");
const tabs3 = arrowscrollbox1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabs"));
tabs3.setAttribute("id", 'better-bibtex-prefs-auto-export-tabs');
const tab12 = tabs3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab12.setAttribute("label", "auto-export");
const tabpanels3 = tabbox3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanels"));
tabpanels3.setAttribute("id", 'better-bibtex-prefs-auto-export-tabpanels');
tabpanels3.setAttribute("flex", "1");
const tabpanel10 = tabpanels3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel10.setAttribute("flex", "1");
tabpanel10.setAttribute("orient", "vertical");
const grid1 = tabpanel10.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "grid"));
grid1.setAttribute("flex", "1");
const columns1 = grid1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "columns"));
const column1 = columns1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "column"));
const column2 = columns1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "column"));
column2.setAttribute("flex", "1");
const rows1 = grid1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "rows"));
const row1 = rows1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "row"));
const label23 = row1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label23.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
label23.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "type");
const textbox10 = row1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox10.classList.add("plain");
textbox10.setAttribute("readonly", "true");
textbox10.setAttribute("value", "");
textbox10.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "name");
textbox10.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
const row2 = rows1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "row"));
const label24 = row2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label24.appendChild(doc.createTextNode("&better-bibtex.Preferences.auto-export.status;:"));
const textbox11 = row2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox11.classList.add("plain");
textbox11.setAttribute("readonly", "true");
textbox11.setAttribute("value", "");
textbox11.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "status");
textbox11.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
const row3 = rows1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "row"));
const label25 = row3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label25.appendChild(doc.createTextNode("&better-bibtex.Preferences.auto-export.updated;:"));
const textbox12 = row3.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox12.classList.add("plain");
textbox12.setAttribute("readonly", "true");
textbox12.setAttribute("value", "");
textbox12.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "updated");
textbox12.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
const row4 = rows1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "row"));
const label26 = row4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label26.appendChild(doc.createTextNode("&better-bibtex.Preferences.auto-export.translator;:"));
const textbox13 = row4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox13.classList.add("plain");
textbox13.setAttribute("readonly", "true");
textbox13.setAttribute("value", "");
textbox13.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "translator");
const row5 = rows1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "row"));
const label27 = row5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label27.appendChild(doc.createTextNode("&better-bibtex.Preferences.auto-export.target;:"));
const textbox14 = row5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox14.classList.add("plain");
textbox14.setAttribute("size", '30');
textbox14.setAttribute("readonly", "true");
textbox14.setAttribute("value", "");
textbox14.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "path");
const row6 = rows1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "row"));
const label28 = row6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label28.appendChild(doc.createTextNode("&better-bibtex.Preferences.auto-export.fields.error;:"));
const textbox15 = row6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox15.classList.add("plain");
textbox15.setAttribute("size", '30');
textbox15.setAttribute("readonly", "true");
textbox15.setAttribute("value", "");
textbox15.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "error");
textbox15.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
const row7 = rows1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "row"));
const vbox5 = tabpanel10.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "vbox"));
vbox5.classList.add("autoexport-options");
vbox5.classList.add("autoexport-BetterBibTeX");
vbox5.setAttribute("hidden", "true");
const checkbox18 = vbox5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox18.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
checkbox18.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "asciiBibTeX");
checkbox18.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.ascii"] || "better-bibtex.Preferences.export.bibtex.ascii");
checkbox18.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.edit(event.target)");
const checkbox19 = vbox5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox19.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
checkbox19.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "bibtexParticleNoOp");
checkbox19.setAttribute("label", tr["better-bibtex.Preferences.export.fields.bibtexParticleNoOp"] || "better-bibtex.Preferences.export.fields.bibtexParticleNoOp");
checkbox19.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.edit(event.target)");
const hbox24 = vbox5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label29 = hbox24.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label29.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.bibtex.URLs"] || "better-bibtex.Preferences.export.bibtex.URLs"));
const hbox25 = hbox24.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const menulist13 = hbox25.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist13.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
menulist13.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "bibtexURL");
menulist13.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.edit(event.currentTarget)");
const menupopup13 = menulist13.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem43 = menupopup13.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem43.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.URLs.off"] || "better-bibtex.Preferences.export.bibtex.URLs.off");
menuitem43.setAttribute("value", "off");
const menuitem44 = menupopup13.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem44.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.URLs.note"] || "better-bibtex.Preferences.export.bibtex.URLs.note");
menuitem44.setAttribute("value", "note");
const menuitem45 = menupopup13.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem45.setAttribute("label", tr["better-bibtex.Preferences.export.bibtex.URLs.url"] || "better-bibtex.Preferences.export.bibtex.URLs.url");
menuitem45.setAttribute("value", "url");
const image7 = hbox25.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "image"));
image7.setAttribute("tooltip", "tooltip-bibtexURL");
image7.setAttribute("src", "chrome://zotero-better-bibtex/skin/attention.svg");
image7.setAttribute("width", "16");
image7.setAttribute("height", "16");
const vbox6 = tabpanel10.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "vbox"));
vbox6.classList.add("autoexport-options");
vbox6.classList.add("autoexport-BetterBibLaTeX");
vbox6.setAttribute("hidden", "true");
const checkbox20 = vbox6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox20.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
checkbox20.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "asciiBibLaTeX");
checkbox20.setAttribute("label", tr["better-bibtex.Preferences.export.biblatex.ascii"] || "better-bibtex.Preferences.export.biblatex.ascii");
checkbox20.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.edit(event.target)");
const checkbox21 = vbox6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox21.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
checkbox21.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "biblatexExtendedNameFormat");
checkbox21.setAttribute("label", tr["better-bibtex.Preferences.export.biblatex.extendedNameFormat"] || "better-bibtex.Preferences.export.biblatex.extendedNameFormat");
checkbox21.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.edit(event.target)");
const vbox7 = tabpanel10.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "vbox"));
vbox7.classList.add("autoexport-options");
vbox7.classList.add("autoexport-BetterBibTeX");
vbox7.classList.add("autoexport-BetterBibLaTeX");
vbox7.setAttribute("hidden", "true");
const hbox26 = vbox7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
hbox26.classList.add("autoexport-options");
hbox26.classList.add("autoexport-BetterBibTeX");
hbox26.classList.add("autoexport-BetterBibLaTeX");
const label30 = hbox26.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label30.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.export.fields.doi-and-url"] || "better-bibtex.Preferences.export.fields.doi-and-url"));
const menulist14 = hbox26.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist14.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
menulist14.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "DOIandURL");
menulist14.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.edit(event.currentTarget)");
const menupopup14 = menulist14.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem46 = menupopup14.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem46.setAttribute("label", tr["better-bibtex.Preferences.export.fields.doi-and-url.both"] || "better-bibtex.Preferences.export.fields.doi-and-url.both");
menuitem46.setAttribute("value", "both");
const menuitem47 = menupopup14.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem47.setAttribute("label", tr["better-bibtex.Preferences.export.fields.doi-and-url.DOI"] || "better-bibtex.Preferences.export.fields.doi-and-url.DOI");
menuitem47.setAttribute("value", "doi");
const menuitem48 = menupopup14.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem48.setAttribute("label", tr["better-bibtex.Preferences.export.fields.doi-and-url.URL"] || "better-bibtex.Preferences.export.fields.doi-and-url.URL");
menuitem48.setAttribute("value", "url");
const checkbox22 = vbox7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox22.classList.add("autoexport-options");
checkbox22.classList.add("autoexport-BetterBibTeX");
checkbox22.classList.add("autoexport-BetterBibLaTeX");
checkbox22.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
checkbox22.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "exportNotes");
checkbox22.setAttribute("label", tr["better-bibtex.Preferences.auto-export.fields.notes"] || "better-bibtex.Preferences.auto-export.fields.notes");
checkbox22.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.edit(event.target)");
const checkbox23 = vbox7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox23.classList.add("autoexport-options");
checkbox23.classList.add("autoexport-BetterBibTeX");
checkbox23.classList.add("autoexport-BetterBibLaTeX");
checkbox23.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
checkbox23.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "useJournalAbbreviation");
checkbox23.setAttribute("label", tr["better-bibtex.Preferences.auto-export.fields.journalAbbrev"] || "better-bibtex.Preferences.auto-export.fields.journalAbbrev");
checkbox23.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.edit(event.target)");
const checkbox24 = vbox7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox24.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
checkbox24.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "recursive");
checkbox24.setAttribute("label", tr["better-bibtex.Preferences.auto-export.fields.recursive"] || "better-bibtex.Preferences.auto-export.fields.recursive");
checkbox24.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.edit(event.target)");
const hbox27 = tabpanel10.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const button3 = hbox27.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "button"));
button3.setAttribute("label", tr["better-bibtex.Preferences.auto-export.remove"] || "better-bibtex.Preferences.auto-export.remove");
button3.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
button3.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.remove(event.target)");
const button4 = hbox27.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "button"));
button4.setAttribute("label", tr["better-bibtex.Preferences.auto-export.run"] || "better-bibtex.Preferences.auto-export.run");
button4.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
button4.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.run(event.target)");
const button5 = hbox27.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "button"));
button5.setAttribute("label", "&better-bibtex.Preferences.auto-export.fields.cached;:");
button5.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
button5.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.autoexport.refreshCacheRate(event.target)");
const textbox16 = hbox27.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox16.classList.add("plain");
textbox16.setAttribute("readonly", "true");
textbox16.setAttribute("value", "");
textbox16.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-field", "cacherate");
textbox16.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "ae-id", "");
const tabpanel11 = tabpanels1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel11.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "page", 'import');
tabpanel11.setAttribute("flex", "1");
tabpanel11.setAttribute("orient", "vertical");
const hbox28 = tabpanel11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const groupbox5 = hbox28.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "groupbox"));
const caption5 = groupbox5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "caption"));
caption5.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-importSentenceCase");
caption5.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.advanced.import.sentenceCase"] || "better-bibtex.Preferences.advanced.import.sentenceCase"));
const image8 = caption5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "image"));
image8.setAttribute("tooltip", "tooltip-importSentenceCase");
image8.setAttribute("src", "chrome://zotero-better-bibtex/skin/attention.svg");
image8.setAttribute("width", "16");
image8.setAttribute("height", "16");
const radiogroup1 = groupbox5.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "radiogroup"));
radiogroup1.setAttribute("preference", "pref-better-bibtex-importSentenceCase");
const radio1 = radiogroup1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "radio"));
radio1.setAttribute("label", tr["better-bibtex.Preferences.advanced.import.sentenceCase.on_guess"] || "better-bibtex.Preferences.advanced.import.sentenceCase.on_guess");
radio1.setAttribute("value", "on+guess");
const radio2 = radiogroup1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "radio"));
radio2.setAttribute("label", tr["better-bibtex.Preferences.advanced.import.sentenceCase.on"] || "better-bibtex.Preferences.advanced.import.sentenceCase.on");
radio2.setAttribute("value", "on");
const radio3 = radiogroup1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "radio"));
radio3.setAttribute("label", tr["better-bibtex.Preferences.advanced.import.sentenceCase.off"] || "better-bibtex.Preferences.advanced.import.sentenceCase.off");
radio3.setAttribute("value", "off");
const hbox29 = tabpanel11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const label31 = hbox29.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "label"));
label31.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-importCaseProtection");
label31.appendChild(doc.createTextNode(tr["better-bibtex.Preferences.advanced.import.caseProtection"] || "better-bibtex.Preferences.advanced.import.caseProtection"));
const menulist15 = hbox29.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menulist"));
menulist15.setAttribute("preference", "pref-better-bibtex-importCaseProtection");
const menupopup15 = menulist15.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menupopup"));
const menuitem49 = menupopup15.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem49.setAttribute("label", tr["better-bibtex.Preferences.advanced.import.caseProtection.as_needed"] || "better-bibtex.Preferences.advanced.import.caseProtection.as_needed");
menuitem49.setAttribute("value", "as-needed");
const menuitem50 = menupopup15.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem50.setAttribute("label", tr["better-bibtex.Preferences.advanced.import.caseProtection.on"] || "better-bibtex.Preferences.advanced.import.caseProtection.on");
menuitem50.setAttribute("value", "on");
const menuitem51 = menupopup15.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "menuitem"));
menuitem51.setAttribute("label", tr["better-bibtex.Preferences.advanced.import.caseProtection.off"] || "better-bibtex.Preferences.advanced.import.caseProtection.off");
menuitem51.setAttribute("value", "off");
const image9 = hbox29.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "image"));
image9.setAttribute("tooltip", "tooltip-importCaseProtection");
image9.setAttribute("src", "chrome://zotero-better-bibtex/skin/attention.svg");
image9.setAttribute("width", "16");
image9.setAttribute("height", "16");
const checkbox25 = tabpanel11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox25.setAttribute("preference", "pref-better-bibtex-aux-import");
checkbox25.setAttribute("label", tr["better-bibtex.Preferences.citekey.AUXScanner.import"] || "better-bibtex.Preferences.citekey.AUXScanner.import");
const hbox30 = tabpanel11.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
const button6 = hbox30.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "button"));
button6.setAttribute("label", tr["better-bibtex.Preferences.importPrefs"] || "better-bibtex.Preferences.importPrefs");
button6.setAttribute("oncommand", "Zotero.BetterBibTeX.PrefPane.importPrefs()");
const hbox31 = hbox30.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "hbox"));
hbox31.setAttribute("flex", '1');
const tabpanel12 = tabpanels1.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel12.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "page", 'miscellaneous');
tabpanel12.setAttribute("flex", "1");
tabpanel12.setAttribute("orient", "vertical");
const tabbox4 = tabpanel12.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabbox"));
const tabs4 = tabbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabs"));
const tab13 = tabs4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab13.setAttribute("label", tr["better-bibtex.Preferences.export.fields"] || "better-bibtex.Preferences.export.fields");
const tab14 = tabs4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tab"));
tab14.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-strings");
tab14.setAttribute("label", tr["better-bibtex.Preferences.advanced.tab.strings"] || "better-bibtex.Preferences.advanced.tab.strings");
const tabpanels4 = tabbox4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanels"));
const tabpanel13 = tabpanels4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel13.setAttribute("orient", "vertical");
const groupbox6 = tabpanel13.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "groupbox"));
const caption6 = groupbox6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "caption"));
caption6.setAttribute("label", tr["better-bibtex.Preferences.advanced.extraMerge"] || "better-bibtex.Preferences.advanced.extraMerge");
const checkbox26 = groupbox6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox26.setAttribute("preference", "pref-better-bibtex-extraMergeCitekeys");
checkbox26.setAttribute("label", tr["better-bibtex.Preferences.advanced.extraMergeCitekeys"] || "better-bibtex.Preferences.advanced.extraMergeCitekeys");
const checkbox27 = groupbox6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox27.setAttribute("preference", "pref-better-bibtex-extraMergeCSL");
checkbox27.setAttribute("label", tr["better-bibtex.Preferences.advanced.extraMergeCSL"] || "better-bibtex.Preferences.advanced.extraMergeCSL");
const checkbox28 = groupbox6.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox28.setAttribute("preference", "pref-better-bibtex-extraMergeTeX");
checkbox28.setAttribute("label", tr["better-bibtex.Preferences.advanced.extraMergeTeX"] || "better-bibtex.Preferences.advanced.extraMergeTeX");
const tabpanel14 = tabpanels4.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "tabpanel"));
tabpanel14.setAttribute("orient", "vertical");
const checkbox29 = tabpanel14.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "checkbox"));
checkbox29.setAttribute("preference", "pref-better-bibtex-importBibTeXStrings");
checkbox29.setAttribute("label", tr["better-bibtex.Preferences.export.fields.import-strings"] || "better-bibtex.Preferences.export.fields.import-strings");
const groupbox7 = tabpanel14.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "groupbox"));
const caption7 = groupbox7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "caption"));
caption7.setAttribute("label", tr["better-bibtex.Preferences.export.fields.export-strings"] || "better-bibtex.Preferences.export.fields.export-strings");
caption7.setAttributeNS('http://retorque.re/zotero-better-bibtex/', "preference", "pref-better-bibtex-exportBibTeXStrings");
const radiogroup2 = groupbox7.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "radiogroup"));
radiogroup2.setAttribute("preference", "pref-better-bibtex-exportBibTeXStrings");
const radio4 = radiogroup2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "radio"));
radio4.setAttribute("label", tr["better-bibtex.Preferences.export.fields.export-strings.off"] || "better-bibtex.Preferences.export.fields.export-strings.off");
radio4.setAttribute("value", "off");
const radio5 = radiogroup2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "radio"));
radio5.setAttribute("label", tr["better-bibtex.Preferences.export.fields.export-strings.detect"] || "better-bibtex.Preferences.export.fields.export-strings.detect");
radio5.setAttribute("value", "detect");
const radio6 = radiogroup2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "radio"));
radio6.setAttribute("label", tr["better-bibtex.Preferences.export.fields.export-strings.match"] || "better-bibtex.Preferences.export.fields.export-strings.match");
radio6.setAttribute("value", "match");
const radio7 = radiogroup2.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "radio"));
radio7.setAttribute("label", tr["better-bibtex.Preferences.export.fields.export-strings.match_reverse"] || "better-bibtex.Preferences.export.fields.export-strings.match_reverse");
radio7.setAttribute("value", "match+reverse");
const textbox17 = tabpanel14.appendChild(doc.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', "textbox"));
textbox17.setAttribute("rows", '10');
textbox17.setAttribute("multiline", 'true');
textbox17.setAttribute("preference", 'pref-better-bibtex-strings');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment