chore: translate values correctly

This commit is contained in:
Smit Vora
2026-04-23 17:42:31 +05:30
parent 34e94d6e7a
commit 83fd655042
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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,