From 1ff61fc714a254467cf4ff2138cf44fd5ae23097 Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Thu, 4 Mar 2021 14:44:56 +0000 Subject: [PATCH] [FIX] website: typo in drop snippet tour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit task-2466754 closes odoo/odoo#67346 X-original-commit: 19ef4f1b318b979bf2c6e89ad9962a50e6684dc9 Signed-off-by: Jérémy Kersten (jke) --- addons/website/i18n/website.pot | 2 +- addons/website/static/src/js/tours/tour_utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website/i18n/website.pot b/addons/website/i18n/website.pot index 1bccc985a18..d64bb09125d 100644 --- a/addons/website/i18n/website.pot +++ b/addons/website/i18n/website.pot @@ -2712,7 +2712,7 @@ msgstr "" #: code:addons/website/static/src/js/tours/tour_utils.js:0 #, python-format msgid "" -"Drag the ${snippet.name} building block and drop it in your page." +"Drag the ${snippet.name} building block and drop it at the bottom of your page." msgstr "" #. module: website diff --git a/addons/website/static/src/js/tours/tour_utils.js b/addons/website/static/src/js/tours/tour_utils.js index e200eee37e7..b54fb5f48c2 100644 --- a/addons/website/static/src/js/tours/tour_utils.js +++ b/addons/website/static/src/js/tours/tour_utils.js @@ -202,7 +202,7 @@ function dragNDrop(snippet, position = "bottom") { trigger: `#oe_snippets .oe_snippet[name="${snippet.name}"] .oe_snippet_thumbnail:not(.o_we_already_dragging)`, extra_trigger: "body.editor_enable.editor_has_snippets", moveTrigger: '.oe_drop_zone', - content: _t(`Drag the ${snippet.name} building block and drop it in your page.`), + content: _t(`Drag the ${snippet.name} building block and drop it at the bottom of the page.`), position: position, run: "drag_and_drop #wrap", };