diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-03-08 10:25:32 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-03-08 10:25:32 +0100 |
| commit | a82042a6b1bf1866dae4be2231e8bc56b53a5d6f (patch) | |
| tree | b6e1e4ff9ad6ebc0ce91bb04c62776d6ee60beae /addons/web/static/src/xml | |
| parent | 522a639035190c99641e27ca2759070f693f9057 (diff) | |
[FIX] uploader widget: use the field string instead of an hardcoded 'File'.
bzr revid: tde@openerp.com-20130308092532-w24qj0kxd9374s1u
Diffstat (limited to 'addons/web/static/src/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 bd4f2f15e1f..529b7809d46 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1303,7 +1303,7 @@ <div class="oe_add" t-if="!widget.get('effective_readonly')"> <!-- uploader of file --> <button class="oe_attach"><span class="oe_e">'</span></button> - <span class='oe_attach_label'>File</span> + <span class='oe_attach_label'><t t-esc="widget.string"/></span> <t t-call="HiddenInputFile"> <t t-set="fileupload_id" t-value="widget.fileupload_id"/> <t t-set="fileupload_action" t-translation="off">/web/binary/upload_attachment</t> |
