From 83ea8987807af3ccb61d3074a92ade2d0ec19f21 Mon Sep 17 00:00:00 2001 From: d11n Date: Wed, 29 Mar 2023 10:24:49 +0200 Subject: [PATCH] Checkout: Update wording (#4829) We make it "Payment Received" instead of "Payment Sent", because in other places we are also talking from the merchant perspective. --- BTCPayServer.Tests/Checkoutv2Tests.cs | 2 +- BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml | 6 +++--- BTCPayServer/wwwroot/locales/checkout/en.json | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/BTCPayServer.Tests/Checkoutv2Tests.cs b/BTCPayServer.Tests/Checkoutv2Tests.cs index 93f57b177..6013ac1d1 100644 --- a/BTCPayServer.Tests/Checkoutv2Tests.cs +++ b/BTCPayServer.Tests/Checkoutv2Tests.cs @@ -194,7 +194,7 @@ namespace BTCPayServer.Tests { var processingSection = s.Driver.WaitForElement(By.Id("processing")); Assert.True(processingSection.Displayed); - Assert.Contains("Payment Sent", processingSection.Text); + Assert.Contains("Payment Received", processingSection.Text); Assert.Contains("Your payment has been received and is now processing", processingSection.Text); Assert.True(s.Driver.ElementDoesNotExist(By.Id("confetti"))); }); diff --git a/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml b/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml index 323143853..fe74b3272 100644 --- a/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml +++ b/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml @@ -111,7 +111,7 @@ -

+

@@ -136,8 +136,8 @@ -

-

+

+

diff --git a/BTCPayServer/wwwroot/locales/checkout/en.json b/BTCPayServer/wwwroot/locales/checkout/en.json index be80ca142..4b47c76cb 100644 --- a/BTCPayServer/wwwroot/locales/checkout/en.json +++ b/BTCPayServer/wwwroot/locales/checkout/en.json @@ -28,9 +28,9 @@ "address": "Address", "lightning": "Lightning", "payment_link": "Payment Link", - "payment_sent": "Payment Sent", - "payment_sent_body": "Your payment has been received and is now processing.", - "payment_sent_confirmations": "Currently it has {{receivedConfirmations}} confirmations. Once it receives {{requiredConfirmations}} confirmations on the {{cryptoCode}} blockchain, the status will be updated to settled.", + "payment_received": "Payment Received", + "payment_received_body": "Your payment has been received and is now processing.", + "payment_received_confirmations": "Currently it has {{receivedConfirmations}} confirmations. Once it receives {{requiredConfirmations}} confirmations on the {{cryptoCode}} blockchain, the status will be updated to settled.", "invoice_paid": "Invoice Paid", "invoice_expired": "Invoice Expired", "invoice_expired_body": "An invoice is only valid for {{minutes}} minutes.\n\nReturn to {{storeName}} if you would like to resubmit a payment.",