mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* iOS: Ukrainian full-keyboard layout
A TestFlight tester asked for Ukrainian. Adds KeyboardLanguage.ukrainian
("uk", Українська). It matches the standard Ukrainian layout (ЙЦУКЕН,
ДСТУ 4862:2007) and the system keyboard's observed long-press options: the
iOS 27.2 simulator's own Ukrainian keyboard, read through accessibility and
by holding each key, shows 12, 12 and 10 keys (йцукенгшщзхї / фівапролджєʼ /
ячсмитьбюґ), ʼ being U+02BC, the apostrophe Ukrainian spells with. The
existing geometry already fits twelve columns: shift and delete come out one
letter wide.
Held keys: only ʼ offers anything there (the other apostrophes ' ’ ‘ and the
backtick); ґ, ї and є have keys of their own, and no other letter has
long-press options. The system keyboard's currency key shows ₴, so Hex holds
₴ second on $ (its numbers page stays English's in every language). No ы, э,
ъ or ё.
Autocorrect uses iOS's uk dictionary through the dictionary engine, as Russian
does: no typing model, no bilingual partner (Cyrillic), no two-letter list.
uk/uk-UA picks the layout automatically and Switch dictation too dictates
uk-UA. Neighbouring-key costs use the twelve-key rows' real offsets.
Snapshot scenes take --keyboard-layout uk. Russian and every other layout
are unchanged.
Verified: KeyboardLayoutTests, FullKeyboardEngineTests and
AutocorrectEngineTests pass on an iPhone 17 Pro simulator (iOS 27.2),
including new Ukrainian cases (rows, widths 320-956 pt, held keys, automatic
pick, switching and typing сімʼяґї’). The simulator's uk_UA checker flags no
word and offers no guess, so typo fixes are unverified there.
* iOS: cover Ukrainian dictation and its cleanup
Ukrainian dictation already worked through Apple Speech: macOS 27.2 lists
uk-UA for DictationTranscriber only (not SpeechTranscriber), and a
say -v Lesya clip came back word for word in Cyrillic without punctuation.
Parakeet is English-only, so uk-UA always goes to Apple Speech. No code
change was needed; this records it.
Tests: SpeechLanguagePickerTests picks uk-UA from DictationTranscriber,
chosen by hand and by a Ukrainian iPhone's Automatic. TranscriptCleanupTests
check Polished (capital, final stop), Casual (lowercase starts, Cyrillic і
untouched by English's "i" rule), Verbatim, and Lowercase lowering Ґ Є Ї.
README notes the macOS run under Dictation languages.
Verified: SpeechLanguagePickerTests and TranscriptCleanupTests pass on an
iPhone 17 Pro simulator (iOS 27.2).
|
||
| .. | ||
| Fixtures | ||
| AutocorrectEngineTests.swift | ||
| CleanupTaggerTests.swift | ||
| CustomVocabularyTests.swift | ||
| DictationControllerTests.swift | ||
| DictationLearningTests.swift | ||
| DotScopeTests.swift | ||
| EmojiSuggesterTests.swift | ||
| FullKeyboardEngineTests.swift | ||
| HexKeyGestureTests.swift | ||
| KeyboardBridgeTests.swift | ||
| KeyboardLayoutTests.swift | ||
| ShiftStateMachineTests.swift | ||
| SwipeDecoderTests.swift | ||
| TranscriptCleanupTests.swift | ||
| TypingLogTests.swift | ||