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:
@@ -242,7 +242,8 @@
|
||||
"toast_bring": "🛒 Produkt aufgebraucht → zu Bring! hinzugefügt",
|
||||
"toast_opened_finished": "🔓 Geöffnete Packung von {name} aufgebraucht!",
|
||||
"disambiguation_hint": "Was meinst du mit \"alles aufgebraucht\"?",
|
||||
"disambiguation_all": "🗑️ ALLES aufgebraucht ({qty})"
|
||||
"disambiguation_all": "🗑️ ALLES verbraucht ({qty})",
|
||||
"error_exceeds_stock": "⚠️ Du kannst nicht mehr verwenden als du verfügbar hast!"
|
||||
},
|
||||
"product": {
|
||||
"title_new": "Neues Produkt",
|
||||
@@ -691,7 +692,7 @@
|
||||
"item_added": "{name} hinzugefügt"
|
||||
},
|
||||
"antiwaste": {
|
||||
"title": "🌱 Anti-Waste Report",
|
||||
"title": "🌱 Anti-Verschwendungs-Bericht",
|
||||
"grade_label": "Note",
|
||||
"you": "Du",
|
||||
"avg_label": "Ø",
|
||||
|
||||
Reference in New Issue
Block a user