Repository navigation
Conversation
Verified: just compile, lintDevDebug (pass)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] The translation changes appear safe to merge. SummaryUpdates Spark transfer copy across all 15 shipped locales to match the English strings from PR #1960.
Reviews (1) · Last reviewed commit: "chore: translate spark design strings" · Reviewed by Greptile |
Regtest APKDownload bitkit-dev-debug universal APK (expires in 30 days). |
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Translates the v64 Spark design strings (Transfer to Savings, force transfer) into the 15 shipped locales. Reviewed 369a40d, full tier, static: per this repo's rules the branch was not built here, so this rests on the diff and CI.
What I checked, and 2 candidates I ruled out
Coverage, scripted over all 15 locales (parsed each strings.xml at the head, at the design base and at master):
- Every one of the 81 English keys the design branch adds or changes against
masterhas a translation in every locale, and none of the 13 keys it removes survives in a locale file. No locale carries a key English lacks. - Every translated value this PR touches keeps the English placeholders (
{amount},{fees},{rate},{address},{path},{time},{error},%1$d), the same number of<accent>open and close tags, and the same\ncount.
Read: the full values-de and values-fr hunks against the English. The force-transfer term stays the same through each file, and Spark is untranslated.
Base: the branch forks from 09a5d85, two commits behind #1960's head aea14d8; those two commits touch only SparkExitPayScreen.kt and SparkExitProgressScreen.kt, no strings, so nothing is missing from the stack.
CI: lint (Android Lint plus detekt), build-and-test, compose-ui and the e2e jobs green; multi_address_local and onchain_boost_receive_widgets were still running when I read them.
Ruled out
step_timelockunchanged in every locale,step_publishunchanged inpl, although the English changed (Waiting for the timelocktoWaiting for timelock,Publishing exit transactionstoPublishing of exit transaction). The existing translations still say the same thing, and Polishtransakcjireads as singular or plural.- Unescaped apostrophes in
fr,ca,it,pt: every apostrophe in the new values is written\', and Android Lint passed.
Not checked: wording quality, which needs a native speaker, as the PR's Gaps section already says.
Merge confidence: 5/5, CI green, every changed key covered in all 15 locales with placeholders and tags intact, and a copy change is not something a test would cover.
Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed
Verified: just format, compile, test, lint; journeys on a regtest emulator
…v64' into chore/spark-design-translations # Conflicts: # docs/screens-map.md
…e/spark-design-translations
Verified: just compile, just lint; XML parse of all 15 locales
Verified: just format, compile, test, lint; journeys on a regtest emulator
pwltr
left a comment
There was a problem hiding this comment.
Reviewed 369a40d.
Low: The force-transfer progress screen uses one sweep label for pending and completed rows (SparkExitComponents.kt:245). Fourteen translations now say “Sent to savings” even while the emergency-fee payment is awaiting confirmation and the sweep row still shows a clock. For example, see values-b+es+419/strings.xml:326 and values-de/strings.xml:208. A neutral label such as “Send to savings” fits both states.
Pre-existing Low: Both completion templates already wrap their amount placeholders in accent tags. SparkExitProgressScreen.kt:416 and SparkExitProgressScreen.kt:419 select the templates, and the substitutions add another set of tags. The resulting message displays literal markup around the spending amount and, when fees were returned, around the fee amount too.
Pre-existing Low: SparkDetailScreen.kt:229 falls back to “Derivation path” in English across all 15 locales. The heading and explanatory text immediately above it are now translated.
Review details
Quick review
Model: Claude Opus 5.5
Reasoning effort: high
General review
Model: gpt-6.2-sol
Reasoning effort: high
Combined review
Model: gpt-6.2-sol
Reasoning effort: high
Verified: none (journey text only; the journey passed on bcaede8 with this setup)
Verified: none (changelog only)
…g-v64' and 'origin/feat/spark-design-v64' into chore/spark-design-translations
Verified: just lint; XML parse of all 15 locales
|
@pwltr thanks.
The step keeps one label in both states by design: the in-progress frame shows "Sent to savings balance" next to the clock, as the English string does, so the translations follow the design.
Fixed in #1960 (6823000): the returned amounts are substituted as plain text now.
Translated in d62d658, using each locale's existing term for derivation path. |
pwltr
left a comment
There was a problem hiding this comment.
Reviewed d62d658. The derivation-path label now uses each locale’s existing term. The findings below are in the transfer-to-spending changes included from #1963.
Medium: SpendingConfirmScreen.kt:224–238 drops the provisional markers from Service fees and To spending. Fast uses a fee ceiling and Normal uses an estimate, so the amount Spark credits can differ from the displayed amount. This is especially easy to misread on Transaction Signed, where SpendingHwSignedScreen.kt:93 shows the grid without the speed rows. Label the fee and credit as provisional in the grid itself.
Low: SpendingConfirmScreen.kt:253–255 truncates the middle of the address when it exceeds one line on Review & Sign. Tapping the row changes currency. Let the user reveal the full address to compare it with the hardware device prompt.
Low: TransferLearnMoreScreen.kt:56 calls the three-confirmation option Later, while SpendingConfirmScreen.kt:284 calls it Normal. Use the same name in both screens and in journeys/transfer/spark-transfer-to-spending.xml:28.
Low: journeys/transfer/spark-transfer-to-spending.xml:30 expects one delete to reduce the fiat amount. Deleting the last zero from 50.00 correctly produces 50.0. Assert that the input text changes, or use a fixture whose last displayed digit is nonzero.
Review details
Quick review
Model: Claude Opus 5.5
Reasoning effort: high
General review
Model: GPT-6.2 Sol
Reasoning effort: high
Combined review
Model: GPT-6.2 Sol
Reasoning effort: high
Verified: just format, just compile, just test, just lint
Verified: just format, just compile, just test, just lint
Verified: none (changelog text only)
Verified: none (journey text only)
|
@pwltr these four are in #1963's code, which this PR only carries for its strings, so the answers apply there.
The grid follows the frames as drawn: Review and Transaction signed show plain amounts in the grid, and the speed rows carry "max" and "est". Adding markers to the grid is a design change, so it stays as designed.
The middle truncation keeps both ends visible, which is what a user compares against the device prompt, and matches the frame and iOS (synonymdev/bitkit-ios#1357). No change.
Both names are as in the frames; #1963 lists it under Out of Scope.
Fixed in dbb8b28: the step now checks that delete removes the last typed digit (50.00 becomes 50.0). |
…ions Verified: just format, just compile, just lint; XML parse of all 15 locales
…v64' into chore/spark-design-translations
pwltr
left a comment
There was a problem hiding this comment.
Consider splitting the Spark transfer review changes from the translation update so the amount, destination, and fees can be reviewed together across the transfer flow.
Reviewed 7b1fec8.
Medium: SpendingConfirmScreen.kt:255 hides the middle of the address when it exceeds one line on Review & Sign. Tapping the row switches currency. Make the full address available so the user can compare it with the destination on the hardware device.
Medium: After switching from bitcoin to fiat on either review screen and going back, SpendingAmountScreen.kt:197 loads the formatted amount into the keypad. In a system locale that uses Arabic-Indic digits, deleting the last digit can leave a nonempty amount on screen while AmountInputViewModel.kt:364 fails to parse it, sets the effective amount to zero, and disables Continue. Keep the keypad value parseable independently of how it is displayed.
Medium: Normal’s service fee and credited amount in SpendingConfirmScreen.kt:224 and SpendingConfirmScreen.kt:234 are computed from a fee estimate. Spark can charge a different fee at maturity. The review screens label the fee in the Normal speed row, but Transaction Signed shows only the grid at SpendingHwSignedScreen.kt:93. Identify both provisional amounts in the grid itself.
Low: Spark’s receiving indicators use SDK readiness without accounting for a lost network connection. After disconnecting an initialized wallet, the Open Connections row can still say “no limit” at LightningConnectionsScreen.kt:448, and the detail screen can show both unlimited indicators alongside Offline at SparkDetailScreen.kt:121 and SparkDetailScreen.kt:134. Use a receiving state that accounts for connectivity in both screens.
Low: SparkExitComponents.kt:247 shows the same sweep title while the force transfer is waiting and after it completes. The updated translations say the funds were sent even while the step shows a clock. Use wording that also fits the pending state in values-b+es+419/strings.xml:327, values-ca/strings.xml:324, values-cs/strings.xml:327, values-de/strings.xml:209, values-el/strings.xml:320, values-es-rES/strings.xml:326, values-es/strings.xml:268, values-fr/strings.xml:208, values-it/strings.xml:325, values-nl/strings.xml:324, values-pl/strings.xml:210, values-pt-rBR/strings.xml:328, values-pt/strings.xml:205, and values-ru/strings.xml:336.
Review details
Quick review
Model: Claude Opus 5.5
Reasoning effort: high
General review
Model: GPT-6.2 Sol
Reasoning effort: high
Combined review
Model: GPT-6.2 Sol
Reasoning effort: high
Verified: just format, just compile, just test, just lint
…' into chore/spark-design-translations
They are split: the transfer review is #1963 and the Spark connection work is #1964. This PR only merges them in to translate their strings, so their code shows in this diff until they merge; please review that code there.
Same answer as before: the middle truncation keeps both ends visible, as in the frame and on iOS, so it stays as designed.
Real, and older than these PRs: the 25%, Max and in-screen unit switch paths on master load the same locale-formatted text into the keypad. Out of scope here: tracked in #1965.
Same answer as before: the grids follow the Review and Transaction signed frames, with "max" and "est" on the speed rows; marking the grid itself is a design change.
Fixed in #1964 (54acd5a), merged in here: receiving now needs the device online as well as a usable Spark, on both screens.
Same answer as before: the in-progress frame shows "Sent to savings balance" next to the clock, so the translations follow the English string. |
pwltr
left a comment
There was a problem hiding this comment.
Reviewed f23a5c9. No findings in the translation changes. All 15 locales include the new English keys and preserve the placeholders, markup and line breaks in the changed strings.
Review details
Quick review
Model: Claude Opus 5.5
Reasoning effort: high
General review
Model: GPT-6.2 Sol
Reasoning effort: high
Combined review
Model: GPT-6.2 Sol
Reasoning effort: high
|
Closing this PR: its translations moved into the design PRs, so each one ships its strings translated in every locale.
The coming |
Refs: #1840
Stacked on #1960, with #1963 and #1964 merged in
Description
Out of Scope
Design
N/A — no UI changes beyond the translated copy of the design PRs.
Preview
N/A — the screens are those of the design PRs, in other languages.
QA Notes
Setup
N/A — switch the device language to check a locale.
Journeys
N/A — no user-visible behaviour change beyond copy.
Manual Tests
N/A
Automated Checks
lintDevDebug— no missing or extra translations, all resources compileEvidence
just compileand Android Lint pass on this branch. A script checked that every translated value keeps the English placeholders, accent tags and\ncount.Gaps
Models used
claude-opus-5-5(reasoning:low)claude-sonnet-5-5(reasoning:low)