From 0aabf562423eabbd1dbc689f898c5ed42e86b352 Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Mon, 13 Jul 2026 07:46:38 +0530 Subject: [PATCH] chore(i18n): track accessibilityLabel(title) wrapper contract 5e9bc0916f9 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. --- scripts/apple-app-i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apple-app-i18n.ts b/scripts/apple-app-i18n.ts index 43635e6fc00c..f82e2bb8d567 100644 --- a/scripts/apple-app-i18n.ts +++ b/scripts/apple-app-i18n.ts @@ -182,7 +182,7 @@ const LOCALIZED_WRAPPER_CONTRACTS: Record = { "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.")',