From b18e9ad4bf852d4a3b0c234b07147be0754c5aeb Mon Sep 17 00:00:00 2001 From: woodser Date: Mon, 6 Mar 2023 20:02:30 -0500 Subject: [PATCH] fix Res.get() warning on pmt confirmation w/ "Preparing confirmation..." --- core/src/main/resources/i18n/displayStrings.properties | 1 + .../portfolio/pendingtrades/steps/buyer/BuyerStep2View.java | 2 +- .../portfolio/pendingtrades/steps/seller/SellerStep3View.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/main/resources/i18n/displayStrings.properties b/core/src/main/resources/i18n/displayStrings.properties index b4da4685..b26f25f6 100644 --- a/core/src/main/resources/i18n/displayStrings.properties +++ b/core/src/main/resources/i18n/displayStrings.properties @@ -121,6 +121,7 @@ shared.makerDepositTransactionId=Maker's deposit transaction ID shared.takerDepositTransactionId=Taker's deposit transaction ID shared.TheBTCBuyer=The XMR buyer shared.You=You +shared.preparingConfirmation=Preparing confirmation... shared.sendingConfirmation=Sending confirmation... shared.sendingConfirmationAgain=Please send confirmation again shared.exportCSV=Export to CSV diff --git a/desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/steps/buyer/BuyerStep2View.java b/desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/steps/buyer/BuyerStep2View.java index 75d99073..b6ad4574 100644 --- a/desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/steps/buyer/BuyerStep2View.java +++ b/desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/steps/buyer/BuyerStep2View.java @@ -157,7 +157,7 @@ public class BuyerStep2View extends TradeStepView { switch (state) { case BUYER_CONFIRMED_IN_UI_PAYMENT_SENT: busyAnimation.play(); - statusLabel.setText("Confirming payment sent. This can take up to a few minutes. Please wait..."); + statusLabel.setText(Res.get("shared.preparingConfirmation")); break; case BUYER_SENT_PAYMENT_SENT_MSG: busyAnimation.play(); diff --git a/desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/steps/seller/SellerStep3View.java b/desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/steps/seller/SellerStep3View.java index ee5e6347..74b6c82a 100644 --- a/desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/steps/seller/SellerStep3View.java +++ b/desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/steps/seller/SellerStep3View.java @@ -120,7 +120,7 @@ public class SellerStep3View extends TradeStepView { switch (state) { case SELLER_CONFIRMED_IN_UI_PAYMENT_RECEIPT: busyAnimation.play(); - statusLabel.setText(Res.get("Confirming payment received. This can take up to a few minutes. Please wait...")); + statusLabel.setText(Res.get("shared.preparingConfirmation")); break; case SELLER_SENT_PAYMENT_RECEIVED_MSG: busyAnimation.play();