Generic error message shown when setting duplicate filter
Steps to reproduce
- Open Advanced tab in desktop settings page.
- Add custom filters
foo
andbar
. - Replace filter text of custom filter
bar
withfoo
.
Observed behavior
Custom filter not saved and generic error message shown: Something went wrong. Please try again.
Expected behavior
Custom filter not saved and specific error message shown: Duplicate filter. Please update or remove the filter.
(see https://gitlab.com/eyeo/adblockplus/abpui/adblockplusui/-/issues/228)
What to change
Add the following strings to filter-validation.json:
- filter_disabled
- filter_duplicated
Edited by Ursa Kacar