1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 06:15:53 +01:00

Fix localization bug.

This commit is contained in:
Kris Maglione
2011-07-29 13:46:34 -04:00
parent efb4ae78ba
commit 9f057a6f0d
3 changed files with 12 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ var Messages = Module("messages", {
function getter(key, default_) function getter() messages.get([name, key].join("."), default_);
if (value != null) {
let name = [this.constructor.className.toLowerCase(), this.identifier || this.name, prop].join(".");
var name = [this.constructor.className.toLowerCase(), this.identifier || this.name, prop].join(".");
if (!isObject(value))
value = messages.get(name, value);
else if (isArray(value))