mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-22 23:38:51 +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:
parent
38e636542d
commit
0aabf56242
1 changed files with 1 additions and 1 deletions
|
|
@ -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.")',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue