toolkit/locales/filter.py
author ffxbld
Mon, 12 Dec 2011 10:50:07 -0800
branchGECKO19225_2011121210_RELBRANCH
changeset 35236 489b4f2582a338f1bc12ad806d9117c74404d233
parent 34023 ad815619652f19371bc0fc426e45550971dd51fa
permissions -rw-r--r--
Automated checkin: version bump for firefox 3.6.25 release. CLOSED TREE a=release

def test(mod, path, entity = None):
    import re
    # ignore anything but toolkit
    if mod not in ("netwerk", "dom", "toolkit", "security/manager",
                   "extensions/spellcheck"):
        return None

    # "report" Lorentz strings, don't "error"
    if mod == "toolkit" and path == "chrome/mozapps/plugins/plugins.dtd":
        if entity.startswith('reloadPlugin.'): return "report"
        if entity.startswith('report.'): return "report"

    return "error"