mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Localize header text
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user