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]