From 4a86a42ba004353bec87540a12158b85d6fab20d Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Wed, 10 Apr 2024 16:29:57 +0530 Subject: [PATCH] Improved: empty state message for inventory rule details, added a check for empty-state and added static text in en.json(#142) --- src/locales/en.json | 5 ++++- src/views/BrokeringQuery.vue | 2 +- src/views/BrokeringRoute.vue | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 50a4d00..5e07c75 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -28,6 +28,9 @@ "Cloning route": "Cloning route", "Close": "Close", "Connection configuration is missing for oms.": "Connection configuration is missing for oms.", + "Create brokering run": "Create brokering run", + "Create order batch": "Create order batch", + "Create order batches for this Brokering Run to execute.": "Create order batches for this Brokering Run to execute.", "Created at": "Created at", "Description": "Description", "Discard": "Discard", @@ -41,7 +44,6 @@ "Failed to create brokering run": "Failed to create brokering run", "Failed to create inventory rule": "Failed to create inventory rule", "Failed to create order routing": "Failed to create order routing", - "Failed to identify selected inventory rule, please select a rule or refresh": "Failed to identify selected inventory rule, please select a rule or refresh", "Failed to update group information": "Failed to update group information", "Failed to schedule service": "Failed to schedule service", "Fetching filters and inventory rules": "Fetching filters and inventory rules", @@ -95,6 +97,7 @@ "Passed duration": "Passed duration", "Password": "Password", "Please enter a valid name": "Please enter a valid name", + "Please select a rule or refresh": "Please select a rule or refresh", "Please select a scheduling for job": "Please select a scheduling for job", "Product Store": "Product Store", "Promise date": "Promise date", diff --git a/src/views/BrokeringQuery.vue b/src/views/BrokeringQuery.vue index 3c9b1fe..a14020c 100644 --- a/src/views/BrokeringQuery.vue +++ b/src/views/BrokeringQuery.vue @@ -238,7 +238,7 @@ -
{{ translate("Failed to identify selected inventory rule, please select a rule or refresh") }}
+
{{ translate("Please select a rule or refresh") }}
diff --git a/src/views/BrokeringRoute.vue b/src/views/BrokeringRoute.vue index a384b65..4209111 100644 --- a/src/views/BrokeringRoute.vue +++ b/src/views/BrokeringRoute.vue @@ -53,7 +53,7 @@ -
+

{{ translate("Create order batches for this Brokering Run to execute.") }}