Translation improvements
Translation improvements
diff --git a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py
index f30598f..c2395e8 100644
--- a/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py
+++ b/erpnext/support/doctype/maintenance_schedule/maintenance_schedule.py
@@ -57,7 +57,7 @@
if no_email_sp:
frappe.msgprint(
- "Setting Events to <b>{0}</b>, since the Employee attached to the below Sales Persons does not have a User ID<br>{1}".format(
+ frappe._("Setting Events to <b>{0}</b>, since the Employee attached to the below Sales Persons does not have a User ID<br>{1}").format(
doc.owner, no_email_sp.join("<br>")
))
@@ -66,7 +66,7 @@
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",