mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-25 23:15:45 +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,
|
util.assert(type === Ci.nsIPrefBranch.PREF_INVALID || type === needType,
|
||||||
type === Ci.nsIPrefBranch.PREF_INT
|
type === Ci.nsIPrefBranch.PREF_INT
|
||||||
? "E521: Number required after =: " + name + "=" + value
|
? "E521: Number required after =: " + name + "=" + value
|
||||||
: _("error.invalidArgument", name + "=" + value));
|
: "E474: Invalid argument: " + name + "=" + value);
|
||||||
|
|
||||||
let type = this.branch.getPrefType(name);
|
let type = this.branch.getPrefType(name);
|
||||||
switch (typeof value) {
|
switch (typeof value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user