diff --git a/common/locale/en-US/messages.properties b/common/locale/en-US/messages.properties index 8097ebce..163afaf0 100644 --- a/common/locale/en-US/messages.properties +++ b/common/locale/en-US/messages.properties @@ -124,12 +124,17 @@ download.unknownCommand = Unknown command download.commandNotAllowed = Command not allowed download.prompt.launchExecutable = This will launch an executable download. Would you like to continue? (yes/[no]/always): +download.nActive-1 = %S active +download.almostDone = ~1 second +download.unknown = Unknown + +download.action.Cancel = Cancel +download.action.Clear = Clear +download.action.Delete = Delete download.action.Pause = Pause download.action.Remove = Remove download.action.Resume = Resume download.action.Retry = Retry -download.action.Cancel = Cancel -download.action.Delete = Delete editor.prompt.editPassword = Editing a password field externally will reveal the password. Would you like to continue? (yes/[no]): @@ -268,6 +273,14 @@ style.inline = inline time.total-1 = Total time: %S +title.Progress = Progress +title.Source = Source +title.Speed = Speed +title.Status = Status +title.Time remaining = Time remaining +title.Title = Title +title.Totals = Totals + variable.none = No variables found window.cantAttachSame = Can't reattach to the same window diff --git a/common/modules/downloads.jsm b/common/modules/downloads.jsm index 857a8c53..d3985628 100644 --- a/common/modules/downloads.jsm +++ b/common/modules/downloads.jsm @@ -151,18 +151,18 @@ var Download = Class("Download", { this.nodes.speed.textContent = util.formatBytes(this.speed, 1, true) + "/s"; if (this.speed == 0 || this.size == 0) - this.nodes.time.textContent = "Unknown"; + this.nodes.time.textContent = _("download.unknown"); else { let seconds = (this.size - this.amountTransferred) / this.speed; [, self.timeRemaining] = DownloadUtils.getTimeLeft(seconds, this.timeRemaining); if (this.timeRemaining) this.nodes.time.textContent = util.formatSeconds(this.timeRemaining); else - this.nodes.time.textContent = /*L*/"~1 second"; + this.nodes.time.textContent = _("download.almostDone"); } } - let total = this.nodes.progressTotal.textContent = this.size ? util.formatBytes(this.size, 1, true) : "Unknown"; + let total = this.nodes.progressTotal.textContent = this.size ? util.formatBytes(this.size, 1, true) : _("download.unknown"); let suffix = RegExp(/( [a-z]+)?$/i.exec(total)[0] + "$"); this.nodes.progressHave.textContent = util.formatBytes(this.amountTransferred, 1, true).replace(suffix, ""); @@ -207,21 +207,21 @@ var DownloadList = Class("DownloadList", util.xmlToDom(
| Totals: | +{_("title.Totals")}: | - Clear + {_("Clear")} |