From 3c8d09af559dc41a8bd4fc6d85cf9277a60a5159 Mon Sep 17 00:00:00 2001 From: sokumon Date: Thu, 22 Jan 2026 22:26:56 +0530 Subject: [PATCH] fix: add more translations --- frappe/desk/page/desktop/desktop.js | 5 ++--- frappe/public/js/frappe/ui/sidebar/sidebar_header.html | 6 +----- frappe/public/js/frappe/views/pageview.js | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/frappe/desk/page/desktop/desktop.js b/frappe/desk/page/desktop/desktop.js index 0735f7963b..8b0ef1c1dc 100644 --- a/frappe/desk/page/desktop/desktop.js +++ b/frappe/desk/page/desktop/desktop.js @@ -988,9 +988,8 @@ class DesktopIcon { modal.show(); }); if (this.icon_type == "App") { - $($(this.icon_caption_area).children()[1]).html( - __(`${this.child_icons.length} Workspaces`) - ); + let content = `${this.child_icons.length} Workspaces`; + $($(this.icon_caption_area).children()[1]).html(__(content)); } } else { if (this.icon_route && this.icon_route.startsWith("http")) { diff --git a/frappe/public/js/frappe/ui/sidebar/sidebar_header.html b/frappe/public/js/frappe/ui/sidebar/sidebar_header.html index a27988a2f6..00ab905446 100644 --- a/frappe/public/js/frappe/ui/sidebar/sidebar_header.html +++ b/frappe/public/js/frappe/ui/sidebar/sidebar_header.html @@ -8,11 +8,7 @@