diff --git a/chrome/content/zotero/rtfScan.js b/chrome/content/zotero/rtfScan.js index 5ca49898e3..323ff4ac64 100644 --- a/chrome/content/zotero/rtfScan.js +++ b/chrome/content/zotero/rtfScan.js @@ -645,10 +645,11 @@ const Zotero_RTFScan = { // eslint-disable-line no-unused-vars, camelcase this.wizard.canAdvance = newCanAdvance; }, - updatePath() { + async updatePath() { this.wizard.canAdvance = this.inputFile && this.outputFile; - document.getElementById('input-path').value = this.inputFile ? this.inputFile.path : ''; - document.getElementById('output-path').value = this.outputFile ? this.outputFile.path : ''; + let noFileSelectedLabel = await document.l10n.formatValue("rtfScan-no-file-selected"); + document.getElementById('input-path').value = this.inputFile ? this.inputFile.path : noFileSelectedLabel; + document.getElementById('output-path').value = this.outputFile ? this.outputFile.path : noFileSelectedLabel; }, insertRows(newRows, beforeRow) { diff --git a/chrome/content/zotero/rtfScan.xhtml b/chrome/content/zotero/rtfScan.xhtml index c7423d0666..e05e3bb46b 100644 --- a/chrome/content/zotero/rtfScan.xhtml +++ b/chrome/content/zotero/rtfScan.xhtml @@ -35,17 +35,17 @@
-
-
diff --git a/chrome/locale/en-US/zotero/zotero.ftl b/chrome/locale/en-US/zotero/zotero.ftl index 9a922d2564..85975e71d3 100644 --- a/chrome/locale/en-US/zotero/zotero.ftl +++ b/chrome/locale/en-US/zotero/zotero.ftl @@ -8,6 +8,7 @@ return-or-enter = general-remove = Remove general-add = Add general-remind-me-later = Remind Me Later +general-choose-file = Choose File… menu-file-show-in-finder = .label = Show in Finder @@ -219,11 +220,13 @@ rtfScan-introPage-description2 = To get started, select an RTF input file and an rtfScan-input-file = Input File rtfScan-output-file = Output File -zotero-file-none-selected = - .value = No file selected - -zotero-file-choose = - .label = Choose File… +rtfScan-no-file-selected = No file selected +rtfScan-choose-input-file = + .label = { general-choose-file } + .aria-label = Choose Input File +rtfScan-choose-output-file = + .label = { general-choose-file } + .aria-label = Choose Output File rtfScan-intro-page = .label = Introduction