fix(i18n): translate antiwaste title in IT/DE + use quantity validation
- translations: antiwaste.title = 'Rapporto Anti-Spreco' (IT), 'Anti-Verschwendungs-Bericht' (DE) - translations: add use.error_exceeds_stock in IT/EN/DE - submitUse(): block submit if qty > available at selected location + shake animation - adjustUseQty(): cap '+' button at max available at selected location (incl. sub-unit mode) - style.css: add @keyframes inputShake + .input-shake class Bump app.js cache buster to v=20260504c
This commit is contained in:
@@ -241,7 +241,8 @@
|
||||
"toast_bring": "🛒 Prodotto finito → aggiunto a Bring!",
|
||||
"toast_opened_finished": "🔓 Confezione aperta di {name} finita!",
|
||||
"disambiguation_hint": "Cosa intendi con \"finito tutto\"?",
|
||||
"disambiguation_all": "🗑️ Finito TUTTO ({qty})"
|
||||
"disambiguation_all": "🗑️ Finito TUTTO ({qty})",
|
||||
"error_exceeds_stock": "⚠️ Non puoi usare più di quanto hai disponibile!"
|
||||
},
|
||||
"product": {
|
||||
"title_new": "Nuovo Prodotto",
|
||||
@@ -690,7 +691,7 @@
|
||||
"item_added": "{name} aggiunto"
|
||||
},
|
||||
"antiwaste": {
|
||||
"title": "🌱 Anti-Waste Report",
|
||||
"title": "🌱 Rapporto Anti-Spreco",
|
||||
"grade_label": "Voto",
|
||||
"you": "Tu",
|
||||
"avg_label": "Media",
|
||||
|
||||
Reference in New Issue
Block a user