From 0d8c600b6cee0c42e30ea787f09e92eb7169ca9d Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Sat, 25 Nov 2017 09:57:43 -0500 Subject: [PATCH] Add waring popups for aridrop coins --- .../src/main/resources/i18n/displayStrings.properties | 7 +++++++ .../content/altcoinaccounts/AltCoinAccountsView.java | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/common/src/main/resources/i18n/displayStrings.properties b/common/src/main/resources/i18n/displayStrings.properties index 9f95e49ced..b49bbc1423 100644 --- a/common/src/main/resources/i18n/displayStrings.properties +++ b/common/src/main/resources/i18n/displayStrings.properties @@ -905,6 +905,13 @@ There is no payment ID required, just the normal public address.\n\n\ If you are not sure about that process visit the Monero forum (https://forum.getmonero.org) to find more information. account.altcoin.popup.transparentTx.msg=When using {0} you can only use the transparent addresses (starting with t) not \ the z-addresses (private), because the arbitrator would not be able to verify the transaction with z-addresses. +account.altcoin.popup.bch=Bitcoin Cash and Bitcoin Clashic suffer from replay protection. If you use those coins be sure you take sufficient precautions and understand the implications.\ +You can suffer losses by sending one coin and unintentionally send the same coins on the other block chain.\ + Because those "airdrop coins" share the same history with the Bitcoin blockchain there are also security risks and a considerable risk for losing privacy.\n\n\ + Please read at the Bisq Forum more about the topic: https://forum.bisq.io/t/airdrop-coins-information-thread +account.altcoin.popup.btg=Because Bitcoin Gold shares the same history as the Bitcoin blockchain it comes with certain security risks and a considerable risk for losing privacy.\ + If you use Bitcoin Gold be sure you take sufficient precautions and understand all implications.\n\n\ + Please read at the Bisq Forum more about the topic: https://forum.bisq.io/t/airdrop-coins-information-thread account.fiat.yourFiatAccounts=Your national currency\naccounts: diff --git a/gui/src/main/java/io/bisq/gui/main/account/content/altcoinaccounts/AltCoinAccountsView.java b/gui/src/main/java/io/bisq/gui/main/account/content/altcoinaccounts/AltCoinAccountsView.java index 8d751f2fa0..dd40ddca68 100644 --- a/gui/src/main/java/io/bisq/gui/main/account/content/altcoinaccounts/AltCoinAccountsView.java +++ b/gui/src/main/java/io/bisq/gui/main/account/content/altcoinaccounts/AltCoinAccountsView.java @@ -148,6 +148,17 @@ public class AltCoinAccountsView extends ActivatableViewAndModel().information(Res.get("account.altcoin.popup.bch")) + .useIUnderstandButton() + .show(); + break; + case "BTG": + new Popup<>().information(Res.get("account.altcoin.popup.btg")) + .useIUnderstandButton() + .show(); + break; } if (!model.getPaymentAccounts().stream().filter(e -> e.getAccountName() != null &&