feat(train): a recording runs an interval plan, with cues and Lap (ADR 0030, D42)
The plan chosen on the Record sheet goes to the recording service spelled out: each step's end, its target (zones as the heart rates they span for the profile's highest rate) and its spoken line in the app's language. PlanRunner.kt moves through the steps on the moving time and distance, counts a timed step's last seconds down and cues off target from a 30 s window; PlanCues.kt gives a tone, a vibration and the voice, ducking music. The file's plan and step lines bring it back, and the recording screen shows the step, what is left of it, its target, the next step and Lap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
f406ddcc59
commit
d9f98449a8
1 changed files with 1886 additions and 26 deletions
|
|
@ -30,6 +30,15 @@
|
|||
"@recordAutoPause": {"description": "The switch for auto-pause, as the recording starts."},
|
||||
"recordAutoPauseHint": "When you stand still, and going on as you move again",
|
||||
"recordStart": "Start",
|
||||
"recordPlan": "Plan",
|
||||
"recordNoPlan": "None",
|
||||
"recordingLap": "Lap",
|
||||
"recordingPlanDone": "Plan done",
|
||||
"recordingStepOf": "Step {index} of {count}",
|
||||
"@recordingStepOf": {"placeholders": {"index": {"type": "int"}, "count": {"type": "int"}}},
|
||||
"recordingNextStep": "Next: {step}",
|
||||
"@recordingNextStep": {"placeholders": {"step": {"type": "String"}}},
|
||||
"recordingStepTapLap": "Until you tap Lap",
|
||||
"recordLocationRefused": "Train needs your location to record this. You can allow it in the system's settings.",
|
||||
"recordingWaitingForGps": "Waiting for GPS",
|
||||
"recordingWaitingForGpsAccuracy": "Waiting for GPS · ±{metres} m",
|
||||
|
|
@ -334,6 +343,34 @@
|
|||
"planDeleted": "Plan deleted",
|
||||
"planSteps": "{count, plural, =1{1 step} other{{count} steps}}",
|
||||
"@planSteps": {"placeholders": {"count": {"type": "int"}}},
|
||||
"planSayRound": "{round} of {rounds}",
|
||||
"@planSayRound": {"placeholders": {"round": {"type": "int"}, "rounds": {"type": "int"}}},
|
||||
"planSayMinutes": "{count, plural, =1{1 minute} other{{count} minutes}}",
|
||||
"@planSayMinutes": {"placeholders": {"count": {"type": "int"}}},
|
||||
"planSaySeconds": "{count, plural, =1{1 second} other{{count} seconds}}",
|
||||
"@planSaySeconds": {"placeholders": {"count": {"type": "int"}}},
|
||||
"planSayMetres": "{count, plural, =1{1 metre} other{{count} metres}}",
|
||||
"@planSayMetres": {"placeholders": {"count": {"type": "int"}}},
|
||||
"planSayKilometres": "{km} kilometres",
|
||||
"@planSayKilometres": {"placeholders": {"km": {"type": "String"}}},
|
||||
"planSayUntilLap": "until you tap Lap",
|
||||
"planSayPace": "{from} to {to} a kilometre",
|
||||
"@planSayPace": {"placeholders": {"from": {"type": "String"}, "to": {"type": "String"}}},
|
||||
"planSaySpeed": "{from} to {to} kilometres an hour",
|
||||
"@planSaySpeed": {"placeholders": {"from": {"type": "String"}, "to": {"type": "String"}}},
|
||||
"planSayHeartRate": "{from} to {to} beats a minute",
|
||||
"@planSayHeartRate": {"placeholders": {"from": {"type": "String"}, "to": {"type": "String"}}},
|
||||
"planSayZone": "zone {zone}",
|
||||
"@planSayZone": {"placeholders": {"zone": {"type": "int"}}},
|
||||
"planSaySplit": "{from} to {to} per 500 metres",
|
||||
"@planSaySplit": {"placeholders": {"from": {"type": "String"}, "to": {"type": "String"}}},
|
||||
"planSayWatts": "{from} to {to} watts",
|
||||
"@planSayWatts": {"placeholders": {"from": {"type": "String"}, "to": {"type": "String"}}},
|
||||
"planSayStrokeRate": "{from} to {to} strokes a minute",
|
||||
"@planSayStrokeRate": {"placeholders": {"from": {"type": "String"}, "to": {"type": "String"}}},
|
||||
"planSayHarder": "Push a little",
|
||||
"planSayEasier": "Ease off a little",
|
||||
"planSayDone": "Plan done",
|
||||
"stepTitle": "Step",
|
||||
"stepKind": "Kind",
|
||||
"stepWarmUp": "Warm-up",
|
||||
|
|
|
|||
Loading…
Reference in a new issue