diff --git a/erpnext/setup/doctype/company/company.js b/erpnext/setup/doctype/company/company.js index 66971a354b4..2173804a86f 100644 --- a/erpnext/setup/doctype/company/company.js +++ b/erpnext/setup/doctype/company/company.js @@ -236,7 +236,7 @@ frappe.ui.form.on("Company", { }, function (data) { if (data.company_name !== frm.doc.name) { - frappe.msgprint(__("Company name not same")); + frappe.msgprint(__("Company name does not match")); return; } frappe.call({ diff --git a/erpnext/setup/doctype/department/department.js b/erpnext/setup/doctype/department/department.js index d703a52fc50..73c9265e94d 100644 --- a/erpnext/setup/doctype/department/department.js +++ b/erpnext/setup/doctype/department/department.js @@ -16,7 +16,7 @@ frappe.ui.form.on("Department", { }, validate: function (frm) { if (frm.doc.name == "All Departments") { - frappe.throw(__("You cannot edit root node.")); + frappe.throw(__("You cannot edit the root node.")); } }, });