From c7311173fbb0e6998d5dcd33ebd7f85c72b1d9b1 Mon Sep 17 00:00:00 2001 From: Ashish Shah Date: Fri, 13 Dec 2024 17:05:05 +0530 Subject: [PATCH] fix: OFF and Item Code label should be translatable --- webshop/public/js/product_ui/list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webshop/public/js/product_ui/list.js b/webshop/public/js/product_ui/list.js index 7d84951d69..c6fd079c24 100644 --- a/webshop/public/js/product_ui/list.js +++ b/webshop/public/js/product_ui/list.js @@ -98,7 +98,7 @@ webshop.ProductList = class { get_item_details(item, settings) { let details = `

- ${ item.item_group } | Item Code : ${ item.item_code } + ${ item.item_group } | ${ __('Item Code') } : ${ item.item_code }

${ item.short_description || '' } @@ -113,7 +113,7 @@ webshop.ProductList = class { ${ item.formatted_mrp ? item.formatted_mrp.replace(/ +/g, "") : "" } - ${ item.discount } OFF + ${ item.discount } ${ __("OFF") } `; }