From c22c454aee14a9f26e4a255c3abb75106b7556c1 Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Wed, 21 Feb 2024 15:58:05 +0530 Subject: [PATCH] Improved: enhanced the text for pending and completed items label in PO details page (#273) --- src/locales/en.json | 8 ++++---- src/views/PurchaseOrderDetail.vue | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index c7a5e9e7..c097ebf1 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -13,8 +13,8 @@ "Click the backdrop to dismiss.": "Click the backdrop to dismiss.", "Complete": "Complete", "Completed": "Completed", - "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 }", "Close purchase order items": "Close purchase order items", @@ -56,8 +56,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 3b4be0a2..4aa60265 100644 --- a/src/views/PurchaseOrderDetail.vue +++ b/src/views/PurchaseOrderDetail.vue @@ -44,10 +44,10 @@ - {{ translate("PENDING: ITEMS", { itemsCount: getPOItems('pending').length }) }} + {{ translate("Pending: items", { itemsCount: getPOItems('pending').length }) }} - {{ translate("PENDING: ITEM", { itemsCount: getPOItems('pending').length }) }} + {{ translate("Pending: item", { itemsCount: getPOItems('pending').length }) }} @@ -104,10 +104,10 @@ - {{ translate("COMPLETED: ITEMS", { itemsCount: getPOItems('completed').length }) }} + {{ translate("Completed: items", { itemsCount: getPOItems('completed').length }) }} - {{ translate("COMPLETED: ITEM", { itemsCount: getPOItems('completed').length }) }} + {{ translate("Completed: item", { itemsCount: getPOItems('completed').length }) }}