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
|
|
@ -264,6 +264,22 @@
|
|||
"@loopCharging": {"placeholders": {"level": {"type": "int"}}},
|
||||
"loopFirmware": "Firmware {version}",
|
||||
"@loopFirmware": {"placeholders": {"version": {"type": "String", "example": "1.2.3"}}},
|
||||
"loopFirmwareCheck": "Check for a firmware update",
|
||||
"loopFirmwareCurrent": "The band's firmware is up to date.",
|
||||
"loopFirmwareOffered": "Firmware {version} available",
|
||||
"@loopFirmwareOffered": {"placeholders": {"version": {"type": "String", "example": "2.1.0"}}},
|
||||
"loopFirmwareViaPolar": "Fetched from Polar directly: Polar learns this phone's address (or its VPN's), with the band's firmware version and hardware code.",
|
||||
"loopFirmwareViaInstance": "Fetched through your instance: Polar learns the instance's address, not this phone's, with the band's firmware version and hardware code.",
|
||||
"loopFirmwareErases": "The update erases the band. Train first keeps what is on it, then sets it up again with your profile.",
|
||||
"loopFirmwareUpdate": "Update",
|
||||
"loopFirmwareUpdateTitle": "Update the band's firmware?",
|
||||
"loopFirmwareUpdateText": "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.",
|
||||
"loopFirmwareStage": "{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…}}",
|
||||
"@loopFirmwareStage": {"placeholders": {"stage": {"type": "String"}}},
|
||||
"loopFirmwareStageHint": "Keep the band near the phone, and Train open.",
|
||||
"loopFirmwareUpdated": "Firmware updated; the band is set up again.",
|
||||
"loopFirmwareThroughInstance": "Firmware through your instance",
|
||||
"loopFirmwareThroughInstanceHint": "Polar then learns the instance's address rather than this phone's. Off, the phone asks Polar directly.",
|
||||
"loopProfileChanged": "Your body changed since the band was set up",
|
||||
"loopProfileChangedHint": "Sending sets the band up again with your figures as they are now.",
|
||||
"loopSend": "Send to the band",
|
||||
|
|
|
|||
Loading…
Reference in a new issue