1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 18:02:27 +01:00

Add toJSON method to lazy localized strings.

This commit is contained in:
Kris Maglione
2015-05-07 13:54:18 -07:00
parent 18015e3750
commit 29228527c2
3 changed files with 8 additions and 7 deletions

View File

@@ -1111,7 +1111,7 @@ var Buffer = Module("Buffer", {
// Ctrl-g single line output
if (!verbose) {
let file = this.win.location.pathname.split("/").pop() || String(_("buffer.noName"));
let file = this.win.location.pathname.split("/").pop() || _("buffer.noName");
let title = this.win.document.title || _("buffer.noTitle");
let info = template.map(