Translate details title before setting it into the DOM

This commit is contained in:
Hadi Nategh 2021-09-28 17:08:22 +02:00
parent c56dd9fb4e
commit 39d15ccece

View File

@ -240,7 +240,7 @@ export class et2_details extends et2_box
.click(function () {
self._toggle();
})
.text(this.options.title);
.text(this.egw().lang(this.options.title));
}
// Align toggle button left/right