feat: banner opened items show 'aperto da X giorni in frigo' instead of 'scaduto'
When inventory item has opened_at set, the expired banner now shows: - Title: '[Nome] — Aperto da troppo tempo!' (instead of '— Scaduto!') - Detail: 'Aperto da N giorni in [icon] [location] · hai ancora X' Also removed hardcoded Italian 'scade il' string from non-opened expired detail.
This commit is contained in:
@@ -142,6 +142,7 @@
|
||||
"wasted": "Weggeworfen: {n} ({pct}%)",
|
||||
"more_opened": "und {n} weitere geöffnet...",
|
||||
"banner_expired_detail": "{when} · du hast noch <strong>{qty}</strong>.",
|
||||
"banner_opened_detail": "{when} in {location} · du hast noch <strong>{qty}</strong>.",
|
||||
"banner_explain_title": "Gemini um eine Erklärung bitten",
|
||||
"banner_explain_btn": "Erklären",
|
||||
"banner_analyzing": "🤖 Analysiere…"
|
||||
@@ -693,6 +694,11 @@
|
||||
"expired_suffix": "— Abgelaufen!",
|
||||
"expired_suffix_ok": "— Abgelaufen (noch ok)",
|
||||
"expired_suffix_warning": "— Abgelaufen (erst prüfen)",
|
||||
"opened_ago_long": "Seit {n} Tagen geöffnet",
|
||||
"opened_today_long": "Heute geöffnet",
|
||||
"opened_suffix": "— Zu lange geöffnet!",
|
||||
"opened_suffix_ok": "— Geöffnet (noch ok)",
|
||||
"opened_suffix_warning": "— Geöffnet (erst prüfen)",
|
||||
"days_compact": "{n}T"
|
||||
},
|
||||
"status": {
|
||||
|
||||
@@ -142,6 +142,7 @@
|
||||
"wasted": "Wasted: {n} ({pct}%)",
|
||||
"more_opened": "and {n} more opened...",
|
||||
"banner_expired_detail": "{when} · you still have <strong>{qty}</strong>.",
|
||||
"banner_opened_detail": "{when} in {location} · you still have <strong>{qty}</strong>.",
|
||||
"banner_explain_title": "Ask Gemini for an explanation",
|
||||
"banner_explain_btn": "Explain",
|
||||
"banner_analyzing": "🤖 Analyzing…"
|
||||
@@ -693,6 +694,11 @@
|
||||
"expired_suffix": "— Expired!",
|
||||
"expired_suffix_ok": "— Expired (still ok)",
|
||||
"expired_suffix_warning": "— Expired (check first)",
|
||||
"opened_ago_long": "Opened {n} days ago",
|
||||
"opened_today_long": "Opened today",
|
||||
"opened_suffix": "— Opened too long!",
|
||||
"opened_suffix_ok": "— Opened (still ok)",
|
||||
"opened_suffix_warning": "— Opened (check first)",
|
||||
"days_compact": "{n}d"
|
||||
},
|
||||
"status": {
|
||||
|
||||
@@ -142,6 +142,7 @@
|
||||
"wasted": "Buttati: {n} ({pct}%)",
|
||||
"more_opened": "e altri {n} prodotti aperti...",
|
||||
"banner_expired_detail": "{when} · hai ancora <strong>{qty}</strong>.",
|
||||
"banner_opened_detail": "{when} in {location} · hai ancora <strong>{qty}</strong>.",
|
||||
"banner_explain_title": "Chiedi a Gemini una spiegazione",
|
||||
"banner_explain_btn": "Spiega",
|
||||
"banner_analyzing": "🤖 Analizzo…"
|
||||
@@ -693,6 +694,11 @@
|
||||
"expired_suffix": "— Scaduto!",
|
||||
"expired_suffix_ok": "— Scaduto (ancora ok)",
|
||||
"expired_suffix_warning": "— Scaduto (controlla)",
|
||||
"opened_ago_long": "Aperto da {n} giorni",
|
||||
"opened_today_long": "Aperto oggi",
|
||||
"opened_suffix": "— Aperto da troppo tempo!",
|
||||
"opened_suffix_ok": "— Aperto (ancora ok)",
|
||||
"opened_suffix_warning": "— Aperto (controlla)",
|
||||
"days_compact": "{n}gg"
|
||||
},
|
||||
"status": {
|
||||
|
||||
Reference in New Issue
Block a user