From e76a800f90c74d86e16a6265e49569fc5f3e7a69 Mon Sep 17 00:00:00 2001 From: "Vidhin Mehta (OpenERP)" Date: Fri, 15 Jun 2012 14:20:27 +0530 Subject: [PATCH] [IMP]add attr in npybabel.py. bzr revid: vme@tinyerp.com-20120615085027-z08zieqvr0v8br4j --- npybabel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npybabel.py b/npybabel.py index 93ff5bc..3b77685 100755 --- a/npybabel.py +++ b/npybabel.py @@ -107,7 +107,7 @@ def extract_qweb(fileobj, keywords, comment_tags, options): not ("t-jquery" in el.attrib and "t-operation" not in el.attrib) and \ not ("t-translation" in el.attrib and el.attrib["t-translation"].strip() == "off"): handle_text(el.text, el.sourceline) - for att in ('title', 'alt', 'label'): + for att in ('title', 'alt', 'label','placeholder'): if att in el.attrib: handle_text(el.attrib[att], el.sourceline) iter_elements(el) -- 1.7.10.4