1
0
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:
Doug Kearns
2011-03-06 05:43:54 +11:00
parent cae269fd32
commit 0b4592cd88

View File

@@ -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) {