Localize header text

This commit is contained in:
Roland Geider committed 2024-05-29 10:23:32 +02:00
1 parent caa2866bdf
commit cbd3d431c3
2 files changed
+8 -1

No files matched your search

+4
View File
@@ -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",
+4 -1
View File
@@ -467,7 +467,10 @@ class _PlanFormState extends State<PlanForm> {
),
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<GoalType>(