[I18N] portal: make 'Accept & Sign' translatable

Move inside a node so the term can be exported (t-esc value are not
translatable)
opw-2031550

closes odoo/odoo#34663

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Julien Castiaux
2019-07-08 13:20:48 +00:00
committed by Martin Trigaux
parent 743c790fa1
commit e94a789b13
2 changed files with 9 additions and 1 deletions
+7
View File
@@ -153,6 +153,13 @@ msgid "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"padding-t
" "
msgstr ""
#. module: portal
#. openerp-web
#: code:addons/portal/static/src/xml/portal_signature.xml:19
#, python-format
msgid "Accept & Sign"
msgstr ""
#. module: portal
#: model:ir.model.fields,field_description:portal.field_portal_mixin__access_warning
#: model:ir.model.fields,field_description:portal.field_portal_share__access_warning
@@ -16,7 +16,8 @@
<div id="o_portal_signature" class="card-body" style="padding: 0"/>
</div>
<div class="mt16 clearfix">
<button type="submit" class="btn btn-primary o_portal_sign_submit float-right"><t t-esc="widget.options.signLabel or 'Accept &amp; Sign'"/></button>
<t t-set='defaultSignLabel'>Accept &amp; Sign</t>
<button type="submit" class="btn btn-primary o_portal_sign_submit float-right"><t t-esc="widget.options.signLabel or defaultSignLabel"/></button>
</div>
</form>
</t>