feat(wallet): every screen says each guardian's own delay (Phase 7)

Before a parent can choose a delay, the screens stop saying "12":

- the child's wallet screen, opened or not, lists each guardian nearest
  first with its own delay -- "#Council: after 144 blocks, about 1 day" --
  named by the room this device holds for it;
- an ancestor's Guarded wallets list says, per wallet, the delay that
  wallet gives this group, and GuardedWalletRow.withinReach counts coins
  past that delay rather than the default (GuardedWallet.delay);
- the send screen tells a guardian that only coins past its leaf's lock
  can be spent;
- the subgroup rows and a subgroup's parent row say "Guarded wallet,
  after <delay>", off the certificate.

The strings that quoted one number are reworded without it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-10-24 07:42:15 +02:00
1 parent 5ff4af2d2f
commit fbfe9075f2
13 files changed
+171 -35

No files matched your search

@@ -465,20 +465,20 @@
<string name="opening_a_wallet_asks_the_group_to_agree">Opening a wallet asks the group to agree that it keeps coins here. Any quorum of members can then spend them together, and nobody can spend them alone.</string>
<string name="each_member_s_share_is_stored_unencrypted">Each member's share of the group's key is stored unencrypted on their device. Anyone with an unlocked device, or a copy of its data, holds that member's share.</string>
<string name="couldn_t_ask_the_group_to_open_a_wallet">Couldn't ask the group to open a wallet.</string>
<string name="the_groups_above_this_one_have_agreed_to_guard_it">The groups above this one have agreed to guard its wallet. In a guarded wallet each of them can spend any coin once it has %1$d confirmations, without this group agreeing.</string>
<string name="the_groups_above_this_one_have_agreed_to_guard_it">The groups above this one have agreed to guard its wallet. In a guarded wallet each of them can spend any coin that has waited as long as its own delay, without this group agreeing:</string>
<string name="open_a_guarded_wallet">Open a guarded wallet</string>
<string name="open_without_guardians">Open without guardians</string>
<string name="guarded_wallets">Guarded wallets</string>
<string name="spend">Spend</string>
<string name="spend_from_s_s_guarded_wallet">Spend from %1$s's guarded wallet</string>
<string name="wallets_of_groups_below_this_one">Wallets of groups below this one. This group can spend a coin in them once it has %1$d confirmations.</string>
<string name="wallets_of_groups_below_this_one">Wallets of groups below this one. This group can spend a coin in each once the coin has waited as long as the delay that wallet gives this group.</string>
<string name="s_sats_within_this_group_s_reach">%1$s sats within this group's reach</string>
<string name="tell_the_groups_above">Tell the groups above</string>
<string name="not_yet_shared_with_the_groups_above">Not yet shared with the groups above that you're in</string>
<string name="share">Share</string>
<string name="shared_with_the_groups_above">Shared with the groups above</string>
<string name="couldn_t_share_the_wallet">Couldn't share the wallet</string>
<string name="guarded_the_groups_above_this_one_can_spend">Guarded: the groups above this one can spend any coin here once it has %1$d confirmations.</string>
<string name="guarded_the_groups_above_this_one_can_spend">Guarded: the groups above this one can spend any coin here that has waited as long as their own delay:</string>
<string name="balance">Balance</string>
<string name="s_sats">%1$s sats</string>
<string name="s_sats_on_the_way">%1$s sats on the way</string>
@@ -561,11 +561,16 @@
<string name="this_group_s_guardian_keys_can_t_be_read">This group's own guardian keys can't be read, so it can't guard a subgroup.</string>
<string name="the_subgroup_s_wallet_will_be_guarded">The subgroup's wallet will be guarded: this group, and every group above it, can spend any coin in it once it has %1$d confirmations.</string>
<string name="the_subgroup_s_wallet_will_not_be_guarded">The subgroup's wallet will not be guarded: only the subgroup can spend from it.</string>
<string name="the_group_above_decided_this_wallet_is_guarded">The group above this one decided this group's wallet is guarded. Each group above it can spend any coin in it once it has %1$d confirmations, without this group agreeing.</string>
<string name="the_group_above_decided_this_wallet_is_guarded">The group above this one decided this group's wallet is guarded. Each group above it can spend any coin in it that has waited as long as its own delay, without this group agreeing:</string>
<string name="the_group_above_decided_this_wallet_is_not_guarded">The group above this one decided this group's wallet is not guarded. Only this group can spend from it.</string>
<!-- A guardian's delay in blocks and roughly in time: docs/guardian-delay.md, D5 -->
<string name="blocks_and_about">%1$s, %2$s</string>
<string name="guardian_after">%1$s: after %2$s</string>
<string name="a_group_above_this_one">A group above this one</string>
<string name="this_group_s_delay_in_this_wallet">This group can spend a coin here after %1$s</string>
<string name="guarded_wallet_after">Guarded wallet, after %1$s</string>
<string name="only_coins_confirmed_for_can_be_spent">Only coins that have waited %1$s can be spent from this guarded wallet.</string>
<plurals name="n_blocks">
<item quantity="one">%1$s block</item>
<item quantity="other">%1$s blocks</item>