From fd5855f7cafbe6473af03ec4adc9c738c7ef2d3f Mon Sep 17 00:00:00 2001 From: "Tiffany Chang (tic)" Date: Thu, 1 Feb 2024 16:12:37 +0100 Subject: [PATCH] [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) --- addons/website/i18n/website.pot | 5 +++++ addons/website/views/website_templates.xml | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/addons/website/i18n/website.pot b/addons/website/i18n/website.pot index e130fe86a86..30d1fa86fe3 100644 --- a/addons/website/i18n/website.pot +++ b/addons/website/i18n/website.pot @@ -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" diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 2ab27c5bd6f..45c5403489f 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -2789,8 +2789,9 @@ Sitemap: sitemap.xml + class="d-inline-block d-md-none text-muted"> + Next: +