mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 20:14:12 +01:00
Temporarily back out an error producing call to _() in prefs.set.
This commit is contained in:
@@ -221,7 +221,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
util.assert(type === Ci.nsIPrefBranch.PREF_INVALID || type === needType,
|
||||
type === Ci.nsIPrefBranch.PREF_INT
|
||||
? "E521: Number required after =: " + name + "=" + value
|
||||
: _("error.invalidArgument", name + "=" + value));
|
||||
: "E474: Invalid argument: " + name + "=" + value);
|
||||
|
||||
let type = this.branch.getPrefType(name);
|
||||
switch (typeof value) {
|
||||
|
||||
Reference in New Issue
Block a user