Skip to content

Commit

Permalink
fix: translation of buttons in the Form tour (#22055)
Browse files Browse the repository at this point in the history
(cherry picked from commit 88c2e64)
  • Loading branch information
bvisible authored and mergify[bot] committed Aug 17, 2023
1 parent f38b6a0 commit e680b2c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frappe/public/js/onboarding_tours/onboarding_tours.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ frappe.ui.OnboardingTour = class OnboardingTour {
padding: 10,
overlayClickNext: false,
keyboardControl: true,
nextBtnText: "Next",
prevBtnText: "Previous",
nextBtnText: __("Next"),
prevBtnText: __("Previous"),
doneBtnText: __("Done"),
closeBtnText: __("Close"),
opacity: 0.5,
onHighlighted: (step) => {
frappe.ui.next_form_tour = step.options.step_info?.next_form_tour;
Expand Down

0 comments on commit e680b2c

Please sign in to comment.