diff --git a/locales/de.yml b/locales/de.yml index fb8085c7..48431a53 100644 --- a/locales/de.yml +++ b/locales/de.yml @@ -794,6 +794,7 @@ goblin: row_note: "Notiz" row_proof: "Zahlungsnachweis" row_proof_val: "Enthalten" + row_proof_shared: "Nachweis geteilt mit" row_they_pay: "Sie zahlen" row_they_pay_val: "Nur wenn sie zustimmen" row_delivery: "Zustellung" diff --git a/locales/en.yml b/locales/en.yml index bbeacd89..293d7e7a 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -794,6 +794,7 @@ goblin: row_note: "Note" row_proof: "Payment proof" row_proof_val: "Included" + row_proof_shared: "Proof shared with" row_they_pay: "They pay" row_they_pay_val: "Only if they approve" row_delivery: "Delivery" diff --git a/locales/fr.yml b/locales/fr.yml index c5d84309..96c24e07 100644 --- a/locales/fr.yml +++ b/locales/fr.yml @@ -794,6 +794,7 @@ goblin: row_note: "Note" row_proof: "Preuve de paiement" row_proof_val: "Incluse" + row_proof_shared: "Preuve partagée avec" row_they_pay: "Ils paient" row_they_pay_val: "Seulement s'ils approuvent" row_delivery: "Livraison" diff --git a/locales/ru.yml b/locales/ru.yml index 531a9de6..847b2b64 100644 --- a/locales/ru.yml +++ b/locales/ru.yml @@ -794,6 +794,7 @@ goblin: row_note: "Заметка" row_proof: "Подтверждение платежа" row_proof_val: "Включено" + row_proof_shared: "Подтверждение получит" row_they_pay: "Они платят" row_they_pay_val: "Только если они одобрят" row_delivery: "Доставка" diff --git a/locales/tr.yml b/locales/tr.yml index 00bd02cf..800e8492 100644 --- a/locales/tr.yml +++ b/locales/tr.yml @@ -794,6 +794,7 @@ goblin: row_note: "Not" row_proof: "Ödeme kanıtı" row_proof_val: "Dahil" + row_proof_shared: "Kanıt paylaşılır" row_they_pay: "Onlar öder" row_they_pay_val: "Yalnızca onaylarlarsa" row_delivery: "Teslimat" diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml index 22df0d24..fb16e383 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -794,6 +794,7 @@ goblin: row_note: "备注" row_proof: "支付证明" row_proof_val: "已包含" + row_proof_shared: "证明分享给" row_they_pay: "对方支付" row_they_pay_val: "仅当对方同意时" row_delivery: "传输" diff --git a/src/gui/views/goblin/send.rs b/src/gui/views/goblin/send.rs index 9ba6f296..01775e15 100644 --- a/src/gui/views/goblin/send.rs +++ b/src/gui/views/goblin/send.rs @@ -1231,6 +1231,23 @@ impl SendFlow { &t!("goblin.send.row_proof"), &t!("goblin.send.row_proof_val"), ); + // Make the proof's hidden delivery target visible and consented: when + // a `notify` npub rode in on the scanned URI, the wallet gift-wraps + // the full signed proof (with the buyer's sender address + kernel) to + // that key at finalize. Show exactly where it goes so it is a seen, + // chosen recipient rather than a silent watcher: if you scanned it, + // you asked for it. Display only; nothing here changes what is sent. + if let Some(notify) = self.notify.as_deref() { + // Truncate the bech32 npub for a single-line row (npub1abc…wxyz). + // `notify` is a validated npub (ASCII, well over 18 chars), so the + // byte slices land on char boundaries. + let short = if notify.len() > 18 { + format!("{}…{}", ¬ify[..12], ¬ify[notify.len() - 6..]) + } else { + notify.to_string() + }; + w::info_row(ui, &t!("goblin.send.row_proof_shared"), &short); + } } if self.request { w::info_row(