mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 23:42:30 +02:00
Fix localization bug.
This commit is contained in:
1 parent
efb4ae78ba
commit
9f057a6f0d
3 files changed
+12
-4
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user