summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-12-21 12:36:57 +0100
committerOlivier Dony <odo@openerp.com>2012-12-21 12:36:57 +0100
commit407e6e66e63d68925a098a21f5d6becfbb8af88c (patch)
tree9d560c748f56f72afb1eae6909b813560dbe1bf9 /addons/web/static/src/xml
parent554a712ec3e1ce764cffb69f81b487245b5b45a5 (diff)
parent5b12dc6927bbc8b4c1c00b626f13940dce79d1c7 (diff)
[FIX] English review: improve view selector tooltips + make translatable
bzr revid: odo@openerp.com-20121221113657-omenasuur2bqj7qy
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 38628b4d7f7..b3f2364b42b 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -505,8 +505,10 @@
<td>
<ul class="oe_view_manager_switch oe_button_group oe_right">
<t t-if="widget.views_src.length > 1" t-foreach="widget.views_src" t-as="view">
- <li class="oe_e"><a t-attf-class="oe_vm_switch_#{view.view_type}" t-att-data-view-type="view.view_type" t-att-title="_t('Switch to ') + (view.label || view.view_type)">
- </a></li>
+ <li class="oe_e">
+ <a t-attf-class="oe_vm_switch_#{view.view_type}" t-att-data-view-type="view.view_type"
+ t-att-title="view.button_label"/>
+ </li>
</t>
</ul>
<div class="oe_view_manager_pager oe_right"/>