added some translations
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
"freeShipping": "Kostenloser Versand ab 50€ Bestellwert",
|
"freeShipping": "Kostenloser Versand ab 50€ Bestellwert",
|
||||||
"inStock": "Verfügbar",
|
"inStock": "Verfügbar",
|
||||||
"outOfStock": "Ausverkauft",
|
"outOfStock": "Ausverkauft",
|
||||||
|
"quantity": "Anzahl",
|
||||||
"rateThisProduct": "Dieses Produkt bewerten",
|
"rateThisProduct": "Dieses Produkt bewerten",
|
||||||
"ratingFrom": "Bewertung vom",
|
"ratingFrom": "Bewertung vom",
|
||||||
"review": "Produktrezension (optional)",
|
"review": "Produktrezension (optional)",
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"freeShipping": "Free shipping for orders over 50€",
|
"freeShipping": "Free shipping for orders over 50€",
|
||||||
"inStock": "In stock",
|
"inStock": "In stock",
|
||||||
"outOfStock": "Out of stock",
|
"outOfStock": "Out of stock",
|
||||||
|
"quantity": "Quantity",
|
||||||
"rateThisProduct": "Rate this product",
|
"rateThisProduct": "Rate this product",
|
||||||
"ratingFrom": "Rating from",
|
"ratingFrom": "Rating from",
|
||||||
"review": "Product review (optional)",
|
"review": "Product review (optional)",
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ export default function ProductInfo({ item }: { item: Item }) {
|
|||||||
<Stack direction="row" spacing={2} alignItems="center">
|
<Stack direction="row" spacing={2} alignItems="center">
|
||||||
<TextField
|
<TextField
|
||||||
type="number"
|
type="number"
|
||||||
label="Quantity"
|
label={t('quantity')}
|
||||||
value={quantity}
|
value={quantity}
|
||||||
onChange={(e) => setQuantity(Math.max(1, parseInt(e.target.value)))}
|
onChange={(e) => setQuantity(Math.max(1, parseInt(e.target.value)))}
|
||||||
InputProps={{ inputProps: { min: 1, max: item.stock } }}
|
InputProps={{ inputProps: { min: 1, max: item.stock } }}
|
||||||
|
|||||||
Reference in New Issue
Block a user