feat(train): Home opens on today's figures from the band (ADR 0030, D60)

While the Loop gave figures for today, Home shows them above the week:
steps, active time, last night's sleep and Nightly Recharge, as Profile
lists a day, tapped opening the day's page. Shown above Home's message
too, before a first workout; the week waits for one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-31 18:52:32 +01:00
commit a552b7a0fa
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64
5 changed files with 172 additions and 18 deletions

View file

@ -578,5 +578,6 @@
"profileYearEmpty": "Dieses Jahr noch keine Trainings.",
"bodyWeight": "{kg} kg",
"bodyResting": "Ruhepuls {bpm}",
"bodyMax": "Maximalpuls {bpm}"
"bodyMax": "Maximalpuls {bpm}",
"homeToday": "Heute"
}

View file

@ -732,5 +732,6 @@
"bodyResting": "resting {bpm} bpm",
"@bodyResting": {"placeholders": {"bpm": {"type": "int"}}},
"bodyMax": "max {bpm} bpm",
"@bodyMax": {"placeholders": {"bpm": {"type": "int"}}}
"@bodyMax": {"placeholders": {"bpm": {"type": "int"}}},
"homeToday": "Today"
}

View file

@ -3495,6 +3495,12 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'max {bpm} bpm'**
String bodyMax(int bpm);
/// No description provided for @homeToday.
///
/// In en, this message translates to:
/// **'Today'**
String get homeToday;
}
class _AppLocalizationsDelegate

View file

@ -2106,4 +2106,7 @@ class AppLocalizationsDe extends AppLocalizations {
String bodyMax(int bpm) {
return 'Maximalpuls $bpm';
}
@override
String get homeToday => 'Heute';
}

View file

@ -2094,6 +2094,9 @@ class AppLocalizationsEn extends AppLocalizations {
String bodyMax(int bpm) {
return 'max $bpm bpm';
}
@override
String get homeToday => 'Today';
}
/// The translations for English, as used in the United Kingdom (`en_GB`).