Index: lib/filterValidation.js |
=================================================================== |
--- a/lib/filterValidation.js |
+++ b/lib/filterValidation.js |
@@ -71,25 +71,25 @@ |
*/ |
toString() |
{ |
let message; |
if (this.reason) |
message = Utils.getString(this.reason); |
else |
{ |
- message = chrome.i18n.getMessage( |
+ message = browser.i18n.getMessage( |
this.type.replace(/-/g, "_"), |
"selector" in this ? "'" + this.selector + "'" : null |
); |
} |
if (this.lineno) |
{ |
- message = chrome.i18n.getMessage( |
+ message = browser.i18n.getMessage( |
"line", this.lineno.toLocaleString() |
) + ": " + message; |
} |
return message; |
} |
}; |
function isValidCSSSelector(selector) |