diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index f25eed63..5568c604 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -278,6 +278,10 @@ }, "onlyLogging": "Only track calories", "onlyLoggingHelpText": "Check the box if you only want to log your calories and don't want to setup a detailed nutritional plan with specific meals", + "goalMacro": "Macro goals", + "@goalMacro": { + "description": "The goal for macronutrients" + }, "goalEnergy": "Energy goal", "goalProtein": "Protein goal", "goalCarbohydrates": "Carbohydrates goal", diff --git a/lib/widgets/nutrition/forms.dart b/lib/widgets/nutrition/forms.dart index 034d1a7d..c2a2bb05 100644 --- a/lib/widgets/nutrition/forms.dart +++ b/lib/widgets/nutrition/forms.dart @@ -467,7 +467,10 @@ class _PlanFormState extends State { ), Row( children: [ - Text('Macro goals', style: Theme.of(context).textTheme.titleMedium), + Text( + AppLocalizations.of(context).goalMacro, + style: Theme.of(context).textTheme.titleMedium, + ), const SizedBox(width: 8), Expanded( child: DropdownButtonFormField(