Index: lib/filterValidation.js |
diff --git a/lib/filterValidation.js b/lib/filterValidation.js |
index c1d81a7a860b13ad6956977b9e140c4112443689..a2c244ecef4609338abc929f8a173b0de17784dd 100644 |
--- a/lib/filterValidation.js |
+++ b/lib/filterValidation.js |
@@ -21,7 +21,6 @@ |
const {Filter, InvalidFilter, ElemHideBase, ElemHideEmulationFilter} = |
require("filterClasses"); |
-const {Utils} = require("utils"); |
/** |
* An error returned by |
@@ -73,7 +72,7 @@ FilterParsingError.prototype = { |
{ |
let message; |
if (this.reason) |
- message = Utils.getString(this.reason); |
+ message = browser.i18n.getMessage(this.reason); |
else |
{ |
message = browser.i18n.getMessage( |