Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add gettext to sale label in react component

weronka2d5950179be2
diff --git a/saleor/static/js/components/categoryPage/ProductPrice.js b/saleor/static/js/components/categoryPage/ProductPrice.js
index 7b6f37ea5f..e6f928c1b7 100644
--- a/saleor/static/js/components/categoryPage/ProductPrice.js
+++ b/saleor/static/js/components/categoryPage/ProductPrice.js
@@ -13,7 +13,7 @@ const ProductPrice = ({ availability, price }) => {
{isPriceRange && <span>{gettext('from')} </span>} {gross}
</span>
{discount && (
- <div className="product-list__sale"><img src={SaleImg}/><span>Sale</span></div>
+ <div className="product-list__sale"><img src={SaleImg}/><span>{gettext('Sale')}</span></div>
)}
</div>
);