From a8cc0d1001e13daab6e928bc98e454cee85e543a Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Tue, 16 Feb 2021 15:25:46 +0100 Subject: [PATCH] add translation for question mark tooltip --- .../templates/question_mark_with_tooltip.html.haml | 4 +--- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/templates/question_mark_with_tooltip.html.haml b/app/assets/javascripts/templates/question_mark_with_tooltip.html.haml index b3892d436b..b96ce49b50 100644 --- a/app/assets/javascripts/templates/question_mark_with_tooltip.html.haml +++ b/app/assets/javascripts/templates/question_mark_with_tooltip.html.haml @@ -1,8 +1,6 @@ .joyride-tip-guide.question-mark-tooltip{ng: {class: "{ in: tt_isOpen, fade: tt_animation }", show: "tt_isOpen"}} .background{ng: {click: "tt_isOpen = false"}} .joyride-content-wrapper - This is the unit price of this item. - %br/ - It allows you to compare the price of products across varying sizes and weights. + {{ "js.shopfront.unit_price_tooltip" | t }} %span.joyride-nub.bottom \ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index 4237d739f1..20113db4d4 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2775,6 +2775,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using min_quantity: "Min quantity" max_quantity: "Max quantity" price_breakdown: "Price breakdown" + unit_price_tooltip: "This is the unit price of this product. It allows you to compare the price of products independent of packaging sizes & weights." variants: on_demand: "yes": "On demand"