fix: add more translations

This commit is contained in:
sokumon 2026-01-22 22:26:56 +05:30
parent af39fce61b
commit 3c8d09af55
3 changed files with 4 additions and 9 deletions

View file

@ -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")) {

View file

@ -8,11 +8,7 @@
<div class="title-container">
<div class="sidebar-item-label header-title" data-name-style="{%=frappe.boot.app_name_style%}">
{% if (frappe.boot.app_name_style == "Title") { %}
{%= frappe.app.sidebar.app_name %}
{% } else { %}
{%= workspace_title %}
{% } %}
{%= __(workspace_title) %}
</div>
<div class="sidebar-item-label header-subtitle">
{%= frappe.app.sidebar.header_subtitle %}

View file

@ -101,7 +101,7 @@ frappe.views.Page = class Page {
this.trigger_page_event("on_page_load");
frappe.breadcrumbs.add({
type: "Custom",
label: this.pagedoc.title,
label: __(this.pagedoc.title),
route: frappe.get_route_str(),
});