1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 05:45:46 +01:00

Automagically generate option types and default value entities for options.xml.

This commit is contained in:
Kris Maglione
2011-03-15 23:12:28 -04:00
parent 2d03f3f9ca
commit f1965c81ff
8 changed files with 167 additions and 145 deletions

View File

@@ -171,7 +171,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
let saved = this.get(this.SAVED + name);
if (saved == null && curval != defval || saved != null && curval != saved) {
let msg = "Warning: setting preference " + name + ", but it's changed from its default value.";
let msg = _("pref.safeSet.warnChanged", name);
if (message)
msg = template.linkifyHelp(msg + " " + message);
util.dactyl.warn(msg);