Don't localize "Markdown" in Quick Copy settings

This commit is contained in:
Dan Stillman 2022-10-24 19:52:00 -04:00
parent 159c112257
commit 8a15e5abe0
4 changed files with 11 additions and 6 deletions

View file

@ -206,12 +206,18 @@ Zotero_Preferences.Export = {
var markdownOptions = document.getElementById('noteQuickCopy-markdown-options');
var htmlOptions = document.getElementById('noteQuickCopy-html-options');
var markdownOptionsLabel = document.querySelector('#noteQuickCopy-markdown-options label');
var htmlOptionsLabel = document.querySelector('#noteQuickCopy-html-options label');
var markdownIncludeAppLinks = document.getElementById("noteQuickCopy-markdown-includeAppLinks");
var htmlIncludeAppLinks = document.getElementById("noteQuickCopy-html-includeAppLinks");
markdownOptionsLabel.value = Zotero.Utilities.Internal.stringWithColon("Markdown");
htmlOptionsLabel.value = Zotero.Utilities.Internal.stringWithColon(
Zotero.getString('zotero.preferences.export.quickCopy.note.htmlOptions.label')
);
markdownIncludeAppLinks.label = Zotero.getString('exportOptions.includeAppLinks', Zotero.appName);
htmlIncludeAppLinks.label = Zotero.getString('exportOptions.includeAppLinks', Zotero.appName);
if (format.id == Zotero.Translators.TRANSLATOR_ID_MARKDOWN_AND_RICH_TEXT) {
markdownOptions.hidden = false;
htmlOptions.hidden = false;

View file

@ -79,7 +79,7 @@
<tbody id="noteQuickCopy-markdown-options">
<tr>
<th>
<xul:label value="&zotero.preferences.quickCopy.markdown;"/>
<xul:label/>
</th>
<td>
<xul:checkbox id="noteQuickCopy-markdown-includeAppLinks"
@ -91,7 +91,7 @@
<tbody id="noteQuickCopy-html-options">
<tr>
<th>
<xul:label value="&zotero.preferences.quickCopy.html;"/>
<xul:label/>
</th>
<td>
<xul:checkbox id="noteQuickCopy-html-includeAppLinks"

View file

@ -107,8 +107,6 @@
<!ENTITY zotero.preferences.quickCopy.caption "Quick Copy">
<!ENTITY zotero.preferences.quickCopy.itemFormat "Item Format:">
<!ENTITY zotero.preferences.quickCopy.noteFormat "Note Format:">
<!ENTITY zotero.preferences.quickCopy.markdown "Markdown:">
<!ENTITY zotero.preferences.quickCopy.html "Rich Text/HTML:">
<!ENTITY zotero.preferences.quickCopy.copyAsHTML "Copy as HTML">
<!ENTITY zotero.preferences.quickCopy.siteEditor.setings "Site-Specific Settings:">
<!ENTITY zotero.preferences.quickCopy.siteEditor.domainPath "Domain/Path">

View file

@ -739,6 +739,7 @@ zotero.preferences.export.quickCopy.citationStyles = Citation Styles
zotero.preferences.export.quickCopy.exportFormats = Export Formats
zotero.preferences.export.quickCopy.instructions = Quick Copy allows you to quickly export items in a given format. You can copy selected items to the clipboard by pressing %S or drag items directly into a text box in another program.
zotero.preferences.export.quickCopy.citationInstructions = For citation styles, you can copy citations or footnotes by pressing %S or holding down Shift before dragging items.
zotero.preferences.export.quickCopy.note.htmlOptions.label = Rich Text/HTML
zotero.preferences.wordProcessors.installationSuccess = Installation was successful.
zotero.preferences.wordProcessors.installationError = Installation could not be completed because an error occurred. Please ensure that %1$S is closed, and then restart %2$S.