diff -r 000000000000 -r 6474c204b198 b2g/locales/filter.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/b2g/locales/filter.py Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,14 @@ +# 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): + import re + # ignore anything but b2g and specific overloads from dom and toolkit + if mod not in ("netwerk", "dom", "toolkit", "security/manager", + "mobile", + "b2g"): + return "ignore" + + return "error"