mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
fix: bulk fix (~330) missing translations
This commit is contained in:
committed by
Ankush Menat
parent
e8118fcdf1
commit
a896895a9e
@@ -250,7 +250,7 @@ class MaintenanceSchedule(TransactionBase):
|
||||
_("Serial No {0} does not belong to Item {1}").format(
|
||||
frappe.bold(serial_no), frappe.bold(item_code)
|
||||
),
|
||||
title="Invalid",
|
||||
title=_("Invalid"),
|
||||
)
|
||||
|
||||
if sr_details.warranty_expiry_date and getdate(sr_details.warranty_expiry_date) >= getdate(
|
||||
|
||||
@@ -20,7 +20,7 @@ class MaintenanceVisit(TransactionBase):
|
||||
|
||||
def validate_purpose_table(self):
|
||||
if not self.purposes:
|
||||
frappe.throw(_("Add Items in the Purpose Table"), title="Purposes Required")
|
||||
frappe.throw(_("Add Items in the Purpose Table"), title=_("Purposes Required"))
|
||||
|
||||
def validate_maintenance_date(self):
|
||||
if self.maintenance_type == "Scheduled" and self.maintenance_schedule_detail:
|
||||
|
||||
Reference in New Issue
Block a user