i18n(säsong+kock): lokalisera säsongsnamn (12 språk), snyggare tidshint, rensa dubbletter
- Säsong/högtidschippen på "Vad ska vi äta?" visade marknadens namn på svenska
även för icke-svenska språk (SE-marknadens event saknar nameLocalized). Nu
renderas de via i18n-nyckeln season.<slug> (t med defaultValue -> serverns namn
som fallback för egennamn m.m.). SE-marknadens 14 event översatta i alla 12
språk; egennamn (Navidad, Midsommar, Lucia...) behålls, beskrivande översätts
(Kräftskiva, Skolstart, Grillsäsong...).
- Kok-läget: den boxade ⏱-rutan (såg ut som en knapp/timer och kunde misstas för
en riktig timer) ersatt med en diskret rad "⏱ Ungefär {time}". Döda nycklar
cooking.timer/timerDone/timerRunning borttagna; cooking.timerHint -> approxTime.
- Städat 2 dubblettnycklar i alla 12 locale-filer (mealbox.eatBy, common.remove)
som låg kvar sedan tidigare leveranser (i18next tog sista värdet ändå).
- Vakt + typecheck gröna. 591 nycklar.
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -51,9 +51,7 @@
|
||||
"common.add": "Add",
|
||||
"common.back": "Back",
|
||||
"common.cancel": "Cancel",
|
||||
"mealbox.eatBy": "Eat this meal box by {date} at the latest. Zero cooking, zero waste.",
|
||||
"mealbox.ready": "Ready-made food waiting – the fastest dinner in the house.",
|
||||
"common.remove": "Remove",
|
||||
"common.all": "All",
|
||||
"auth.tagline": "Less waste, less stress, more left in your wallet",
|
||||
"auth.passwordMin8": "Password must be at least 8 characters.",
|
||||
@@ -67,7 +65,6 @@
|
||||
"scan.takeAnother": "Take another",
|
||||
"scan.analyzeCount": "Analyze ({count})",
|
||||
"scan.tips.merge": "Fridge/freezer/pantry: take several photos in the same scan – the app merges duplicates.",
|
||||
"cooking.timerHint": "Approximate time for the step – use your phone's own timer.",
|
||||
"kitchen.deleteConfirm": "Remove selected items from {label}?",
|
||||
"kitchen.scopeSearch": "the search",
|
||||
"kitchen.scopeAll": "the whole inventory",
|
||||
@@ -129,9 +126,7 @@
|
||||
"cooking.keepAwake": "The screen stays awake while you cook",
|
||||
"cooking.scale": "Servings",
|
||||
"cooking.step": "Step {current} of {total}",
|
||||
"cooking.timer": "Start timer",
|
||||
"cooking.timerDone": "Done!",
|
||||
"cooking.timerRunning": "{time} left",
|
||||
"cooking.approxTime": "About {time}",
|
||||
"home.budget": "Food budget",
|
||||
"home.emptyInventory": "Your inventory is empty. Scan the fridge or add items manually.",
|
||||
"home.expired": "Expired",
|
||||
@@ -580,5 +575,19 @@
|
||||
"cookedLog.doneTitle": "Logged!",
|
||||
"cookedLog.doneBody": "The ingredients have been deducted from your stock and the meal is logged.",
|
||||
"plan.addMeal": "Add a meal",
|
||||
"plan.regenerate": "Re-plan the week"
|
||||
"plan.regenerate": "Re-plan the week",
|
||||
"season.midsommar": "Midsummer",
|
||||
"season.jul": "Christmas",
|
||||
"season.påsk": "Easter",
|
||||
"season.nyår": "New Year's Eve",
|
||||
"season.kraftskiva": "Crayfish party",
|
||||
"season.surstromming": "Surströmming premiere",
|
||||
"season.lucia": "St Lucia's Day",
|
||||
"season.valborg": "Walpurgis Night",
|
||||
"season.grillsasong": "Grilling season",
|
||||
"season.skolstart": "Back to school",
|
||||
"season.alla-hjartans-dag": "Valentine's Day",
|
||||
"season.halloween": "Halloween",
|
||||
"season.oktoberfest": "Oktoberfest",
|
||||
"season.eid": "Eid al-Fitr"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user