From 83fd6550421d6205cc1d9feadff67140e7cc32bd Mon Sep 17 00:00:00 2001 From: Smit Vora Date: Thu, 23 Apr 2026 17:42:31 +0530 Subject: [PATCH] chore: translate values correctly --- .../report/tds_computation_summary/tds_computation_summary.py | 2 +- .../accounts/report/tds_payable_monthly/tds_payable_monthly.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/report/tds_computation_summary/tds_computation_summary.py b/erpnext/accounts/report/tds_computation_summary/tds_computation_summary.py index c5e9ec44c6f..de961ba6c4c 100644 --- a/erpnext/accounts/report/tds_computation_summary/tds_computation_summary.py +++ b/erpnext/accounts/report/tds_computation_summary/tds_computation_summary.py @@ -118,7 +118,7 @@ def get_columns(filters): "width": 180, }, { - "label": _(f"{filters.get('party_type', 'Party')} Type"), + "label": _("{0} Type").format(_(filters.get("party_type", "Party"))), "fieldname": "party_entity_type", "fieldtype": "Data", "width": 180, diff --git a/erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.py b/erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.py index 710a557e909..03289641447 100644 --- a/erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.py +++ b/erpnext/accounts/report/tds_payable_monthly/tds_payable_monthly.py @@ -209,7 +209,7 @@ def get_columns(filters): columns.extend( [ { - "label": _(f"{filters.get('party_type', 'Party')} Type"), + "label": _("{0} Type").format(_(filters.get("party_type", "Party"))), "fieldname": "party_entity_type", "fieldtype": "Data", "width": 100,