From 3dcc3270602227dd7ecaddfc10e61e4bd7d90eab Mon Sep 17 00:00:00 2001 From: mahsem <137205921+mahsem@users.noreply.github.com> Date: Thu, 5 Dec 2024 08:30:02 +0100 Subject: [PATCH] fix: add label for translation in shortcut_widget.js --- frappe/public/js/frappe/widgets/shortcut_widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/widgets/shortcut_widget.js b/frappe/public/js/frappe/widgets/shortcut_widget.js index 194835cea3..68692646fa 100644 --- a/frappe/public/js/frappe/widgets/shortcut_widget.js +++ b/frappe/public/js/frappe/widgets/shortcut_widget.js @@ -100,7 +100,7 @@ export default class ShortcutWidget extends Widget { const label = get_label(); let color = this.color && count ? this.color.toLowerCase() : "gray"; $( - `
${label}
` + `
${__(label)}
` ).appendTo(this.action_area); $(frappe.utils.icon("es-line-arrow-up-right", "xs", "", "", "ml-2")).appendTo(