diff options
Diffstat (limited to 'comm/mail/locales/filter.py')
-rw-r--r-- | comm/mail/locales/filter.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/comm/mail/locales/filter.py b/comm/mail/locales/filter.py new file mode 100644 index 0000000000..eb0bfcc6be --- /dev/null +++ b/comm/mail/locales/filter.py @@ -0,0 +1,26 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + + +def test(mod, path, entity=None): + # ignore anything but Thunderbird + if mod not in ( + "netwerk", + "dom", + "toolkit", + "security/manager", + "devtools/shared", + "devtools/client", + "mail", + "chat", + "extensions/spellcheck", + "mail/branding/thunderbird", + ): + return "ignore" + + # ignore dictionaries + if mod == "extensions/spellcheck": + return "ignore" + + return "error" |