Skip to content
Snippets Groups Projects
Commit e94a789b authored by Julien Castiaux's avatar Julien Castiaux Committed by Martin Trigaux
Browse files

[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: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 743c790f
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment