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 @@