added some translations

This commit is contained in:
Laura Dolibois
2025-05-25 00:07:29 +02:00
parent 58a6a4ad76
commit 4f4397523e
3 changed files with 3 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ export default function ProductInfo({ item }: { item: Item }) {
<Stack direction="row" spacing={2} alignItems="center">
<TextField
type="number"
label="Quantity"
label={t('quantity')}
value={quantity}
onChange={(e) => setQuantity(Math.max(1, parseInt(e.target.value)))}
InputProps={{ inputProps: { min: 1, max: item.stock } }}