From 9942bc8dfaf593d53de9eae743fd20602ea73998 Mon Sep 17 00:00:00 2001 From: Ejaaz Khan <67804911+iamejaaz@users.noreply.github.com> Date: Fri, 17 Jan 2025 16:30:11 +0530 Subject: [PATCH] fix: translation issue in Web shop (#242) * fix: translation issue in Web shop * fix: add translation in alt tag * refactor: add translation to remaining tags of webshop (cherry picked from commit c8a2641edded3fbf9a86d6836d136c2c3843d7a8) --- webshop/templates/includes/macros.html | 46 +++++++++++++------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/webshop/templates/includes/macros.html b/webshop/templates/includes/macros.html index 566c164bba..b325d5fe15 100644 --- a/webshop/templates/includes/macros.html +++ b/webshop/templates/includes/macros.html @@ -10,7 +10,7 @@ {% macro product_image(website_image, css_class="product-image", alt="", no_border=False) %}
{% if website_image %} - {{ alt }} + {{ _(alt) }} {% else %}
{{ frappe.utils.get_abbr(alt) or "NA" }} @@ -22,7 +22,7 @@ {% macro media_image(website_image, name, css_class="") %}