refactor: translate tooltip text of page (#29885)
This commit is contained in:
parent
f4741e7310
commit
25e214e7f5
1 changed files with 1 additions and 1 deletions
|
|
@ -765,7 +765,7 @@ frappe.ui.Page = class Page {
|
|||
}
|
||||
let title_wrapper = this.$title_area.find(".title-text");
|
||||
title_wrapper.html(title);
|
||||
title_wrapper.attr("title", tooltip_label || this.title);
|
||||
title_wrapper.attr("title", __(tooltip_label) || this.title);
|
||||
|
||||
if (tooltip_label) {
|
||||
title_wrapper.tooltip({ delay: { show: 600, hide: 100 }, trigger: "hover" });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue