diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Payment/Default.cshtml b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Payment/Default.cshtml index 6aa6359b..8be30bcc 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Payment/Default.cshtml +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Components/Payment/Default.cshtml @@ -6,53 +6,53 @@ @inject IStringLocalizer L
-
-
-
@L["Payment:SelectAddress"]
- - @foreach (var address in Model.Address) - { - string isSelectedAddressClass = address.IsDefault ? "is-selected" : string.Empty; - -
-
-

@address.Type

-
-
-

@address.ToString()

-
- -
-
- } -
-
+
+
+
@L["Payment:SelectAddress"]
+ + @foreach (var address in Model.Address) + { + string isSelectedAddressClass = address.IsDefault ? "is-selected" : string.Empty; + +
+
+

@address.Type

+
+
+

@address.ToString()

+
+ +
+
+ } +
+
-
-
@L["Payment:SelectPaymentMethod"]
- - @foreach (var paymentMethod in Model.PaymentMethods) - { - string isSelectedClass = paymentMethod.IsDefault ? "is-selected" : ""; - - - -

- @paymentMethod.Name -

-

- -

-
-
-
- } -
+
+
@L["Payment:SelectPaymentMethod"]
+ + @foreach (var paymentMethod in Model.PaymentMethods) + { + string isSelectedClass = paymentMethod.IsDefault ? "is-selected" : ""; + + + +

+ @L["Payment:PaymentMethod." + paymentMethod.Name] +

+

+ +

+
+
+
+ } +
-
-
-
- @await Component.InvokeAsync(typeof(PurchaseWidgetViewComponent), - new {Basket = Model.Basket, ButtonDescription = "CompleteOrder"}) -
+
+
+
+ @await Component.InvokeAsync(typeof(PurchaseWidgetViewComponent), + new {Basket = Model.Basket, ButtonDescription = "CompleteOrder"}) +
\ No newline at end of file diff --git a/shared/EShopOnAbp.Shared.Localization/Localization/EShopOnAbp/en.json b/shared/EShopOnAbp.Shared.Localization/Localization/EShopOnAbp/en.json index 2d7574a5..d7f3b6e2 100644 --- a/shared/EShopOnAbp.Shared.Localization/Localization/EShopOnAbp/en.json +++ b/shared/EShopOnAbp.Shared.Localization/Localization/EShopOnAbp/en.json @@ -25,6 +25,8 @@ "CompleteOrder": "Complete order", "Index:AddToBasket": "Add to basket", "Payment:SelectAddress": "Select Address", + "Payment:PaymentMethod.paypal": "PayPal", + "Payment:PaymentMethod.demo": "Demo", "Payment:SelectPaymentMethod": "Select Payment Method", "OrderReceived:AcceptedOrder": "Your order is received!", "OrderReceived:MailSentTo": "Your order details have been sent to ",