feat(train): the Loop's firmware updates, directly or through the instance (ADR 0030, D10, D40)
Train's server relays Polar's firmware service for the people signed in (`firmware`: offered, check, download), a fetched file kept in memory a day per hardware and version, off with LOOP_FIRMWARE_RELAY=off. The app asks on the day's first connection and on the band's screen, from Polar or the instance as the person chose, never Polar in the instance's place; an update runs only after asking, reads and keeps the band first, and sets it up again with its figures and clock after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
7c5e539df5
commit
388b3b1ae6
1 changed files with 2318 additions and 45 deletions
|
|
@ -1270,6 +1270,90 @@ abstract class AppLocalizations {
|
|||
/// **'Firmware {version}'**
|
||||
String loopFirmware(String version);
|
||||
|
||||
/// No description provided for @loopFirmwareCheck.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Check for a firmware update'**
|
||||
String get loopFirmwareCheck;
|
||||
|
||||
/// No description provided for @loopFirmwareCurrent.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'The band\'s firmware is up to date.'**
|
||||
String get loopFirmwareCurrent;
|
||||
|
||||
/// No description provided for @loopFirmwareOffered.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Firmware {version} available'**
|
||||
String loopFirmwareOffered(String version);
|
||||
|
||||
/// No description provided for @loopFirmwareViaPolar.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Fetched from Polar directly: Polar learns this phone\'s address (or its VPN\'s), with the band\'s firmware version and hardware code.'**
|
||||
String get loopFirmwareViaPolar;
|
||||
|
||||
/// No description provided for @loopFirmwareViaInstance.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Fetched through your instance: Polar learns the instance\'s address, not this phone\'s, with the band\'s firmware version and hardware code.'**
|
||||
String get loopFirmwareViaInstance;
|
||||
|
||||
/// No description provided for @loopFirmwareErases.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'The update erases the band. Train first keeps what is on it, then sets it up again with your profile.'**
|
||||
String get loopFirmwareErases;
|
||||
|
||||
/// No description provided for @loopFirmwareUpdate.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Update'**
|
||||
String get loopFirmwareUpdate;
|
||||
|
||||
/// No description provided for @loopFirmwareUpdateTitle.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Update the band\'s firmware?'**
|
||||
String get loopFirmwareUpdateTitle;
|
||||
|
||||
/// No description provided for @loopFirmwareUpdateText.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Train first keeps what is on the band, as the update erases it. The band restarts, which takes a few minutes, and Train then sets it up again with your profile. Keep it near the phone until then.'**
|
||||
String get loopFirmwareUpdateText;
|
||||
|
||||
/// No description provided for @loopFirmwareStage.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{stage, select, reading{Keeping what is on the band…} fetching{Fetching the firmware…} preparing{Preparing the band…} writing{Writing the firmware…} finalizing{Finishing the update…} done{Written} restarting{The band restarts…} other{Updating…}}'**
|
||||
String loopFirmwareStage(String stage);
|
||||
|
||||
/// No description provided for @loopFirmwareStageHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Keep the band near the phone, and Train open.'**
|
||||
String get loopFirmwareStageHint;
|
||||
|
||||
/// No description provided for @loopFirmwareUpdated.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Firmware updated; the band is set up again.'**
|
||||
String get loopFirmwareUpdated;
|
||||
|
||||
/// No description provided for @loopFirmwareThroughInstance.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Firmware through your instance'**
|
||||
String get loopFirmwareThroughInstance;
|
||||
|
||||
/// No description provided for @loopFirmwareThroughInstanceHint.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'Polar then learns the instance\'s address rather than this phone\'s. Off, the phone asks Polar directly.'**
|
||||
String get loopFirmwareThroughInstanceHint;
|
||||
|
||||
/// No description provided for @loopProfileChanged.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
|
|||
Loading…
Reference in a new issue