What changed
- Setup sheet › Speech model, once ready, shows the language it transcribes ("English",
"英语") instead of "English · Parakeet V2" or "English · Apple". The engine name is gone
from the row; the language is still Locale's own name, so Simplified Chinese stays in step.
- Home's button: DictationController.primaryActionPreparesModel decides between Set up and
Dictate. A failure with the speech model still ready (a microphone that didn't start, a
recording iOS stopped, a transcription that failed) now shows Dictate with the microphone
icon, and a tap records instead of calling prepareModel() to load the model again. A
failure that left no model ready, and no model yet, still show Set up. Replaced: every
.failed phase used to mean Set up.
Why
- The copy rules give the speech model one name and never show Parakeet V2 or Apple Speech
in a status row.
- After a microphone failure home read "Ready" beside a "↓ Set up" button. It happens on an
iPhone, not only in the simulator: startRecording's beginCapture throwing (another app
holding the microphone, a call), a capture iOS ends ("Recording stopped.") or a failed
transcription all set .failed while isModelReady stays true, so setup counts no steps left.
Verified
- New case in DictationControllerTests: Set up before a model, Dictate after a microphone
failure with the model ready, the next tap records, a failure without a model still sets up.
- Simulator before/after pictures of the setup sheet (English, Simplified Chinese) and home
after the simulator's microphone failure.
- scripts/code-shape.py passes; xcodebuild test on a fresh iPhone 17 Pro simulator (iOS 27.2).