fix(ux): translate onboarding step description

This commit is contained in:
Sabu Siyad 2024-03-13 12:08:43 +05:30
parent 4997d14682
commit f3a472b76e
No known key found for this signature in database
GPG key ID: BA37A2A8DD8C37EE

View file

@ -338,6 +338,7 @@ class Workspace:
for doc in onboarding_doc.get_steps():
step = doc.as_dict().copy()
step.label = _(doc.title)
step.description = _(doc.description)
if step.action == "Create Entry":
step.is_submittable = frappe.db.get_value(
"DocType", step.reference_document, "is_submittable", cache=True