Skip to content

chore: translate spark design strings - #1358

Closed
ovitrif wants to merge 8 commits into
feat/spark-transfer-to-spending-designfrom
chore/spark-design-translations
Closed

ovitrif wants to merge 8 commits into
feat/spark-transfer-to-spending-designfrom
chore/spark-design-translations

Conversation

@ovitrif

@ovitrif ovitrif commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #1357, with #1360 merged in
Refs: #1270
Twin: synonymdev/bitkit-android#1961

Description

  • Translates every string the Spark design PRs add or change into all shipped locales. It covers:
  • Fixes wrong existing values in those flows: missing first lines in German, a German string in Dutch, the transfer direction in Spanish, swapped lines in French and Russian, a Polish typo, and Catalan fee wording that differed from the rest of the file, and the Spanish "Fuerzar" typo.
  • Gets a push whenever a design PR adds or changes strings, and moves down the stack as the design PRs merge.

Out of Scope

  • English copy: each design PR owns its English strings.

Design

N/A — strings only; the copy follows the design PRs' frames.

Preview

N/A — no layout changes; text only.

QA Notes

Setup

  • Debug build with the device language set to the locale under test.

Journeys

N/A

Manual Tests

  • 1. In Dutch, open Transfer to Spending → amount → confirm and Learn More → every label is translated, with no English left — the journeys run in English
  • 2. In Dutch, open Settings › Advanced › Lightning Connections › Spark via Breez, and App Status → every label is translated, with no English left

Automated Checks

  • ran node scripts/validate-translations.js

Models used

  • Planning/scoping: claude-opus-5-5 (reasoning: low)
  • Implementation: claude-opus-5-5 (reasoning: low)
  • Review: claude-sonnet-5-5 (reasoning: high)

Translates the strings #1357 adds or changes into every shipped locale and fixes wrong existing values in its flows (German first lines, German in Dutch, transfer direction in Spanish, line order in French and Russian, a Polish typo).

Verified: node scripts/validate-translations.js; every new key present in all 15 locales
@ovitrif ovitrif added this to the 3.2.0 milestone Nov 17, 2026
@ovitrif ovitrif self-assigned this Nov 17, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T19:33:59.795207Z 00974b0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ovitrif
ovitrif requested review from a team, ben-kaufman and pwltr and removed request for a team November 17, 2026 19:30
@ovitrif ovitrif mentioned this pull request Nov 17, 2026
29 of 32 tasks
@greptile-apps

greptile-apps Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues were found.

Summary

Translates Spark transfer-to-spending text across 14 locales.

  • Spark transfer screens show translated text in 14 non-English locales.

Reviews (1) · Last reviewed commit: "chore: translate spark transfer to spend..." · Reviewed by Greptile

Implement the v64 frames for Spark in Lightning Connections and App Status:
Spark sits last under Open Connections with receiving "no limit", its detail
screen gains Status, Provider, Balance and Deposits sections with Transfer To
Savings and Force Transfer To Savings, and App Status names the row
"Lightning Provider (Spark)", shows a running force transfer on it, and adds
the version footer. The menu's status colour now counts Spark.

Verified: swiftformat lint, validate-translations, Debug simulator build

@talosmachina talosmachina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No findings. Translates the strings #1357 adds or changes into all 14 shipped locales and fixes wrong existing values in those flows. Reviewed 00974b0, strings only, full tier.

What I checked, and 4 candidates I ruled out

Read: the diff against #1357's head (a91c431) for every locale, with de, es, nl, fr, ru and ar read line by line.
Scripted over every changed line in all 14 locales: each key exists in en; {placeholder} names and <accent> open/close counts match the English value; no new line is a copy of the English text.
Coverage: every key whose English value #1357 adds or rewords (transfer_intro__text, transfer_hw__address, transfer_from_savings_button, spending_confirm__later_text, fee_max, fee_est, the four spark_learn__* keys) is updated in all 14 locales.
Checks: node scripts/validate-translations.js passes (0 errors); CI SwiftFormat and Greptile green, Run Tests pending at review time.

Ruled out

  • Untranslated button labels: funding__button1..3 and no_funds__fund are left as they were in most locales, but #1357 only changed their English capitalisation, and the existing translations are real translations, not English.
  • Spark operators lost in translation: spark_learn__about_text names Lightspark, Breez and Flashnet in all 14 locales.
  • Line breaks breaking the accent titles: the \n count matches English on every changed line, so the two-line titles keep their split.
  • Escaped apostrophes: the French values use \' exactly as the rest of that file does.

Merge confidence: 4/5, the change is copy only, but Run Tests had not finished at review time.

Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the run metadata available to this reviewer does not report an effort setting)

@ben-kaufman ben-kaufman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the 14-locale translation delta at 00974b0 against stacked base a91c431. The completed source and independent reviews found no material issues in this delta.

Selected CI has 3 passed and 9 skipped checks, including passing unit tests and SwiftFormat. Translation validation and all 14 strings-file syntax checks passed. The 59 translation warning groups are pre-existing. Native-speaker quality, visual fit and Dutch manual device QA remain unverified.

This approval excludes parent implementation PR #1357 and does not establish combined-feature or release readiness.

Reviewer model: gpt-6.1-sol
Reasoning effort: xhigh

@pwltr pwltr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 00974b0.

No issues found. This change localizes the Spark funding and transfer screens across 14 languages, including fee labels, progress messages, and the spending balance disclosure. I compared the changed strings with the English copy and traced the amount and fee placeholders, hardware address prompt, and transfer status messages to the screens that use them.

Review details

General review
Model: gpt-6.2-sol
Reasoning effort: high

A claimed deposit's row shows the amount sent on-chain, not the amount after the claim fee, and the txid row shows its first and last 8 characters. The connection details and app status journeys match the Android wording.

Verified: swiftformat --lint on the changed file
@ovitrif ovitrif mentioned this pull request Nov 17, 2026
18 of 21 tasks
@ovitrif
ovitrif requested review from ben-kaufman and pwltr November 17, 2026 22:34
@ovitrif

ovitrif commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator Author

Added the translations for #1360 (Spark connection and App Status) to this PR, merged that branch in, and fixed the Spanish "Fuerzar" typo. The push dismissed the earlier approvals, so I've asked for review again.

@ovitrif

ovitrif commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

Closing: its translations moved into #1357 (transfer to spending) and #1360 (Spark connection and App Status), so each design PR carries its own. The locale files are identical to this branch. Later design PRs translate their own strings.

@ovitrif ovitrif closed this Nov 18, 2026
@ovitrif
ovitrif deleted the chore/spark-design-translations branch November 18, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants