summaryrefslogtreecommitdiffstats
path: root/b2g/locales/filter.py
diff options
context:
space:
mode:
Diffstat (limited to 'b2g/locales/filter.py')
-rw-r--r--b2g/locales/filter.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/b2g/locales/filter.py b/b2g/locales/filter.py
new file mode 100644
index 000000000..d49507adc
--- /dev/null
+++ b/b2g/locales/filter.py
@@ -0,0 +1,15 @@
+# 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",
+ "devtools/shared",
+ "mobile",
+ "b2g"):
+ return "ignore"
+
+ return "error"