Repository navigation
fix: translate expired payment cancellation - #1558
Conversation
[Medium impact] This PR appears safe to merge. SummaryAdds eight expired-payment cancellation messages in all 14 non-English locales.
Review covered the translations and their callers. No device run or full build was performed. Reviews (1) · Last reviewed commit: "chore: rename changelog fragment" · Reviewed by Greptile |
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Adds the eight wallet__onchain_abandon* cancellation strings to all 14 non-English Localizable.strings files, no code. Reviewed 57aa4e9, light tier, static (iOS does not build here).
What I checked, and 3 candidates I ruled out
Parsed: each .lproj/Localizable.strings on the head: no duplicate keys, 10 wallet__onchain_abandon* entries in each of the 15 files (the existing transfer_note/exit_note translations plus the 8 new ones), every new line matches "key" = "value"; with only escaped inner quotes.
Cross-platform: each value is identical to the matching wallet__send_pending__abandon* string in synonymdev/bitkit-android#2210 for all 14 shared locales.
CI: validate (the translation validator) and SwiftFormat green; Run Tests and integration tests were pending when I looked.
Ruled out
- Broken
.stringssyntax from an unescaped": none; apostrophes need no escaping in.strings. - Missing or doubled
{fee}: exactly one in everyabandon_release. - Overwriting existing keys: 0 deletions and no duplicates.
Merge confidence: 5/5, copy-only change, the translation validator passed and the files parse cleanly.
pwltr
left a comment
There was a problem hiding this comment.
Reviewed 57aa4e9. No issues found.
The eight strings for cancelling an expired payment are now translated in all 14 locales. Every file parses cleanly with no duplicate keys, each translation of the fee prompt keeps the {fee} placeholder, and the text matches the Android translations of the same strings.
Review details
Quick review: Claude Opus 5.5, high reasoning effort
General review: GPT-6.2 Sol, high reasoning effort
coreyphillips
left a comment
There was a problem hiding this comment.
Two independent reviews, nothing blocking a merge.
Closes #1544
Twin: synonymdev/bitkit-android#2210
Description
{fee}placeholder in every release prompt.Out of Scope
None.
Design
N/A — no design available.
Preview
Pending a device run with an eligible retained payment.
QA Notes
Setup
Use a disposable wallet on isolated local regtest. Fund its Savings balance and use a controlled debug fixture to retain an on-chain attempt after a broadcast returns an unknown result without submitting to the network. Let the payment request expire, then select a non-English app language before reopening the retained payment in Send Pending. A previous iOS cancellation run describes the unknown-broadcast setup for a force-transfer variant. The standard journey environment lacks the debug fault fixture needed for this case.
Journeys
N/A — not drivable; see Manual Tests.
Manual Tests
Automated Checks
git diff --checkEvidence
Targeted checks passed on
e281d0f532. Every locale has all eight new keys, every release prompt has exactly one{fee}, and all shared copy matches across platforms.Gaps
Manual cases 1 and 2 still need a controlled fixture and a device run. The full build, test suites and pinned SwiftFormat run in hosted CI. The installed SwiftFormat 0.58.4 cannot lint this checkout, which requires at least 0.64.6.
Models used
gpt-6.2-sol(reasoning:high)gpt-6.2-sol(reasoning:high)gpt-6.2-astra(reasoning:high)