mail/locales/filter.py
author Simon Paquet <bugzilla@babylonsounds.com>
Sat, 10 Jan 2009 21:09:41 +0100
changeset 1596 830cc1403ca1a12281a55778ffff79f632f1e60f
parent 0 e4f4569d451a5e0d12a6aa33ebd916f979dd8faa
child 5234 58494ac482bfa9311d688873c53eea32a64d11bb
permissions -rwxr-xr-x
Bug 472927 - Add Indonesian (id) locale for Calendar, r=me

def test(mod, path, entity = None):
  import re
  # ignore anyhting but Thunderbird
  if mod not in ("netwerk", "dom", "toolkit", "security/manager",
                 "mail", "editor/ui", "extensions/spellcheck",
                 "other-licenses/branding/thunderbird"):
    return False
  # ignore MOZ_LANGPACK_CONTRIBUTORS
  if mod == "mail" and path == "defines.inc" and \
     entity == "MOZ_LANGPACK_CONTRIBUTORS":
    return False
  # ignore dictionaries
  return not mod == "extensions/spellcheck"