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.
This commit is contained in:
d11n 2023-03-29 10:24:49 +02:00 committed by GitHub
parent 5af3233fd6
commit 83ea898780
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -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")));
});

View file

@ -111,7 +111,7 @@
<span class="icn">
<vc:icon symbol="payment-sent" />
</span>
<h4 v-t="'payment_sent'"></h4>
<h4 v-t="'payment_received'"></h4>
<div id="PaymentDetails" class="payment-details">
<dl class="mb-0">
<div>
@ -136,8 +136,8 @@
<span class="fw-semibold" v-t="'view_details'"></span>
<vc:icon symbol="caret-down" />
</button>
<p class="text-center mt-3" v-t="'payment_sent_body'"></p>
<p class="text-center" v-if="srvModel.receivedConfirmations !== null && srvModel.requiredConfirmations" v-t="{ path: 'payment_sent_confirmations', args: { cryptoCode: realCryptoCode, receivedConfirmations: srvModel.receivedConfirmations, requiredConfirmations: srvModel.requiredConfirmations } }"></p>
<p class="text-center mt-3" v-t="'payment_received_body'"></p>
<p class="text-center" v-if="srvModel.receivedConfirmations !== null && srvModel.requiredConfirmations" v-t="{ path: 'payment_received_confirmations', args: { cryptoCode: realCryptoCode, receivedConfirmations: srvModel.receivedConfirmations, requiredConfirmations: srvModel.requiredConfirmations } }"></p>
</div>
</div>
<div v-if="isSettled" id="settled" key="settled">

View file

@ -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.",