From 54a95dae5be84dc82f6c0b800067260e1f2ceb7c Mon Sep 17 00:00:00 2001 From: mahsem <137205921+mahsem@users.noreply.github.com> Date: Sun, 23 Jun 2024 16:11:06 +0200 Subject: [PATCH 1/2] fix: translation in dashboard_utils.js fix: translation in dashboard_utils.js --- frappe/public/js/frappe/utils/dashboard_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/utils/dashboard_utils.js b/frappe/public/js/frappe/utils/dashboard_utils.js index 1058101fff..89c53ee0ff 100644 --- a/frappe/public/js/frappe/utils/dashboard_utils.js +++ b/frappe/public/js/frappe/utils/dashboard_utils.js @@ -160,7 +160,7 @@ frappe.dashboard_utils = { fieldtype: "HTML", fieldname: "description", options: `
-

Set dynamic filter values in JavaScript for the required fields here. +

${__("Set dynamic filter values in JavaScript for the required fields here.")}

Ex: frappe.defaults.get_user_default("Company") From 8b80a89036ea98fc2830cc8294256b22e1fff378 Mon Sep 17 00:00:00 2001 From: mahsem <137205921+mahsem@users.noreply.github.com> Date: Tue, 2 Jul 2024 06:38:33 +0200 Subject: [PATCH 2/2] fix: frappe/public/js/frappe/utils/dashboard_utils.js Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com> --- frappe/public/js/frappe/utils/dashboard_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/utils/dashboard_utils.js b/frappe/public/js/frappe/utils/dashboard_utils.js index 89c53ee0ff..2ad0dcc2cb 100644 --- a/frappe/public/js/frappe/utils/dashboard_utils.js +++ b/frappe/public/js/frappe/utils/dashboard_utils.js @@ -162,7 +162,7 @@ frappe.dashboard_utils = { options: `

${__("Set dynamic filter values in JavaScript for the required fields here.")}

-

Ex: +

${__("For example:")} frappe.defaults.get_user_default("Company")

`,