From a6ae5e0675dca9be41eedd16cadc0ea239d68a71 Mon Sep 17 00:00:00 2001 From: Sai Phanindra <29685411+ph4ni@users.noreply.github.com> Date: Wed, 27 Dec 2023 11:31:17 +0530 Subject: [PATCH] Update lms_batch.py --- lms/lms/doctype/lms_batch/lms_batch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/lms/doctype/lms_batch/lms_batch.py b/lms/lms/doctype/lms_batch/lms_batch.py index 679276a3..293b3334 100644 --- a/lms/lms/doctype/lms_batch/lms_batch.py +++ b/lms/lms/doctype/lms_batch/lms_batch.py @@ -34,7 +34,7 @@ class LMSBatch(Document): def validate_batch_end_date(self): if(self.end_date < self.start_date): - frappe.throw("Batch end date cannot be before the batch start date") + frappe.throw(_("Batch end date cannot be before the batch start date")) def validate_duplicate_students(self): students = [row.student for row in self.students]