Files
food-ai/client/lib/l10n/app_localizations_it.dart
dbastrikin 9306d59d36 feat: unified food calendar — extend home screen to future dates + planned meals
Phase 1: date strip now covers today + 7 future days; right chevron enabled;
future pills rendered in lighter style.

Phase 2: home screen shows DateContext (past/today/future):
- future dates: hide calorie ring + macros, show PlanningBanner
- plannedMealsProvider derives from cached menuProvider (no extra API call)
- _MealCard shows ghost PlannedSlotTile for unconfirmed menu slots
- "Mark as eaten" creates a diary entry (source: menu_plan) via existing API

New l10n keys (12 locales): planningForDate, markAsEaten, plannedMealLabel

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 22:56:17 +02:00

365 lines
7.1 KiB
Dart

// ignore: unused_import
import 'package:intl/intl.dart' as intl;
import 'app_localizations.dart';
// ignore_for_file: type=lint
/// The translations for Italian (`it`).
class AppLocalizationsIt extends AppLocalizations {
AppLocalizationsIt([String locale = 'it']) : super(locale);
@override
String get appTitle => 'FoodAI';
@override
String get greetingMorning => 'Buongiorno';
@override
String get greetingAfternoon => 'Buon pomeriggio';
@override
String get greetingEvening => 'Buonasera';
@override
String get caloriesUnit => 'kcal';
@override
String get gramsUnit => 'g';
@override
String get goalLabel => 'obiettivo:';
@override
String get consumed => 'Consumato';
@override
String get remaining => 'Rimanente';
@override
String get exceeded => 'Superato';
@override
String get proteinLabel => 'Proteine';
@override
String get fatLabel => 'Grassi';
@override
String get carbsLabel => 'Carboidrati';
@override
String get today => 'Oggi';
@override
String get yesterday => 'Ieri';
@override
String get mealsSection => 'Pasti';
@override
String get addDish => 'Aggiungi piatto';
@override
String get scanDish => 'Scansiona';
@override
String get menu => 'Menu';
@override
String get dishHistory => 'Cronologia piatti';
@override
String get recommendCook => 'Consigliamo di cucinare';
@override
String get camera => 'Fotocamera';
@override
String get gallery => 'Galleria';
@override
String get analyzingPhoto => 'Analisi foto in corso...';
@override
String get inQueue => 'Sei in coda';
@override
String queuePosition(int position) {
return 'Posizione $position';
}
@override
String get processing => 'Elaborazione...';
@override
String get upgradePrompt => 'Salta la coda? Aggiorna →';
@override
String get recognitionFailed => 'Riconoscimento fallito. Riprova.';
@override
String get dishRecognition => 'Riconoscimento piatti';
@override
String get all => 'Tutti';
@override
String get dishRecognized => 'Piatto riconosciuto';
@override
String get recognizing => 'Riconoscimento in corso…';
@override
String get recognitionError => 'Errore di riconoscimento';
@override
String get dishResultTitle => 'Piatto riconosciuto';
@override
String get selectDish => 'Seleziona un piatto';
@override
String get dishNotRecognized => 'Piatto non riconosciuto';
@override
String get tryAgain => 'Riprova';
@override
String get nutritionApproximate =>
'I valori nutrizionali sono approssimativi — stimati dalla foto.';
@override
String get portion => 'Porzione';
@override
String get mealType => 'Tipo di pasto';
@override
String get dateLabel => 'Data';
@override
String get addToJournal => 'Aggiungi al diario';
@override
String get addFailed => 'Aggiunta fallita. Riprova.';
@override
String get historyTitle => 'Cronologia riconoscimenti';
@override
String get historyLoadError => 'Impossibile caricare la cronologia';
@override
String get retry => 'Riprova';
@override
String get noHistory => 'Nessun riconoscimento ancora';
@override
String get profileTitle => 'Profilo';
@override
String get edit => 'Modifica';
@override
String get bodyParams => 'PARAMETRI CORPOREI';
@override
String get goalActivity => 'OBIETTIVO & ATTIVITÀ';
@override
String get nutrition => 'NUTRIZIONE';
@override
String get settings => 'IMPOSTAZIONI';
@override
String get height => 'Altezza';
@override
String get weight => 'Peso';
@override
String get age => 'Età';
@override
String get gender => 'Sesso';
@override
String get genderMale => 'Maschio';
@override
String get genderFemale => 'Femmina';
@override
String get goalLoss => 'Perdita di peso';
@override
String get goalMaintain => 'Mantenimento';
@override
String get goalGain => 'Aumento muscolare';
@override
String get activityLow => 'Bassa';
@override
String get activityMedium => 'Media';
@override
String get activityHigh => 'Alta';
@override
String get calorieGoal => 'Obiettivo calorico';
@override
String get mealTypes => 'Tipi di pasto';
@override
String get formulaNote => 'Calcolato con la formula di Mifflin-St Jeor';
@override
String get language => 'Lingua';
@override
String get notSet => 'Non impostato';
@override
String get calorieHint =>
'Inserisci i parametri corporei per calcolare l\'obiettivo calorico';
@override
String get logout => 'Disconnetti';
@override
String get editProfile => 'Modifica profilo';
@override
String get cancel => 'Annulla';
@override
String get save => 'Salva';
@override
String get nameLabel => 'Nome';
@override
String get heightCm => 'Altezza (cm)';
@override
String get weightKg => 'Peso (kg)';
@override
String get birthDate => 'Data di nascita';
@override
String get nameRequired => 'Inserisci il nome';
@override
String get profileUpdated => 'Profilo aggiornato';
@override
String get profileSaveFailed => 'Salvataggio fallito';
@override
String get mealTypeBreakfast => 'Colazione';
@override
String get mealTypeSecondBreakfast => 'Seconda colazione';
@override
String get mealTypeLunch => 'Pranzo';
@override
String get mealTypeAfternoonSnack => 'Merenda';
@override
String get mealTypeDinner => 'Cena';
@override
String get mealTypeSnack => 'Spuntino';
@override
String get navHome => 'Home';
@override
String get navProducts => 'Prodotti';
@override
String get navRecipes => 'Ricette';
@override
String get addFromReceiptOrPhoto => 'Aggiungi da scontrino o foto';
@override
String get chooseMethod => 'Scegli il metodo';
@override
String get photoReceipt => 'Fotografa scontrino';
@override
String get photoReceiptSubtitle =>
'Riconosciamo tutti i prodotti dallo scontrino';
@override
String get photoProducts => 'Fotografa i prodotti';
@override
String get photoProductsSubtitle => 'Frigo, tavolo, scaffale — fino a 3 foto';
@override
String get addPackagedFood => 'Aggiungi alimento confezionato';
@override
String get scanBarcode => 'Scansiona codice a barre';
@override
String get portionWeightG => 'Peso della porzione (g)';
@override
String get productNotFound => 'Prodotto non trovato';
@override
String get enterManually => 'Inserisci manualmente';
@override
String get perHundredG => 'per 100 g';
@override
String get searchFoodHint => 'Cerca prodotti e piatti...';
@override
String get recentlyUsedLabel => 'Usati di recente';
@override
String get productsSection => 'Prodotti';
@override
String get dishesSection => 'Piatti';
@override
String noResultsForQuery(String query) {
return 'Nessun risultato per \"$query\"';
}
@override
String get servingsLabel => 'Porzioni';
@override
String get addToDiary => 'Aggiungi al diario';
@override
String get scanDishPhoto => 'Scansiona foto';
@override
String planningForDate(String date) {
return '';
}
@override
String get markAsEaten => '';
@override
String get plannedMealLabel => '';
}