Backend fixes: - migration 003: add 'menu' value to recipe_source enum (was causing SQLSTATE 22P02) - migration 004: rename recipe_products→recipe_ingredients, product_id→ingredient_id (was causing SQLSTATE 42P01) - dish/repository.go: fix INSERT INTO tags using $1/$1 for two columns → $1/$2 (was causing SQLSTATE 42P08) - home/handler.go: replace non-existent saved_recipes table with correct joins (recipes→dishes→dish_translations, user_saved_recipes) so today's plan and recommendations load correctly - reqlog: new slog.Handler wrapper that adds request_id and stack trace to ERROR-level logs - all handlers: slog.Error→slog.ErrorContext so error logs include request context; writeError includes request_id in response body Client: - home_screen.dart: extend home screen to future dates, show planned meals as ghost entries - l10n: add new localisation keys for home screen date navigation and planned meal UI Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
140 lines
4.6 KiB
Plaintext
140 lines
4.6 KiB
Plaintext
{
|
|
"@@locale": "pt",
|
|
"appTitle": "FoodAI",
|
|
"greetingMorning": "Bom dia",
|
|
"greetingAfternoon": "Boa tarde",
|
|
"greetingEvening": "Boa noite",
|
|
"caloriesUnit": "kcal",
|
|
"gramsUnit": "g",
|
|
"goalLabel": "meta:",
|
|
"consumed": "Consumido",
|
|
"remaining": "Restante",
|
|
"exceeded": "Excedido",
|
|
"proteinLabel": "Proteínas",
|
|
"fatLabel": "Gorduras",
|
|
"carbsLabel": "Carboidratos",
|
|
"today": "Hoje",
|
|
"yesterday": "Ontem",
|
|
"mealsSection": "Refeições",
|
|
"addDish": "Adicionar prato",
|
|
"scanDish": "Escanear",
|
|
"menu": "Menu",
|
|
"dishHistory": "Histórico de pratos",
|
|
"recommendCook": "Recomendamos cozinhar",
|
|
"camera": "Câmera",
|
|
"gallery": "Galeria",
|
|
"analyzingPhoto": "Analisando foto...",
|
|
"inQueue": "Você está na fila",
|
|
"queuePosition": "Posição {position}",
|
|
"@queuePosition": {
|
|
"placeholders": {
|
|
"position": {
|
|
"type": "int"
|
|
}
|
|
}
|
|
},
|
|
"processing": "Processando...",
|
|
"upgradePrompt": "Pular a fila? Faça upgrade →",
|
|
"recognitionFailed": "Reconhecimento falhou. Tente novamente.",
|
|
"dishRecognition": "Reconhecimento de pratos",
|
|
"all": "Todos",
|
|
"dishRecognized": "Prato reconhecido",
|
|
"recognizing": "Reconhecendo…",
|
|
"recognitionError": "Erro de reconhecimento",
|
|
"dishResultTitle": "Prato reconhecido",
|
|
"selectDish": "Selecionar prato",
|
|
"dishNotRecognized": "Prato não reconhecido",
|
|
"tryAgain": "Tentar novamente",
|
|
"nutritionApproximate": "Os valores nutricionais são aproximados — estimados pela foto.",
|
|
"portion": "Porção",
|
|
"mealType": "Tipo de refeição",
|
|
"dateLabel": "Data",
|
|
"addToJournal": "Adicionar ao diário",
|
|
"addFailed": "Falha ao adicionar. Tente novamente.",
|
|
"historyTitle": "Histórico de reconhecimentos",
|
|
"historyLoadError": "Falha ao carregar o histórico",
|
|
"retry": "Tentar novamente",
|
|
"noHistory": "Nenhum reconhecimento ainda",
|
|
"profileTitle": "Perfil",
|
|
"edit": "Editar",
|
|
"bodyParams": "PARÂMETROS CORPORAIS",
|
|
"goalActivity": "OBJETIVO & ATIVIDADE",
|
|
"nutrition": "NUTRIÇÃO",
|
|
"settings": "CONFIGURAÇÕES",
|
|
"height": "Altura",
|
|
"weight": "Peso",
|
|
"age": "Idade",
|
|
"gender": "Gênero",
|
|
"genderMale": "Masculino",
|
|
"genderFemale": "Feminino",
|
|
"goalLoss": "Perda de peso",
|
|
"goalMaintain": "Manutenção",
|
|
"goalGain": "Ganho muscular",
|
|
"activityLow": "Baixa",
|
|
"activityMedium": "Média",
|
|
"activityHigh": "Alta",
|
|
"calorieGoal": "Meta calórica",
|
|
"mealTypes": "Tipos de refeição",
|
|
"formulaNote": "Calculado com a fórmula de Mifflin-St Jeor",
|
|
"language": "Idioma",
|
|
"notSet": "Não definido",
|
|
"calorieHint": "Insira os parâmetros corporais para calcular a meta calórica",
|
|
"logout": "Sair",
|
|
"editProfile": "Editar perfil",
|
|
"cancel": "Cancelar",
|
|
"save": "Salvar",
|
|
"nameLabel": "Nome",
|
|
"heightCm": "Altura (cm)",
|
|
"weightKg": "Peso (kg)",
|
|
"birthDate": "Data de nascimento",
|
|
"nameRequired": "Insira o nome",
|
|
"profileUpdated": "Perfil atualizado",
|
|
"profileSaveFailed": "Falha ao salvar",
|
|
"mealTypeBreakfast": "Café da manhã",
|
|
"mealTypeSecondBreakfast": "Segundo café da manhã",
|
|
"mealTypeLunch": "Almoço",
|
|
"mealTypeAfternoonSnack": "Lanche da tarde",
|
|
"mealTypeDinner": "Jantar",
|
|
"mealTypeSnack": "Petisco",
|
|
"navHome": "Início",
|
|
"navProducts": "Produtos",
|
|
"navRecipes": "Receitas",
|
|
"addFromReceiptOrPhoto": "Adicionar de recibo ou foto",
|
|
"chooseMethod": "Escolher método",
|
|
"photoReceipt": "Fotografar recibo",
|
|
"photoReceiptSubtitle": "Reconhecemos todos os produtos do recibo",
|
|
"photoProducts": "Fotografar produtos",
|
|
"photoProductsSubtitle": "Geladeira, mesa, prateleira — até 3 fotos",
|
|
"addPackagedFood": "Adicionar alimento embalado",
|
|
"scanBarcode": "Escanear código de barras",
|
|
"portionWeightG": "Peso da porção (g)",
|
|
"productNotFound": "Produto não encontrado",
|
|
"enterManually": "Inserir manualmente",
|
|
"perHundredG": "por 100 g",
|
|
"searchFoodHint": "Pesquisar produtos e pratos...",
|
|
"recentlyUsedLabel": "Usados recentemente",
|
|
"productsSection": "Produtos",
|
|
"dishesSection": "Pratos",
|
|
"noResultsForQuery": "Nada encontrado para \"{query}\"",
|
|
"@noResultsForQuery": {
|
|
"placeholders": {
|
|
"query": { "type": "String" }
|
|
}
|
|
},
|
|
"servingsLabel": "Porções",
|
|
"addToDiary": "Adicionar ao diário",
|
|
"scanDishPhoto": "Escanear foto",
|
|
"planningForDate": "",
|
|
"@planningForDate": {
|
|
"placeholders": {
|
|
"date": { "type": "String" }
|
|
}
|
|
},
|
|
"markAsEaten": "Marcar como comido",
|
|
"plannedMealLabel": "Planejado",
|
|
"generateWeekLabel": "Planejar a semana",
|
|
"generateWeekSubtitle": "A IA criará um menu com café da manhã, almoço e jantar para a semana inteira",
|
|
"generatingMenu": "Gerando menu...",
|
|
"weekPlannedLabel": "Semana planejada"
|
|
}
|