Resolve translations for error messages ourselves
Background
We've been moving all translatable strings from adblockpluschrome to adblockplusui in #154 (closed). WebExt still calls browser.i18n.getMessage()
itself though to resolve the translation in the filter validator.
What to change
- Remove
FilterParsingError.toString()
from adblockpluschrome/lib/filterValidation.js - Resolve translations in adblockplusui
Hints for testers
See trac#7273.
Hints for translators
We're no longer concatenating the "line" string and error message strings ourselves but instead updated "line" to include the error message. That means to avoid no error message being shown (see conversation below), we need to make sure that all translations for the string "line" are up-to-date.