From b7a46f9edb163ec603085354dba9efab56859880 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Wed, 14 Aug 2024 11:48:43 +0530 Subject: [PATCH] Improved: updated locale file to make static text entry(#245) --- src/components/ScheduleModal.vue | 2 +- src/locales/en.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ScheduleModal.vue b/src/components/ScheduleModal.vue index 8f94c80..ae74c50 100644 --- a/src/components/ScheduleModal.vue +++ b/src/components/ScheduleModal.vue @@ -21,7 +21,7 @@ - {{ isExpressionValid && getCronString ? getNextExecutionTime : "Provide a valid cron expression" }} + {{ isExpressionValid && getCronString ? getNextExecutionTime : translate("Provide a valid cron expression") }} diff --git a/src/locales/en.json b/src/locales/en.json index bc6d094..91a54f2 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -119,6 +119,7 @@ "Please select a scheduling for job": "Please select a scheduling for job", "Product Store": "Product Store", "Promise date": "Promise date", + "Provide a valid cron expression": "Provide a valid cron expression", "Proximity": "Proximity", "priority": "priority", "Queue": "Queue",