You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix crash opening Kiosk settings in non-English locales (#4487)
The gestureFooter call site passes the taps count as an Int, but with
the format string now using %2$@ (updated in Lokalise), the SwiftGen
signature is gestureFooter(_ p1: Any, _ p2: Any). Wrap the Int with
String() so the CVarArg is a pointer type matching the %@ specifier.
Add regression tests (KioskLocalization.test.swift) that exercise all
kiosk format-string keys against every bundled locale, confirming:
- Specifier count matches English
- String(format:) completes without crash
- Each arg appears verbatim in output
Also adds a targeted test that injects each locale's gesture_footer
format into LocalizedManager and calls the real L10n function path.
0 commit comments