mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
chore: translate values correctly
This commit is contained in:
@@ -118,7 +118,7 @@ def get_columns(filters):
|
|||||||
"width": 180,
|
"width": 180,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": _(f"{filters.get('party_type', 'Party')} Type"),
|
"label": _("{0} Type").format(_(filters.get("party_type", "Party"))),
|
||||||
"fieldname": "party_entity_type",
|
"fieldname": "party_entity_type",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"width": 180,
|
"width": 180,
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ def get_columns(filters):
|
|||||||
columns.extend(
|
columns.extend(
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"label": _(f"{filters.get('party_type', 'Party')} Type"),
|
"label": _("{0} Type").format(_(filters.get("party_type", "Party"))),
|
||||||
"fieldname": "party_entity_type",
|
"fieldname": "party_entity_type",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"width": 100,
|
"width": 100,
|
||||||
|
|||||||
Reference in New Issue
Block a user