mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Settings › Dictation › Translate what I say only offered Apple's language
packs through a button that showed while the page was open, for a pair it
built from Hex's own Automatic pick. Hex's Automatic follows Hex's language
when it is set apart from the iPhone's in iOS Settings, but the keyboard
keeps the iPhone's, so with Hex in English on a Chinese iPhone the row
checked English to the target while the keyboard translated Chinese, and
could say "Ready. Works offline." for a pair the keyboard never used.
Nothing asked for the packs when translation was turned on or a target was
picked. (TestFlight build 149, iPhone, iOS 27.2.1, zh-Hans: "Chinese can't
be turned into other languages; it works with the app in English". Not
reproduced: the simulator's translation reports every pair unsupported.)
- The row's source is now the language the keyboard dictates in:
Settings › Dictation language, else the keyboard's language Automatic
follows, else the keyboard's last dictation on Automatic, else the
iPhone's first language Hex dictates (what the keyboard's Automatic
picks), read from the iPhone's languages, not Hex's. The keyboard writes
that last language as a code and a time only
(experiments.translateDictation.keyboardAutomaticLanguage).
- Turning the switch on or picking a target in Settings checks the pair
and shows Apple's download sheet when its packs aren't here. Opening the
page never shows the sheet; it shows the state and the download button.
- "Ready" is said only for the pair Apple was asked about, and names it
("Chinese to English is ready. Works offline."); before Hex knows the
spoken language it says to dictate once with the Hex keyboard. Replaced:
"Ready. Works offline.", and the last failure's languages as the row's
source (a failure is still shown, only for the pair it was).
- Debug simulator builds take -hexTranslationStatus to stand in for
Apple's answer, for screenshots; it is compiled out of Release.
Verified: build-for-testing, code-shape --check, new cases in
TranslationPasteSwitchTests, full HEXMobileTests on the Mac Studio's iOS
27.2 simulator, and the row's states in English and Chinese with the
stand-in. Unverified (phone only): Apple's sheet from that page with Hex in
Chinese on iOS 27.2.1, packs downloaded in the app serving the keyboard's
process, and whether this was the tester's failure.
|
||
| .. | ||
| CleanupTagger | ||
| TypingModel | ||
| AppleLiveTranscriber.swift | ||
| ContainingAppOpener.swift | ||
| HEXKeyboard.entitlements | ||
| Info.plist | ||
| KeyboardInputView.swift | ||
| KeyboardLiveDictation.swift | ||
| KeyboardLiveTyping.swift | ||
| KeyboardLocalDictation.swift | ||
| KeyboardParakeet.swift | ||
| KeyboardProbeLog.swift | ||
| KeyboardSpeech.swift | ||
| KeyboardViewController.swift | ||
| KeyboardWebCapture.swift | ||
| ParakeetLiveTranscriber.swift | ||
| PrivacyInfo.xcprivacy | ||