From e3e9cba9b46553abc0f067ea68ee7b29fa276619 Mon Sep 17 00:00:00 2001 From: HitikaGhanani <130922448+HitikaGhanani@users.noreply.github.com> Date: Fri, 13 Oct 2023 14:30:25 +0530 Subject: [PATCH] Change Text Case on Purchase Order Detail page --- src/locales/en.json | 8 ++++---- src/views/PurchaseOrderDetail.vue | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 8f41e7d0..1d0ee517 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -12,8 +12,8 @@ "Choosing a product identifier allows you to view products with your preferred identifiers.": "Choosing a product identifier allows you to view products with your preferred identifiers.", "Click the backdrop to dismiss.": "Click the backdrop to dismiss.", "Complete": "Complete", - "COMPLETED: ITEM": "COMPLETED: {itemsCount} ITEM", - "COMPLETED: ITEMS": "COMPLETED: {itemsCount} ITEMS", + "Completed: item": "Completed: {itemsCount} item", + "Completed: items": "Completed: {itemsCount} items", "Confirm": "Confirm", "Copied": "Copied { value }", "eCom Store": "eCom Store", @@ -51,8 +51,8 @@ "ordered": "ordered", "Orders not found": "Orders not found", "Password": "Password", - "PENDING: ITEM": "PENDING: {itemsCount} ITEM", - "PENDING: ITEMS": "PENDING: {itemsCount} ITEMS", + "Pending: item": "Pending: {itemsCount} item", + "Pending: items": "Pending: {itemsCount} Items", "primary identifier": "primary identifier", "Primary Product Identifier": "Primary Product Identifier", "Proceed": "Proceed", diff --git a/src/views/PurchaseOrderDetail.vue b/src/views/PurchaseOrderDetail.vue index 03aea839..99b05cbc 100644 --- a/src/views/PurchaseOrderDetail.vue +++ b/src/views/PurchaseOrderDetail.vue @@ -27,7 +27,7 @@
{{ order.orderId }} - {{ order.orderStatusDesc }} + {{ order.orderStatusDesc.toLowerCase }}
@@ -44,10 +44,10 @@ - {{ $t("PENDING: ITEMS", { itemsCount: getPOItems('pending').length }) }} + {{ $t("Pending: items", { itemsCount: getPOItems('pending').length }) }} - {{ $t("PENDING: ITEM", { itemsCount: getPOItems('pending').length }) }} + {{ $t("Pending: item", { itemsCount: getPOItems('pending').length }) }} @@ -104,10 +104,10 @@ - {{ $t("COMPLETED: ITEMS", { itemsCount: getPOItems('completed').length }) }} + {{ $t("Completed: items", { itemsCount: getPOItems('completed').length }) }} - {{ $t("COMPLETED: ITEM", { itemsCount: getPOItems('completed').length }) }} + {{ $t("Completed: item", { itemsCount: getPOItems('completed').length }) }}