fix: add translate function to strings
This commit is contained in:
parent
aa49ec815a
commit
94199b7867
@ -85,8 +85,8 @@ def get_chart_data(job_card_details, filters):
|
||||
open_job_cards.append(periodic_data.get("Open").get(d))
|
||||
completed.append(periodic_data.get("Completed").get(d))
|
||||
|
||||
datasets.append({"name": "Open", "values": open_job_cards})
|
||||
datasets.append({"name": "Completed", "values": completed})
|
||||
datasets.append({"name": _("Open"), "values": open_job_cards})
|
||||
datasets.append({"name": _("Completed"), "values": completed})
|
||||
|
||||
chart = {"data": {"labels": labels, "datasets": datasets}, "type": "bar"}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user