summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorSamuel Degueldre <sad@odoo.com>2021-03-18 12:37:08 +0000
committerSamuel Degueldre <sad@odoo.com>2021-03-18 13:46:31 +0000
commite1d280880c26d6139dc6a3679fb7df7e07defdd6 (patch)
tree65ac2158beaaf773363554101c5af92d68fe4731 /addons/web_editor/static/src/js
parent4565f92c459f136fc0db79f8145b058e8a8a8972 (diff)
[FIX] web, web_editor, website: fix incorrectly translated template literals
closes odoo/odoo#68085 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/js')
-rw-r--r--addons/web_editor/static/src/js/editor/snippets.editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/editor/snippets.editor.js b/addons/web_editor/static/src/js/editor/snippets.editor.js
index c759cd84ece..36870033db2 100644
--- a/addons/web_editor/static/src/js/editor/snippets.editor.js
+++ b/addons/web_editor/static/src/js/editor/snippets.editor.js
@@ -2446,7 +2446,7 @@ var SnippetsMenu = Widget.extend({
new Dialog(this, {
size: 'medium',
title: _t('Confirmation'),
- $content: $('<div><p>' + _t(`Are you sure you want to delete the snippet: ${$snippet.attr('name')} ?`) + '</p></div>'),
+ $content: $('<div><p>' + _.str.sprintf(_t("Are you sure you want to delete the snippet: %s ?"), $snippet.attr('name')) + '</p></div>'),
buttons: [{
text: _t("Yes"),
close: true,