X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=npybabel.py;h=1b2e80a7a679315a34c16e7b4099a43331fad8fe;hb=4d5fb290d71d0c21707bf9908ebf47cdb73c44c5;hp=0a3c75025c9c7cc178aa3cb4c1b2cbfed7596ec1;hpb=4d12385eab0d00a5b87f8277a3c116a0e8138d71;p=odoo%2Fodoo.git diff --git a/npybabel.py b/npybabel.py index 0a3c750..1b2e80a 100755 --- a/npybabel.py +++ b/npybabel.py @@ -54,7 +54,7 @@ def extract_qweb(fileobj, keywords, comment_tags, options): for el in current_element: if "t-js" not in el.attrib and \ not ("t-jquery" in el.attrib and "t-operation" not in el.attrib) and \ - not ("t-trad" in el.attrib and el.attrib["t-trad"].strip() == "off"): + not ("t-translation" in el.attrib and el.attrib["t-translation"].strip() == "off"): handle_text(el.text) iter_elements(el) handle_text(el.tail)