Merge pull request #25833 from ankush/translation_fixes

fix(ux): fix unstranslated text in msgprint/throw
This commit is contained in:
Marica
2021-05-26 14:12:36 +05:30
committed by GitHub
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"""