chore(i18n): track accessibilityLabel(title) wrapper contract

5e9bc0916f switched two SettingsProTabSections accessibility labels
from .accessibilityLabel(Text(title)) to .accessibilityLabel(title);
title is LocalizedStringKey so lookup stays localized, but the wrapper
contract in apple-app-i18n.ts still required the old spelling and the
tooling shard only runs on PRs, so main broke silently.
This commit is contained in:
Ayaan Zaidi
2026-07-13 07:46:38 +05:30
parent 38e636542d
commit 0aabf56242

View File

@@ -182,7 +182,7 @@ const LOCALIZED_WRAPPER_CONTRACTS: Record<string, readonly string[]> = {
"func gatewaySecureField(\n _ placeholder: LocalizedStringKey",
"func settingsToggle(\n _ title: LocalizedStringKey",
".accessibilityLabel(Text(placeholder))",
".accessibilityLabel(Text(title))",
".accessibilityLabel(title)",
],
"apps/ios/Sources/Gateway/GatewayConnectionController+Capabilities.swift": [
'String(localized: "Secure connection is required for this host.")',