diff --git a/feature-libs/order/assets/translations/en/my-account-v2-order.i18n.ts b/feature-libs/order/assets/translations/en/my-account-v2-order.i18n.ts index 8ec899e1bd6..cef74941883 100644 --- a/feature-libs/order/assets/translations/en/my-account-v2-order.i18n.ts +++ b/feature-libs/order/assets/translations/en/my-account-v2-order.i18n.ts @@ -40,7 +40,7 @@ export const myAccountV2Order = { viewAllOrders: 'View All Orders', noInvoices: 'Invoices are not generated yet. Please come back later.', }, - myAccountViewOrder: { + myAccountV2Orders: { item: '{{value}} Item', items: '{{value}} Items', heading: 'Orders And Returns', diff --git a/feature-libs/order/assets/translations/translations.ts b/feature-libs/order/assets/translations/translations.ts index ecbc7048ee3..b6e0f65853d 100644 --- a/feature-libs/order/assets/translations/translations.ts +++ b/feature-libs/order/assets/translations/translations.ts @@ -23,6 +23,6 @@ export const orderTranslationChunksConfig: TranslationChunksConfig = { myAccountV2Order: [ 'myAccountV2OrderHistory', 'myAccountV2OrderDetails', - 'myAccountViewOrder', + 'myAccountV2Orders', ], }; diff --git a/feature-libs/order/components/my-account-v2/my-account-v2-orders.component.html b/feature-libs/order/components/my-account-v2/my-account-v2-orders.component.html index df5a62fa6e9..54512613336 100644 --- a/feature-libs/order/components/my-account-v2/my-account-v2-orders.component.html +++ b/feature-libs/order/components/my-account-v2/my-account-v2-orders.component.html @@ -4,14 +4,14 @@ class="cx-my-account-view-heading" [attr.aria-label]="'myAccountV2OrderHistory.orderListResults' | cxTranslate" > - {{ 'myAccountViewOrder.heading' | cxTranslate }} + {{ 'myAccountV2Orders.heading' | cxTranslate }}
- {{ 'myAccountViewOrder.showMore' | cxTranslate }} + {{ 'myAccountV2Orders.showMore' | cxTranslate }}
@@ -34,7 +34,7 @@
{{ @@ -49,7 +49,7 @@ " > {{ - 'myAccountViewOrder.orderNumber' + 'myAccountV2Orders.orderNumber' | cxTranslate: { value: order.code } }}
@@ -72,20 +72,20 @@ + {{ - 'myAccountViewOrder.items' + 'myAccountV2Orders.items' | cxTranslate: { value: order.totalItems - 1 } }} + {{ - 'myAccountViewOrder.item' | cxTranslate: { value: 1 } + 'myAccountV2Orders.item' | cxTranslate: { value: 1 } }}
{{ - 'myAccountViewOrder.purchasedOn' + 'myAccountV2Orders.purchasedOn' | cxTranslate : { value: order.placed | cxDate: 'd, MMMM, yyyy' @@ -94,7 +94,7 @@
{{ - 'myAccountViewOrder.orderedItems' + 'myAccountV2Orders.orderedItems' | cxTranslate: { value: order.totalItems } }}
@@ -102,7 +102,7 @@
{{ - 'myAccountViewOrder.totalPrice' + 'myAccountV2Orders.totalPrice' | cxTranslate: { value: order.total?.formattedValue } }}
@@ -115,7 +115,7 @@ - {{ 'myAccountViewOrder.orderDetails' | cxTranslate }} + {{ 'myAccountV2Orders.orderDetails' | cxTranslate }} @@ -139,7 +139,7 @@ } | cxUrl " > - {{ 'myAccountViewOrder.returnOrder' | cxTranslate }} + {{ 'myAccountV2Orders.returnOrder' | cxTranslate }}