You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(about): show anti-abuse bond policy from node info event (#617)
* feat(about): show anti-abuse bond policy from node info event
- Add an Anti-abuse bond section to the About screen, parsed from the kind-38385 info event
- Hide it on legacy nodes, show status only when disabled, full parameters when enabled
- Add localized labels, per-row help dialogs and a concept explanation in en/es/it/de/fr
* Avoid rendering missing bond fields as real values
Copy file name to clipboardExpand all lines: lib/l10n/intl_de.arb
+39-1Lines changed: 39 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1665,5 +1665,43 @@
1665
1665
"bondPayoutCompletedMessage": "Du hast die Auszahlung deines Anteils der Anti-Missbrauchs-Kaution erhalten.",
1666
1666
"bondPayoutCompletedWithRating": "Du hast die Auszahlung deines Anteils der Anti-Missbrauchs-Kaution erhalten. Du kannst deinen Handelspartner bewerten.",
1667
1667
"bondPayoutCloseButton": "SCHLIESSEN",
1668
-
"errorLoadingBondPayout": "Fehler beim Laden der Auszahlungsdaten"
1668
+
"errorLoadingBondPayout": "Fehler beim Laden der Auszahlungsdaten",
1669
+
"antiAbuseBond": "Anti-Missbrauchs-Kaution",
1670
+
"antiAbuseBondExplanation": "Die Anti-Missbrauchs-Kaution ist ein optionaler Mechanismus, den manche Mostro-Knoten nutzen, um Trades sicherer zu machen. Beim Einstieg in einen Trade hinterlegst du eine kleine Menge Sats als Sicherheit, die vollständig zurückerstattet wird, wenn du ehrlich handelst, aber verloren geht, wenn du versuchst, deine Gegenpartei zu betrügen. So riskiert der Betrüger sein eigenes Geld, was Missbrauch entgegenwirkt.",
1671
+
"bondStatusLabel": "Status",
1672
+
"bondStatusExplanation": "Ob dieser Knoten zum Handeln eine Anti-Missbrauchs-Kaution verlangt. 'Deaktiviert' bedeutet, dass keine nötig ist.",
1673
+
"bondEnabled": "Aktiviert",
1674
+
"bondDisabled": "Deaktiviert",
1675
+
"bondAppliesToLabel": "Gilt für",
1676
+
"bondAppliesToExplanation": "Welche Seite eine Kaution hinterlegen muss: Taker, Maker oder beide.",
1677
+
"bondAppliesToTakers": "Taker",
1678
+
"bondAppliesToMakers": "Maker",
1679
+
"bondAppliesToBoth": "Maker und Taker",
1680
+
"bondAmountLabel": "Kautionsbetrag",
1681
+
"bondAmountExplanation": "Die Höhe der Kaution: ein Prozentsatz des Orderbetrags, mit einem Mindestbetrag in Sats. Es gilt der größere der beiden Werte.",
1682
+
"bondAmountValue": "{percent}% des Betrags (min. {min} Sats)",
1683
+
"@bondAmountValue": {
1684
+
"placeholders": {
1685
+
"percent": {
1686
+
"type": "String"
1687
+
},
1688
+
"min": {
1689
+
"type": "String"
1690
+
}
1691
+
}
1692
+
},
1693
+
"bondSlashOnTimeoutLabel": "Slash bei Timeout",
1694
+
"bondSlashOnTimeoutExplanation": "Ob deine Kaution einbehalten werden kann, wenn du eine Frist verpasst (zum Beispiel nicht zahlst oder nicht rechtzeitig eine Rechnung lieferst). Bei 'Nein' wird sie nur durch die Entscheidung eines Streitschlichters einbehalten.",
1695
+
"bondNodeShareLabel": "Knoten-Anteil",
1696
+
"bondNodeShareExplanation": "Wenn eine Kaution einbehalten wird, der Anteil, den der Knoten behält. Der Rest wird an die ehrliche Gegenpartei gezahlt.",
1697
+
"bondClaimWindowLabel": "Anspruchsfrist",
1698
+
"bondClaimWindowExplanation": "Wenn du die ehrliche Partei bist, wenn eine Kaution einbehalten wird, wie viele Tage du hast, um deinen Anteil zu beanspruchen, bevor er verfällt.",
"antiAbuseBondExplanation": "The anti-abuse bond is an optional mechanism some Mostro nodes use to make trades safer. When you enter a trade you put up a small amount of sats as collateral — fully refunded if you act in good faith, but lost if you try to cheat your counterparty. This puts the cheater's own money at risk, discouraging abuse.",
1690
+
"bondStatusLabel": "Status",
1691
+
"bondStatusExplanation": "Whether this node requires an anti-abuse bond to trade. 'Disabled' means no bond is needed.",
1692
+
"bondEnabled": "Enabled",
1693
+
"bondDisabled": "Disabled",
1694
+
"bondAppliesToLabel": "Applies to",
1695
+
"bondAppliesToExplanation": "Which side must lock a bond: takers, makers, or both.",
1696
+
"bondAppliesToTakers": "Takers",
1697
+
"bondAppliesToMakers": "Makers",
1698
+
"bondAppliesToBoth": "Makers and takers",
1699
+
"bondAmountLabel": "Bond amount",
1700
+
"bondAmountExplanation": "The bond size: a percentage of the order amount, with a minimum floor in sats. The larger of the two applies.",
1701
+
"bondAmountValue": "{percent}% of the order amount (min. {min} sats)",
1702
+
"@bondAmountValue": {
1703
+
"placeholders": {
1704
+
"percent": {
1705
+
"type": "String"
1706
+
},
1707
+
"min": {
1708
+
"type": "String"
1709
+
}
1710
+
}
1711
+
},
1712
+
"bondSlashOnTimeoutLabel": "Slash on timeout",
1713
+
"bondSlashOnTimeoutExplanation": "Whether your bond can be kept if you miss a deadline (for example, not paying or not providing an invoice in time). If 'No', a bond is only kept by a dispute resolver's decision.",
1714
+
"bondNodeShareLabel": "Node share",
1715
+
"bondNodeShareExplanation": "If a bond is kept, the fraction the node retains. The rest is paid to the honest counterparty.",
1716
+
"bondClaimWindowLabel": "Claim window",
1717
+
"bondClaimWindowExplanation": "If you are the honest party when a bond is kept, how many days you have to claim your share before it is forfeited.",
Copy file name to clipboardExpand all lines: lib/l10n/intl_es.arb
+39-1Lines changed: 39 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1640,5 +1640,43 @@
1640
1640
"bondPayoutCompletedMessage": "Ya recibiste el pago de tu parte del bono anti-abuso.",
1641
1641
"bondPayoutCompletedWithRating": "Ya recibiste el pago de tu parte del bono anti-abuso. Puedes calificar a tu contraparte.",
1642
1642
"bondPayoutCloseButton": "CERRAR",
1643
-
"errorLoadingBondPayout": "Error al cargar los datos del cobro"
1643
+
"errorLoadingBondPayout": "Error al cargar los datos del cobro",
1644
+
"antiAbuseBond": "Depósito anti-abuso",
1645
+
"antiAbuseBondExplanation": "El depósito anti-abuso es un mecanismo opcional que algunos nodos de Mostro usan para hacer los intercambios más seguros. Al entrar en una operación pones en garantía una pequeña cantidad de sats que recuperas por completo si actúas de buena fe, pero que pierdes si intentas estafar a tu contraparte. Así el estafador arriesga su propio dinero, lo que desalienta el abuso.",
1646
+
"bondStatusLabel": "Estado",
1647
+
"bondStatusExplanation": "Si este nodo exige un depósito anti-abuso para operar. 'Deshabilitado' significa que no hace falta ninguno.",
1648
+
"bondEnabled": "Habilitado",
1649
+
"bondDisabled": "Deshabilitado",
1650
+
"bondAppliesToLabel": "Aplica a",
1651
+
"bondAppliesToExplanation": "Qué lado debe bloquear un depósito: takers, makers o ambos.",
1652
+
"bondAppliesToTakers": "Takers",
1653
+
"bondAppliesToMakers": "Makers",
1654
+
"bondAppliesToBoth": "Makers y takers",
1655
+
"bondAmountLabel": "Monto del depósito",
1656
+
"bondAmountExplanation": "El tamaño del depósito: un porcentaje del monto de la orden, con un mínimo en sats. Se aplica el mayor de los dos.",
1657
+
"bondAmountValue": "{percent}% del monto (mín. {min} sats)",
1658
+
"@bondAmountValue": {
1659
+
"placeholders": {
1660
+
"percent": {
1661
+
"type": "String"
1662
+
},
1663
+
"min": {
1664
+
"type": "String"
1665
+
}
1666
+
}
1667
+
},
1668
+
"bondSlashOnTimeoutLabel": "Slash por timeout",
1669
+
"bondSlashOnTimeoutExplanation": "Si tu depósito puede retenerse por no cumplir un plazo (por ejemplo, no pagar o no enviar una factura a tiempo). Si es 'No', solo se retiene por decisión de un resolutor de disputa.",
1670
+
"bondNodeShareLabel": "Retención del nodo",
1671
+
"bondNodeShareExplanation": "Si un depósito se retiene, la fracción que se queda el nodo. El resto se paga a la contraparte honesta.",
1672
+
"bondClaimWindowLabel": "Ventana de reclamo",
1673
+
"bondClaimWindowExplanation": "Si eres la parte honesta cuando un depósito se retiene, cuántos días tienes para reclamar tu parte antes de perderla.",
Copy file name to clipboardExpand all lines: lib/l10n/intl_fr.arb
+39-1Lines changed: 39 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1665,5 +1665,43 @@
1665
1665
"bondPayoutCompletedMessage": "Vous avez reçu le paiement de votre part du dépôt anti-abus.",
1666
1666
"bondPayoutCompletedWithRating": "Vous avez reçu le paiement de votre part du dépôt anti-abus. Vous pouvez évaluer votre contrepartie.",
1667
1667
"bondPayoutCloseButton": "FERMER",
1668
-
"errorLoadingBondPayout": "Erreur lors du chargement des données de paiement"
1668
+
"errorLoadingBondPayout": "Erreur lors du chargement des données de paiement",
1669
+
"antiAbuseBond": "Dépôt anti-abus",
1670
+
"antiAbuseBondExplanation": "Le dépôt anti-abus est un mécanisme optionnel que certains nœuds Mostro utilisent pour rendre les échanges plus sûrs. En entrant dans un échange, vous déposez une petite quantité de sats en garantie, intégralement remboursée si vous agissez de bonne foi, mais perdue si vous tentez d'escroquer votre contrepartie. Ainsi, l'escroc risque son propre argent, ce qui décourage les abus.",
1671
+
"bondStatusLabel": "Statut",
1672
+
"bondStatusExplanation": "Si ce nœud exige un dépôt anti-abus pour échanger. 'Désactivé' signifie qu'aucun dépôt n'est requis.",
1673
+
"bondEnabled": "Activé",
1674
+
"bondDisabled": "Désactivé",
1675
+
"bondAppliesToLabel": "S'applique à",
1676
+
"bondAppliesToExplanation": "Quel côté doit bloquer un dépôt : preneurs, créateurs ou les deux.",
1677
+
"bondAppliesToTakers": "Preneurs",
1678
+
"bondAppliesToMakers": "Créateurs",
1679
+
"bondAppliesToBoth": "Créateurs et preneurs",
1680
+
"bondAmountLabel": "Montant du dépôt",
1681
+
"bondAmountExplanation": "La taille du dépôt : un pourcentage du montant de l'ordre, avec un minimum en sats. Le plus élevé des deux s'applique.",
1682
+
"bondAmountValue": "{percent}% du montant (min. {min} sats)",
1683
+
"@bondAmountValue": {
1684
+
"placeholders": {
1685
+
"percent": {
1686
+
"type": "String"
1687
+
},
1688
+
"min": {
1689
+
"type": "String"
1690
+
}
1691
+
}
1692
+
},
1693
+
"bondSlashOnTimeoutLabel": "Slash en cas de délai",
1694
+
"bondSlashOnTimeoutExplanation": "Si votre dépôt peut être conservé en cas de délai non respecté (par exemple, ne pas payer ou ne pas fournir une facture à temps). Si 'Non', il n'est conservé que sur décision d'un médiateur de litige.",
1695
+
"bondNodeShareLabel": "Part du nœud",
1696
+
"bondNodeShareExplanation": "Si un dépôt est conservé, la fraction que le nœud retient. Le reste est versé à la contrepartie honnête.",
1697
+
"bondClaimWindowLabel": "Délai de réclamation",
1698
+
"bondClaimWindowExplanation": "Si vous êtes la partie honnête lorsqu'un dépôt est conservé, combien de jours vous avez pour réclamer votre part avant de la perdre.",
Copy file name to clipboardExpand all lines: lib/l10n/intl_it.arb
+39-1Lines changed: 39 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1706,5 +1706,43 @@
1706
1706
"bondPayoutCompletedMessage": "Hai ricevuto il pagamento della tua parte del deposito anti-abuso.",
1707
1707
"bondPayoutCompletedWithRating": "Hai ricevuto il pagamento della tua parte del deposito anti-abuso. Puoi valutare la tua controparte.",
1708
1708
"bondPayoutCloseButton": "CHIUDI",
1709
-
"errorLoadingBondPayout": "Errore nel caricamento dei dati del riscatto"
1709
+
"errorLoadingBondPayout": "Errore nel caricamento dei dati del riscatto",
1710
+
"antiAbuseBond": "Deposito anti-abuso",
1711
+
"antiAbuseBondExplanation": "Il deposito anti-abuso è un meccanismo opzionale che alcuni nodi Mostro usano per rendere gli scambi più sicuri. Quando entri in uno scambio depositi una piccola quantità di sats come garanzia, che ti viene restituita per intero se agisci in buona fede, ma che perdi se cerchi di truffare la tua controparte. Così il truffatore mette a rischio il proprio denaro, scoraggiando gli abusi.",
1712
+
"bondStatusLabel": "Stato",
1713
+
"bondStatusExplanation": "Se questo nodo richiede un deposito anti-abuso per fare trading. 'Disabilitato' significa che non ne serve nessuno.",
1714
+
"bondEnabled": "Abilitato",
1715
+
"bondDisabled": "Disabilitato",
1716
+
"bondAppliesToLabel": "Si applica a",
1717
+
"bondAppliesToExplanation": "Quale lato deve bloccare un deposito: taker, maker o entrambi.",
1718
+
"bondAppliesToTakers": "Taker",
1719
+
"bondAppliesToMakers": "Maker",
1720
+
"bondAppliesToBoth": "Maker e taker",
1721
+
"bondAmountLabel": "Importo del deposito",
1722
+
"bondAmountExplanation": "La dimensione del deposito: una percentuale dell'importo dell'ordine, con un minimo in sats. Si applica il maggiore dei due.",
"bondSlashOnTimeoutExplanation": "Se il tuo deposito può essere trattenuto per il mancato rispetto di una scadenza (ad esempio non pagare o non fornire una fattura in tempo). Se 'No', viene trattenuto solo per decisione di un risolutore di dispute.",
1736
+
"bondNodeShareLabel": "Quota del nodo",
1737
+
"bondNodeShareExplanation": "Se un deposito viene trattenuto, la frazione che il nodo trattiene. Il resto è pagato alla controparte onesta.",
1738
+
"bondClaimWindowLabel": "Finestra di reclamo",
1739
+
"bondClaimWindowExplanation": "Se sei la parte onesta quando un deposito viene trattenuto, quanti giorni hai per reclamare la tua quota prima di perderla.",
0 commit comments