mirror of
https://github.com/wger-project/flutter.git
synced 2026-11-30 17:52:35 +01:00
Localize text
This commit is contained in:
@@ -196,6 +196,10 @@
|
||||
"@gymMode": {
|
||||
"description": "Label when starting the gym mode"
|
||||
},
|
||||
"plateCalculator": "Plate calculator",
|
||||
"@plateCalculator": {
|
||||
"description": "Label used for the plate calculator in the gym mode"
|
||||
},
|
||||
"pause": "Pause",
|
||||
"@pause": {
|
||||
"description": "Noun, not an imperative! Label used for the pause when using the gym mode"
|
||||
|
||||
@@ -514,10 +514,10 @@ class _LogPageState extends State<LogPage> {
|
||||
return Column(
|
||||
children: [
|
||||
Text(
|
||||
'Plate calculator',
|
||||
AppLocalizations.of(context).plateCalculator,
|
||||
style: Theme.of(context).textTheme.headline6,
|
||||
),
|
||||
Container(
|
||||
SizedBox(
|
||||
height: 40,
|
||||
child: plates.length > 0
|
||||
? Row(
|
||||
@@ -547,7 +547,7 @@ class _LogPageState extends State<LogPage> {
|
||||
.toList()
|
||||
],
|
||||
)
|
||||
: Text('invalid weight'),
|
||||
: Container(),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user