feat(train): Settings over the tabs from a cog on Home and Profile, the account near its foot (ADR 0030, D60)

As Learn's: a cog atop Home and Profile, with the count of accounts
waiting for whoever operates the instance, opens Settings over the tabs,
where an account sheet had held the account and the training's screens.
Grouped in cards: the operator's card, the training (your body, Health
Connect, the Polar Loop, music, those the device has), the account near
the foot, About Halkyon Train last, and the version small at the very
bottom.

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 00:16:01 +01:00
commit 25191055ae
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64
5 changed files with 322 additions and 150 deletions

View file

@ -12,7 +12,7 @@
"accountTitle": "Konto",
"accountDeleteMessage": "Dein Konto wird auf dem Server und auf all deinen Geräten gelöscht. Dies kann nicht rückgängig gemacht werden.",
"aboutTitle": "Über",
"aboutTitle": "Über Halkyon Train",
"homeRecordHint": "Zeichne eins mit dem Knopf unten auf.",
"recordAction": "Aufzeichnen",
@ -563,5 +563,8 @@
"shellTabGroups": "Gruppen",
"shellTabProfile": "Profil",
"groupsLaterTitle": "Gruppen kommen später",
"groupsLaterHint": "Mit anderen trainieren, in euren eigenen Gruppen, kommt in einer späteren Version von Train."
"groupsLaterHint": "Mit anderen trainieren, in euren eigenen Gruppen, kommt in einer späteren Version von Train.",
"settingsTitle": "Einstellungen",
"settingsTraining": "Training",
"settingsVersion": "Version {version} (Build {build})"
}

View file

@ -14,7 +14,7 @@
"accountTitle": "Account",
"accountDeleteMessage": "Your account is deleted on the server and on all your devices. This can't be undone.",
"aboutTitle": "About",
"aboutTitle": "About Halkyon Train",
"homeRecordHint": "Record one with the button below.",
"recordAction": "Record",
@ -710,5 +710,9 @@
"shellTabGroups": "Groups",
"shellTabProfile": "Profile",
"groupsLaterTitle": "Groups come later",
"groupsLaterHint": "Training with others, in groups of your own, comes in a later version of Train."
"groupsLaterHint": "Training with others, in groups of your own, comes in a later version of Train.",
"settingsTitle": "Settings",
"settingsTraining": "Training",
"settingsVersion": "Version {version} (build {build})",
"@settingsVersion": {"placeholders": {"version": {"type": "String"}, "build": {"type": "String"}}}
}

View file

@ -145,7 +145,7 @@ abstract class AppLocalizations {
/// No description provided for @aboutTitle.
///
/// In en, this message translates to:
/// **'About'**
/// **'About Halkyon Train'**
String get aboutTitle;
/// No description provided for @homeRecordHint.
@ -3405,6 +3405,24 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Training with others, in groups of your own, comes in a later version of Train.'**
String get groupsLaterHint;
/// No description provided for @settingsTitle.
///
/// In en, this message translates to:
/// **'Settings'**
String get settingsTitle;
/// No description provided for @settingsTraining.
///
/// In en, this message translates to:
/// **'Training'**
String get settingsTraining;
/// No description provided for @settingsVersion.
///
/// In en, this message translates to:
/// **'Version {version} (build {build})'**
String settingsVersion(String version, String build);
}
class _AppLocalizationsDelegate

View file

@ -34,7 +34,7 @@ class AppLocalizationsDe extends AppLocalizations {
'Dein Konto wird auf dem Server und auf all deinen Geräten gelöscht. Dies kann nicht rückgängig gemacht werden.';
@override
String get aboutTitle => 'Über';
String get aboutTitle => 'Über Halkyon Train';
@override
String get homeRecordHint => 'Zeichne eins mit dem Knopf unten auf.';
@ -2041,4 +2041,15 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get groupsLaterHint =>
'Mit anderen trainieren, in euren eigenen Gruppen, kommt in einer späteren Version von Train.';
@override
String get settingsTitle => 'Einstellungen';
@override
String get settingsTraining => 'Training';
@override
String settingsVersion(String version, String build) {
return 'Version $version (Build $build)';
}
}

View file

@ -33,7 +33,7 @@ class AppLocalizationsEn extends AppLocalizations {
'Your account is deleted on the server and on all your devices. This can\'t be undone.';
@override
String get aboutTitle => 'About';
String get aboutTitle => 'About Halkyon Train';
@override
String get homeRecordHint => 'Record one with the button below.';
@ -2029,6 +2029,17 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get groupsLaterHint =>
'Training with others, in groups of your own, comes in a later version of Train.';
@override
String get settingsTitle => 'Settings';
@override
String get settingsTraining => 'Training';
@override
String settingsVersion(String version, String build) {
return 'Version $version (build $build)';
}
}
/// The translations for English, as used in the United Kingdom (`en_GB`).