Merge pull request #1474 from jitsi/fix-profile-sidebar-translation
Fixes profile panel translation.
This commit is contained in:
commit
6f15903019
|
@ -36,6 +36,9 @@ const htmlStr = `
|
||||||
function initHTML() {
|
function initHTML() {
|
||||||
$(`#${sidePanelsContainerId}`)
|
$(`#${sidePanelsContainerId}`)
|
||||||
.append(htmlStr);
|
.append(htmlStr);
|
||||||
|
// make sure we translate the panel, as adding it can be after i18n
|
||||||
|
// library had initialized and translated already present html
|
||||||
|
APP.translation.translateElement($(`#${sidePanelsContainerId}`));
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
Loading…
Reference in New Issue