Browse Source

Update resources for Payment

pull/69/head
enisn 5 years ago
parent
commit
7398ae2377
  1. 17
      modules/payment/src/Payment.Domain.Shared/Localization/Payment/en.json
  2. 2
      modules/payment/src/Payment.Web/Pages/Payment/PreCheckout.cshtml

17
modules/payment/src/Payment.Domain.Shared/Localization/Payment/en.json

@ -2,15 +2,20 @@
{
"culture": "en",
"texts": {
"CompletePayment": "Complete the Payment",
"Enum:PaymentRequestState:Completed": "Completed",
"Enum:PaymentRequestState:Failed": "Failed",
"Enum:PaymentRequestState:Waiting": "Waiting",
"GoBack": "Go Back",
"MyAccount": "My account",
"SamplePageMessage": "A sample page for the Payment module",
"YourPaymentCompletedSuccessfully": "Your payment has been completed successfully!",
"YourPaymentFailed": "Your payment has been failed unfortunetely!",
"PaymentRequestIsNotWaiting": "The state isn't 'Waiting', so you can't pay this Payment Request at this time.",
"ProductName": "Product Name",
"PaymentResult": "Payment Result",
"Price": "Price",
"Status": "State",
"ProductInformation": "Product Information",
"CompletePayment": "Complete the Payment"
"ProductName": "Product Name",
"SamplePageMessage": "A sample page for the Payment module",
"Status": "State",
"YourPaymentCompletedSuccessfully": "Your payment has been completed successfully!",
"YourPaymentFailed": "Your payment has been failed unfortunetely!"
}
}

2
modules/payment/src/Payment.Web/Pages/Payment/PreCheckout.cshtml

@ -19,7 +19,7 @@
<ul>
<li>@L["ProductName"]: @Model.PaymentRequest.ProductName</li>
<li>@L["Price"]: @Model.PaymentRequest.Price @Model.PaymentRequest.Currency</li>
<li>@L["State"]: @Model.PaymentRequest.State</li>
<li>@L["State"]: @L["Enum:PaymentRequestState:" + Model.PaymentRequest.State]</li>
</ul>
</abp-card-body>
<abp-card-footer>

Loading…
Cancel
Save