mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-24 00:58:29 +00:00
chore: translate values correctly
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user