From 40b78692fea0a3a88444b0a454721c5fd5e2ba83 Mon Sep 17 00:00:00 2001 From: Maharshi Patel Date: Thu, 25 May 2023 11:44:19 +0530 Subject: [PATCH] chore: fix linters missing translate function and newline at end of file. --- frappe/desk/doctype/form_tour/form_tour.js | 2 +- frappe/public/js/onboarding_tours.bundle.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/desk/doctype/form_tour/form_tour.js b/frappe/desk/doctype/form_tour/form_tour.js index b9010fff0c..8a65cc1619 100644 --- a/frappe/desk/doctype/form_tour/form_tour.js +++ b/frappe/desk/doctype/form_tour/form_tour.js @@ -34,7 +34,7 @@ frappe.ui.form.on("Form Tour", { frm.doc.reference_doctype ) { frappe.throw( - "Referance Doctype and Dashboard Name both can't be used at the same time." + __("Referance Doctype and Dashboard Name both can't be used at the same time.") ); } frm.doc.ui_tour && (frm.doc.page_route = JSON.stringify(await get_path(frm))); diff --git a/frappe/public/js/onboarding_tours.bundle.js b/frappe/public/js/onboarding_tours.bundle.js index 90788cedfc..6ed7934b78 100644 --- a/frappe/public/js/onboarding_tours.bundle.js +++ b/frappe/public/js/onboarding_tours.bundle.js @@ -1 +1 @@ -import "./onboarding_tours/onboarding_tours.js"; \ No newline at end of file +import "./onboarding_tours/onboarding_tours.js";