bug 554046, update filter.py to ignore the lorentz toolkit strings on 1.9.2
authorAxel Hecht <l10n@mozilla.com>
Tue, 23 Mar 2010 04:07:41 +0100
changeset 66054 1efa9086bf91ecdd5dfc3e812181f39e7cf45ab3
parent 66053 e95f3b98cff846aabfea7395aaee8acc8402729f
child 66055 a705deb34f8e50ce8a924446e6f3e5cb1d10d5bb
push idunknown
push userunknown
push dateunknown
bugs554046
bug 554046, update filter.py to ignore the lorentz toolkit strings on 1.9.2
mobile/locales/filter.py
--- a/mobile/locales/filter.py
+++ b/mobile/locales/filter.py
@@ -37,16 +37,22 @@
 
 
 def test(mod, path, entity = None):
   import re
   # ignore anything but mobile, which is our local repo checkout name
   if mod not in ("netwerk", "dom", "toolkit", "security/manager",
                  "mobile"):
     return False
+
+  # Ignore Lorentz strings, at least temporarily
+  if mod == "toolkit" and path == "chrome/mozapps/plugins/plugins.dtd":
+    if entity.startswith('reloadPlugin.'): return False
+    if entity.startswith('report.'): return False
+
   if mod != "mobile":
     # we only have exceptions for mobile
     return True
   if not entity:
     return not (re.match(r"searchplugins\/.+\.xml", path) or
                 re.match(r"mobile-l10n.js", path) or
                 re.match(r"defines.inc", path))
   if path == "defines.inc":