fix(ux): translate onboarding step description
This commit is contained in:
parent
4997d14682
commit
f3a472b76e
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue