diff --git a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py
index f30598f8a43..c2395e8b2ba 100644
--- a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py
+++ b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py
@@ -57,7 +57,7 @@ class MaintenanceSchedule(TransactionBase):
if no_email_sp:
frappe.msgprint(
- "Setting Events to {0}, since the Employee attached to the below Sales Persons does not have a User ID
{1}".format(
+ frappe._("Setting Events to {0}, since the Employee attached to the below Sales Persons does not have a User ID
{1}").format(
doc.owner, no_email_sp.join("
")
))
@@ -66,7 +66,7 @@ class MaintenanceSchedule(TransactionBase):
parent=%s""", (d.sales_person, d.item_code, self.name), as_dict=1)
for key in scheduled_date:
- description = "Reference: %s, Item Code: %s and Customer: %s" % \
+ description = frappe._("Reference: %s, Item Code: %s and Customer: %s") % \
(self.name, d.item_code, self.customer)
frappe.get_doc({
"doctype": "Event",