Browse Source

added purchase total localization

pull/55/head
Galip Tolga Erdem 5 years ago
parent
commit
24e70c276c
  1. 5
      apps/public-web/src/EShopOnAbp.PublicWeb/Components/Purchase/Default.cshtml
  2. 1
      shared/EShopOnAbp.Shared.Localization/Localization/EShopOnAbp/en.json
  3. 1
      shared/EShopOnAbp.Shared.Localization/Localization/EShopOnAbp/tr.json

5
apps/public-web/src/EShopOnAbp.PublicWeb/Components/Purchase/Default.cshtml

@ -6,7 +6,10 @@
<div>
<div class="row">
<h4>Total Selected (@Model.Basket.Items.Count)</h4>
@{
var totalCount = Model?.Basket.Items.Count ?? 0;
}
<h4>@L["TotalSelected", totalCount]</h4>
</div>
<div class="row">
<h3>$@Model.Basket.TotalPrice.ToString("0.00")</h3>

1
shared/EShopOnAbp.Shared.Localization/Localization/EShopOnAbp/en.json

@ -8,6 +8,7 @@
"CheckOtherProducts": "You can check the recommended products below or",
"ContinueShopping": "continue shopping.",
"Total": "Total",
"TotalSelected": "Total Selected ({0})",
"OurProducts": "Our Products",
"CatalogServiceNotAvailable": "Catalog Service is unavailable right now! Try again later...",
"StockCount": "Stock Count",

1
shared/EShopOnAbp.Shared.Localization/Localization/EShopOnAbp/tr.json

@ -8,6 +8,7 @@
"CheckOtherProducts": "Aşağıdaki önerilen öğeleri takip edebilirsiniz veya",
"ContinueShopping": "alışverişe devam edin.",
"Total": "Toplam",
"TotalSelected": "Seçilen Ürünler ({0})",
"OurProducts": "Ürünlerimiz",
"CatalogServiceNotAvailable": "Ürün servisine şu anda ulaşılamıyor! Lütfen sonra tekrar deneyiniz...",
"StockCount": "Stokta",

Loading…
Cancel
Save