diff --git a/erpnext_datev/erpnext_datev/report/datev/datev.py b/erpnext_datev/erpnext_datev/report/datev/datev.py index 465411f..57472eb 100644 --- a/erpnext_datev/erpnext_datev/report/datev/datev.py +++ b/erpnext_datev/erpnext_datev/report/datev/datev.py @@ -189,10 +189,10 @@ def validate(filters): validate_fiscal_year(from_date, to_date, company) if not frappe.db.exists("DATEV Settings", filters.get("company")): - msg = "Please create DATEV Settings for Company {}".format( + msg = _("Please create DATEV Settings for Company {}").format( filters.get("company") ) - frappe.log_error(msg, title="DATEV Settings missing") + frappe.log_error(message=msg, title=_("DATEV Settings missing")) return False return True