From 952c9b4c73bc7e7cb0ac18e181b1fbbb64ea64e5 Mon Sep 17 00:00:00 2001 From: "Guillaume (gdi)" Date: Thu, 6 Jul 2023 09:35:17 +0000 Subject: [PATCH] [FIX] website: fix theme previews in right to left languages Since Odoo 16.0, the configurator is translated in the user language. Unfortunately, the theme previews are not yet translated in the user language, so the user sees the theme previews in the default language (English) but on a rtl page which causes alignment issues on the themes previews. This commit fixes this issue by forcing the SVG containers to be in ltr. Steps to reproduce the issue fixed by this commit: - Set the Arabic (Syria) language for an internal user - With the internal user, create a new website - Follow the configurator (in Arabic) until the theme selection step => Some text in the theme previews are not aligned correctly. task-3398707 closes odoo/odoo#130325 X-original-commit: 1d0671a22582f423e55aad2907340700697c966e Signed-off-by: Benjamin Vray (bvr) Signed-off-by: Guillaume Dieleman (gdi) --- .../src/client_actions/configurator/configurator.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/addons/website/static/src/client_actions/configurator/configurator.xml b/addons/website/static/src/client_actions/configurator/configurator.xml index d74a2abafd5..03858d0a5d1 100644 --- a/addons/website/static/src/client_actions/configurator/configurator.xml +++ b/addons/website/static/src/client_actions/configurator/configurator.xml @@ -198,7 +198,8 @@
Click to select
-
+ +
@@ -207,7 +208,8 @@
Click to select
-
+ +
@@ -216,7 +218,8 @@
Click to select
-
+ +