Skip to content

Commit e4fbcf1

Browse files
authored
Fix: add localized tooltips for Close and Minimize buttons (#5196)
1 parent 5f2d47f commit e4fbcf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/widgets/widgetWindows.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ class WidgetWindow {
110110
};
111111
}
112112
const closeButton = this._create("div", "wftButton close", this._drag);
113+
closeButton.title = _("Close");
113114
closeButton.onclick = e => {
114115
this.onclose();
115116
e.preventDefault();
@@ -154,6 +155,7 @@ class WidgetWindow {
154155
this._nonclosebuttons.style.display = "flex";
155156
this._rollButton = this._create("div", "wftButton rollup", this._nonclosebuttons);
156157
const rollButton = this._rollButton;
158+
rollButton.title = _("Minimize");
157159
rollButton.onclick = e => {
158160
if (this._rolled) {
159161
this.unroll();

0 commit comments

Comments
 (0)