mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-15 17:46:09 +00:00
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:
@@ -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.")',
|
||||
|
||||
Reference in New Issue
Block a user