1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-07 18:25:44 +01:00

More ad hoc i18n work.

This commit is contained in:
Doug Kearns
2011-04-01 10:12:47 +11:00
parent 477b1139fc
commit a52a0dc61f
17 changed files with 65 additions and 56 deletions

View File

@@ -288,7 +288,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
*/
toggle: function (name) {
util.assert(this.branch.getPrefType(name) === Ci.nsIPrefBranch.PREF_BOOL,
_("error.trailing", name + "!"));
_("error.trailingCharacters", name + "!"));
this.set(name, !this.get(name));
},