Ryan Vogel
40f89a8de4
iOS keyboard: Settings > Keyboard > Suggest swear words
...
Adds the switch for the filter in the previous commit. It is off by
default, as on Apple's keyboard. Turned on, the strip and autocorrect may
offer swear words. Slurs are never offered ("Slurs are never suggested").
It sits under Autocorrect, in the same flat sentence-case rows. It's
stored in the App Group as settings.keyboardSuggestSwearWords, and the
keyboard reads it when it appears and whenever settings sync. The
settings-keyboard-on snapshot scene turns it on with the other switches.
The README documents the filter and the shared list.
Both strings go through String(localized:), like the rest of the page
since #2083 . Their zh-Hans entries in Localizable.xcstrings:
- "Suggest swear words": 在建议中显示脏话 ("show swear words in
suggestions"), not 建议粗话. 脏话 is the everyday word, and 建议脏话 can
read as "recommend swearing".
- "Slurs are never suggested": 绝不会建议歧视性词语.
Verified on an iPhone 17 simulator (iOS 27.2): the full test suite
passes, and screenshots of Settings > Keyboard show the switch on and
off.
2026-11-20 15:14:50 -05:00
..
Assets.xcassets
feat: add iOS dictation keyboard
2026-07-19 15:21:45 -04:00
zh-Hans.lproj
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
AcknowledgementsView.swift
iOS keyboard: never suggest or correct to slurs or swear words
2026-11-20 15:14:50 -05:00
AppleSpeechTranscriber.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
AppShortcuts.xcstrings
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
AudioBackend.swift
iOS: rebuild the audio engine before the warm-mic tap so a route change can't crash it ( #2064 )
2026-11-20 16:25:47 +00:00
ContentView.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
CustomVocabularyEditor.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
DictationController+LaunchFixtures.swift
iOS: split DictationController so dev passes the size check ( #2066 )
2026-11-20 11:42:45 -05:00
DictationController.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
EmojiSemanticIndex.swift
iOS: emoji panel with on-device suggestions (Experiments › Emoji) ( #2051 )
2026-11-20 15:53:24 +00:00
FullKeyboardSnapshotStage.swift
iOS: Russian and Serbian (Latin) full-keyboard layouts ( #2075 )
2026-11-20 17:44:49 +00:00
HexIntents.swift
feat(ios): polish iPhone keyboard dictation, warm sessions, and Live Activity ( #574 )
2026-10-30 23:35:45 -07:00
HexLinks.swift
iOS: privacy and support links in the app, Continue before the mic prompt, typing logs consent ( #2063 )
2026-11-20 16:23:37 +00:00
HEXMobile.entitlements
Set up Hex Mobile internal TestFlight releases ( #1997 )
2026-11-19 11:48:49 -05:00
HEXMobileApp.swift
iOS: settings as a short home screen with Dictation, Keyboard, Privacy and Experiments pages ( #2054 )
2026-11-20 16:04:10 +00:00
Info.plist
iOS: plain permission prompts and no pre-prompt Allow button, for App Review ( #2058 )
2026-11-20 16:13:36 +00:00
KeyboardPreviewHost.swift
iOS: full keyboard by default, typing without Full Access, and a logging mark ( #2067 )
2026-11-20 16:41:37 +00:00
KeyboardSetup.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
LanguageSettingsRows.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
LiveActivityCoordinator.swift
iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) ( #2035 )
2026-11-20 13:21:16 +00:00
Localizable.xcstrings
iOS keyboard: Settings > Keyboard > Suggest swear words
2026-11-20 15:14:50 -05:00
Onboarding.swift
iOS: onboarding's Microphone row asks for the microphone itself ( #2092 )
2026-11-20 20:10:10 +00:00
OnboardingProgress.swift
iOS: add a three-page first-run onboarding ( #2031 )
2026-11-20 12:36:45 +00:00
ParakeetTranscriber.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
PrivacyInfo.xcprivacy
iOS: version 1.0, iPhone only, privacy manifests ( #2052 )
2026-11-20 15:54:01 +00:00
SettingsComponents.swift
iOS keyboard: Settings > Keyboard > Suggest swear words
2026-11-20 15:14:50 -05:00
SettingsPages.swift
iOS keyboard: Settings > Keyboard > Suggest swear words
2026-11-20 15:14:50 -05:00
TranscriptCleanup.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
TranslateDictationRow.swift
iOS: let Translate what I say insert in the language you usually dictate in ( #2078 )
2026-11-20 17:53:31 +00:00
TypingInsightsView.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00
TypingLogsView.swift
iOS: Simplified Chinese interface for the app, widgets and permission prompts ( #2083 )
2026-11-20 18:15:44 +00:00