Repository navigation
fix: translate expired payment cancellation - #2210
Conversation
[Low impact] The PR appears safe to merge; no actionable issues were found. SummaryAdds eight expired-payment cancellation messages to all 15 non-English locale files.
No actionable issues found. Review was static; no build or device run was performed. The device cases described by the author still require a controlled retained-payment fixture. 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 Send Pending cancellation strings (wallet__send_pending__abandon*) to all 15 non-English values-*/strings.xml files, no code. Reviewed ca057bc, light tier, static (resources only; Bitkit Android branches are not built here).
What I checked, and 3 candidates I ruled out
Parsed: every strings.xml on the head with an XML parser: no duplicate name, 10 send_pending__abandon* keys in each of the 16 files (the two existing exit_note/transfer_note translations plus the 8 new ones).
Call sites: SendPendingScreen.kt reads all eight keys; abandon_release is formatted with .replace("{fee}", ...), so a literal {fee} (not %s) is the right placeholder.
Cross-platform: each new string, unescaped, is identical to the matching wallet__onchain_abandon* value in synonymdev/bitkit-ios#1558 for all 14 shared locales.
CI: the red build and apk-comment jobs are run 46396489457, whose BUILD_RESULT and COMPOSE_RESULT are cancelled, superseded by the newer run; build-and-test, compose-ui and lint were still pending when I looked.
Ruled out
- Unescaped apostrophe breaking AAPT2: every
'in the new values is written\'(fr, it, ca, pt and the rest); no bare',", leading@/?, or%. - Missing or doubled
{fee}: exactly one{fee}in everyabandon_release. - Overwriting existing keys: 0 deletions and no duplicate names, so nothing shadowed.
Merge confidence: 4/5, no findings, but the build that compiles these resources had not finished on this head.
Regtest APKDownload bitkit-dev-debug universal APK (expires in 30 days). |
coreyphillips
left a comment
There was a problem hiding this comment.
Two independent reviews, nothing blocking a merge.
pwltr
left a comment
There was a problem hiding this comment.
Reviewed ca057bc. No issues found.
The eight strings for cancelling an expired payment are now translated in all 15 locales. Each one matches the English meaning, apostrophes are escaped, and each translation of the fee prompt keeps the {fee} placeholder that Send Pending fills in.
Review details
Quick review: Claude Opus 5.5, high reasoning effort
General review: GPT-6.2 Sol, high reasoning effort
Closes #2174
Twin: synonymdev/bitkit-ios#1558
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
6b33a88748. 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 Gradle build, unit tests and lint run in hosted CI to conserve host disk and keep ongoing device sessions available.
Models used
gpt-6.2-sol(reasoning:high)gpt-6.2-sol(reasoning:high)gpt-6.2-astra(reasoning:high)