Skip to content
Snippets Groups Projects
Unverified Commit a9add3b9 authored by Maximilien Tantin's avatar Maximilien Tantin Committed by Martin Trigaux
Browse files

[FIX] website_sale: translate buttons

Log In and Sign Up was not translatable

Closes #21333
parent 73f75676
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-18 14:21+0000\n"
"PO-Revision-Date: 2017-07-18 14:21+0000\n"
"POT-Creation-Date: 2017-11-30 14:34+0000\n"
"PO-Revision-Date: 2017-11-30 14:34+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
......@@ -1350,6 +1350,11 @@ msgstr ""
msgid "List displaying"
msgstr ""
#. module: website_sale
#: model:ir.ui.view,arch_db:website_sale.address
msgid "Log In"
msgstr ""
#. module: website_sale
#: model:ir.ui.view,arch_db:website_sale.website_planner
msgid "Logo"
......@@ -2119,6 +2124,11 @@ msgstr ""
msgid "Show pricelists to customers"
msgstr ""
#. module: website_sale
#: model:ir.ui.view,arch_db:website_sale.address
msgid "Sign Up"
msgstr ""
#. module: website_sale
#: model:ir.ui.view,arch_db:website_sale.website_sale
msgid "Size"
......
......@@ -1155,7 +1155,9 @@
<t t-if="mode == ('new', 'billing')">
<h3 class="page-header mt16">Your Address
<small> or </small>
<t t-set='connect' t-value="request.env['ir.config_parameter'].sudo().get_param('auth_signup.allow_uninvited') == 'True' and ('signup', 'Sign Up') or ('login', 'Log In')"/>
<t t-set="signup_text">Sign Up</t>
<t t-set="login_text">Log In</t>
<t t-set='connect' t-value="request.env['ir.config_parameter'].sudo().get_param('auth_signup.allow_uninvited') == 'True' and ('signup', signup_text) or ('login', login_text)"/>
<a t-attf-href='/web/{{connect[0]}}?redirect=/shop/checkout' class='btn btn-primary' style="margin-top: -11px"><t t-esc='connect[1]'/></a>
</h3>
</t>
......
France, 2017-11-29
I hereby agree to the terms of the Odoo Individual Contributor License
Agreement v1.0.
I declare that I am authorized and able to make this agreement and sign this
declaration.
Signed,
Maximilien TANTIN <maximilien.tantin@gmail.com> https://github.com/MTantin
\ No newline at end of file
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