fix(ux): fix unstranslated text in msgprint/throw

This commit is contained in:
Ankush Menat
2021-05-25 19:54:40 +05:30
parent 99636c6aca
commit ff96bdf0c1
11 changed files with 23 additions and 22 deletions

View File

@@ -75,7 +75,7 @@ class CourseSchedulingTool(Document):
"""Validates if Course Start Date is greater than Course End Date"""
if self.course_start_date > self.course_end_date:
frappe.throw(
"Course Start Date cannot be greater than Course End Date.")
_("Course Start Date cannot be greater than Course End Date."))
def delete_course_schedule(self, rescheduled, reschedule_errors):
"""Delete all course schedule within the Date range and specified filters"""