fix: missing translation function (#33938)

This commit is contained in:
El-Shafei H. 2025-09-08 13:01:07 +03:00 committed by GitHub
parent 804e211b2d
commit aaad14b698
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,23 +31,22 @@ def execute(filters=None):
def get_columns(filters): def get_columns(filters):
reference_doctype = filters.get("reference_doctype")
return [ return [
"{reference_doctype}:Link/{reference_doctype}".format( f"{_(reference_doctype)}:Link/{reference_doctype}",
reference_doctype=filters.get("reference_doctype") _("Address Line 1"),
), _("Address Line 2"),
"Address Line 1", _("City"),
"Address Line 2", _("State"),
"City", _("Postal Code"),
"State", _("Country"),
"Postal Code", f"{_('Is Primary Address')}:Check",
"Country", _("First Name"),
"Is Primary Address:Check", _("Last Name"),
"First Name", _("Address"),
"Last Name", _("Phone"),
"Address", _("Email Id"),
"Phone", f"{_('Is Primary Contact')}:Check",
"Email Id",
"Is Primary Contact:Check",
] ]