projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fef0b4f
)
[IMP]add attr in npybabel.py.
author
Vidhin Mehta (OpenERP)
<vme@tinyerp.com>
Fri, 15 Jun 2012 08:50:27 +0000
(14:20 +0530)
committer
Vidhin Mehta (OpenERP)
<vme@tinyerp.com>
Fri, 15 Jun 2012 08:50:27 +0000
(14:20 +0530)
bzr revid: vme@tinyerp.com-
20120615085027
-z08zieqvr0v8br4j
npybabel.py
patch
|
blob
|
history
diff --git
a/npybabel.py
b/npybabel.py
index
93ff5bc
..
3b77685
100755
(executable)
--- 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)