Merge pull request #1474 from jitsi/fix-profile-sidebar-translation

Fixes profile panel translation.
This commit is contained in:
yanas 2017-04-06 16:06:55 -05:00 committed by GitHub
commit 6f15903019
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ const htmlStr = `
function initHTML() {
$(`#${sidePanelsContainerId}`)
.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 {