[FIX] website: ensure mobile version of ecommerce steps are translated
Appending strings within a `t-out` for a website template makes it so that it can never be translated. Instead the string should be written like normal text so that it is correctly seen as to be translated and `t-out` only the next step so that it's also correctly matched as to be translated. opw-3700815 closes odoo/odoo#152312 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
This commit is contained in:
@@ -7711,6 +7711,11 @@ msgstr ""
|
||||
msgid "Next"
|
||||
msgstr ""
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.step_wizard
|
||||
msgid "Next:"
|
||||
msgstr ""
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.s_tabs_options
|
||||
msgid "No Slide Effect"
|
||||
|
||||
@@ -2789,8 +2789,9 @@ Sitemap: <t t-esc="url_root"/>sitemap.xml
|
||||
</ul>
|
||||
</div>
|
||||
<span t-if="next_step"
|
||||
class="d-inline-block d-md-none text-muted"
|
||||
t-out="'Next: ' + next_step[1]['name']"/>
|
||||
class="d-inline-block d-md-none text-muted">
|
||||
Next: <t t-out="next_step[1]['name']"/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="o_wizard_circle_progress progress d-md-none position-relative rounded-circle ms-3 bg-transparent"
|
||||
|
||||
Reference in New Issue
Block a user