From 449d7d3b3d6af9fb3414270b21f42c9102dff581 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Thu, 28 Mar 2024 17:19:53 +0100 Subject: [PATCH] fix: make insights ad translatable --- frappe/public/js/frappe/list/list_sidebar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/list/list_sidebar.js b/frappe/public/js/frappe/list/list_sidebar.js index 930dba846c..9a79d37cbd 100644 --- a/frappe/public/js/frappe/list/list_sidebar.js +++ b/frappe/public/js/frappe/list/list_sidebar.js @@ -270,9 +270,9 @@ frappe.views.ListSidebar = class ListSidebar { this.insights_banner.remove(); } - const message = "Get more insights with"; + const message = __("Get more insights with"); const link = "https://frappe.io/s/insights"; - const cta = "Frappe Insights"; + const cta = __("Frappe Insights"); this.insights_banner = $(`