From e59f48039218c444f18e2f971430f6224016af5d Mon Sep 17 00:00:00 2001 From: chimp1984 Date: Sun, 20 Dec 2020 13:23:02 -0500 Subject: [PATCH] Improve popup text in case a local node is detected --- core/src/main/resources/i18n/displayStrings.properties | 8 +++++--- .../src/main/java/bisq/desktop/main/MainViewModel.java | 3 +-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/core/src/main/resources/i18n/displayStrings.properties b/core/src/main/resources/i18n/displayStrings.properties index fdda850d63..84ee345470 100644 --- a/core/src/main/resources/i18n/displayStrings.properties +++ b/core/src/main/resources/i18n/displayStrings.properties @@ -2856,9 +2856,11 @@ popup.privateNotification.headline=Important private notification! popup.securityRecommendation.headline=Important security recommendation popup.securityRecommendation.msg=We would like to remind you to consider using password protection for your wallet if you have not already enabled that.\n\nIt is also highly recommended to write down the wallet seed words. Those seed words are like a master password for recovering your Bitcoin wallet.\nAt the \"Wallet Seed\" section you find more information.\n\nAdditionally you should backup the complete application data folder at the \"Backup\" section. -popup.bitcoinLocalhostNode.msg=Bisq detected a locally running Bitcoin Core node (at localhost).\n\ - Please make sure that this node is fully synced before you start Bisq and that it is not running in pruned mode. -popup.bitcoinLocalhostNode.additionalRequirements=\n\nFor a well configured node, the requirements are for the node to have pruning disabled and bloom filters enabled. +popup.bitcoinLocalhostNode.msg=Bisq detected a locally running Bitcoin Core node (at localhost).\n\n\ + Please ensure that following requirements are met:\n\ + - The node need to be fully synced before you start Bisq\n\ + - The node need to have pruning disabled (option: 'prune=0')\n\ + - The node need to have bloom filters enabled (option: 'peerbloomfilters=1') popup.shutDownInProgress.headline=Shut down in progress popup.shutDownInProgress.msg=Shutting down application can take a few seconds.\nPlease don't interrupt this process. diff --git a/desktop/src/main/java/bisq/desktop/main/MainViewModel.java b/desktop/src/main/java/bisq/desktop/main/MainViewModel.java index bf81fff2dc..69b5531055 100644 --- a/desktop/src/main/java/bisq/desktop/main/MainViewModel.java +++ b/desktop/src/main/java/bisq/desktop/main/MainViewModel.java @@ -365,8 +365,7 @@ public class MainViewModel implements ViewModel, BisqSetup.BisqSetupListener { .show()); bisqSetup.setDisplayLocalhostHandler(key -> { if (!DevEnv.isDevMode()) { - Popup popup = new Popup().backgroundInfo(Res.get("popup.bitcoinLocalhostNode.msg") + - Res.get("popup.bitcoinLocalhostNode.additionalRequirements")) + Popup popup = new Popup().backgroundInfo(Res.get("popup.bitcoinLocalhostNode.msg")) .dontShowAgainId(key); popup.setDisplayOrderPriority(5); popupQueue.add(popup);