From 7fc06fc81f7ab9efa6084e8ed708cc7a694527ec Mon Sep 17 00:00:00 2001 From: "Vidhin Mehta (OpenERP)" Date: Fri, 15 Jun 2012 12:41:06 +0530 Subject: [IMP]add placeholder attribute for translation in qweb. bzr revid: vme@tinyerp.com-20120615071106-hagp49jwh9ntz5z4 --- addons/web/static/src/js/coresetup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/coresetup.js') diff --git a/addons/web/static/src/js/coresetup.js b/addons/web/static/src/js/coresetup.js index 4defde54a3c..77355dd163a 100644 --- a/addons/web/static/src/js/coresetup.js +++ b/addons/web/static/src/js/coresetup.js @@ -497,7 +497,7 @@ instance.web.qweb.preprocess_node = function() { break; case 1: // Element - var attr, attrs = ['label', 'title', 'alt']; + var attr, attrs = ['label', 'title', 'alt', 'placeholder']; while (attr = attrs.pop()) { if (this.attributes[attr]) { this.attributes[attr] = instance.web._t(this.attributes[attr]); -- cgit v1.2.3