diff options
| author | Olivier Dony <odo@openerp.com> | 2012-02-07 10:26:55 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-02-07 10:26:55 +0100 |
| commit | 1b3701ce5914d9477f4a0ce215e06c9b6992aee8 (patch) | |
| tree | b650fbb611352a9bbbdf8e695d319e9b72748c13 /addons/web/static/src/xml/base.xml | |
| parent | 4db8d52f743439c2d8920f45e04554ac42400376 (diff) | |
[IMP] Fix some remaining untranslated areas, and extract @title,@alt and @label attributes too
(pending an update of the qweb rendering engine to
actually translate the newly exported attributes)
bzr revid: odo@openerp.com-20120207092655-kgdcxa8myalxfyjq
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 8a8e39e0b7e..a504d9f09a4 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -422,7 +422,7 @@ <div class="oe_vm_switch"> <t t-if="views.length != 1" t-foreach="views" t-as="view"> - <button type="button" t-attf-class="oe_vm_switch_#{view.view_type}" t-att-data-view-type="view.view_type" t-att-title="view.view_type"> + <button type="button" t-attf-class="oe_vm_switch_#{view.view_type}" t-att-data-view-type="view.view_type" t-att-title="view.label || view.view_type"> <span><t t-esc="view.label || view.view_type"/></span> </button> </t> |
