mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 22:49:19 +00:00
Translation improvements
Translation improvements
This commit is contained in:
@@ -57,7 +57,7 @@ class MaintenanceSchedule(TransactionBase):
|
|||||||
|
|
||||||
if no_email_sp:
|
if no_email_sp:
|
||||||
frappe.msgprint(
|
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>")
|
doc.owner, no_email_sp.join("<br>")
|
||||||
))
|
))
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ class MaintenanceSchedule(TransactionBase):
|
|||||||
parent=%s""", (d.sales_person, d.item_code, self.name), as_dict=1)
|
parent=%s""", (d.sales_person, d.item_code, self.name), as_dict=1)
|
||||||
|
|
||||||
for key in scheduled_date:
|
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)
|
(self.name, d.item_code, self.customer)
|
||||||
frappe.get_doc({
|
frappe.get_doc({
|
||||||
"doctype": "Event",
|
"doctype": "Event",
|
||||||
|
|||||||
Reference in New Issue
Block a user