@@ -82,11 +82,11 @@ const defaultTemplate = `\
82
82
{{#showQuantityButtons}}
83
83
<div id="sgn-offer-product-quantity-{{id}}" class="sgn-offer-product-quantity">
84
84
<div class="sgn-offer-product-quantity-content">
85
- <button id="sgn-offer-product-quantity-minus-{{id}}" class="sgn-offer-product-quantity-minus" aria-label="Decrease quantity ">
85
+ <button id="sgn-offer-product-quantity-minus-{{id}}" class="sgn-offer-product-quantity-minus" aria-label="{{translations.decreaseQuantity}} ">
86
86
<svg xmlns="http://www.w3.org/2000/svg" class="bi bi-minus-circle-fill" viewBox="0 0 448 512"><path d="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"/></svg>
87
87
</button>
88
88
<input type="text" id="sgn-offer-product-quantity-text-{{id}}" class="sgn-offer-product-quantity-text" value="{{quantity}}" disabled/>
89
- <button id="sgn-offer-product-quantity-plus-{{id}}" class="sgn-offer-product-quantity-plus" aria-label="Increase quantity ">
89
+ <button id="sgn-offer-product-quantity-plus-{{id}}" class="sgn-offer-product-quantity-plus" aria-label="{{translations.increaseQuantity}} ">
90
90
<svg xmlns="http://www.w3.org/2000/svg" class="bi bi-plus-circle-fill" viewBox="0 0 448 512"><path d="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"/></svg>
91
91
</button>
92
92
</div>
@@ -135,7 +135,13 @@ const OfferOverview = ({
135
135
visitWebshopLink : translate ( 'publication_viewer_visit_webshop_link' ) ,
136
136
priceFrom : translate ( 'publication_viewer_offer_price_from' ) ,
137
137
validFrom : translate ( 'publication_viewer_offer_valid_from' ) ,
138
- close : translate ( 'publication_viewer_close_label' )
138
+ close : translate ( 'publication_viewer_close_label' ) ,
139
+ increaseQuantity : translate (
140
+ 'publication_viewer_offer_increase_quantity'
141
+ ) ,
142
+ decreaseQuantity : translate (
143
+ 'publication_viewer_offer_decrease_quantity'
144
+ )
139
145
} ;
140
146
141
147
const render = async ( ) => {
0 commit comments