fix: translation in form_tour.js
fix: translation in form_tour.js
This commit is contained in:
parent
220cdf2575
commit
eb0349b7d3
1 changed files with 5 additions and 3 deletions
|
|
@ -11,8 +11,10 @@ frappe.ui.form.FormTour = class FormTour {
|
|||
padding: 10,
|
||||
overlayClickNext: true,
|
||||
keyboardControl: true,
|
||||
nextBtnText: "Next",
|
||||
prevBtnText: "Previous",
|
||||
nextBtnText: __("Next"),
|
||||
prevBtnText: __("Previous"),
|
||||
doneBtnText: __("Done"),
|
||||
closeBtnText: __("Close"),
|
||||
opacity: 0.25,
|
||||
onHighlighted: (step) => {
|
||||
// if last step is to save, then attach a listener to save button
|
||||
|
|
@ -135,7 +137,7 @@ frappe.ui.form.FormTour = class FormTour {
|
|||
return {
|
||||
element,
|
||||
name,
|
||||
popover: { title, description, position: frappe.router.slug(position || "Bottom") },
|
||||
popover: { title: __(title), description: __(description), position: frappe.router.slug(position || "Bottom") },
|
||||
onNext: on_next,
|
||||
onPrevious: on_prev,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue