瀏覽代碼

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

Fixes profile panel translation.
j8
yanas 8 年之前
父節點
當前提交
6f15903019
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      modules/UI/side_pannels/profile/Profile.js

+ 3
- 0
modules/UI/side_pannels/profile/Profile.js 查看文件

36
 function initHTML() {
36
 function initHTML() {
37
     $(`#${sidePanelsContainerId}`)
37
     $(`#${sidePanelsContainerId}`)
38
         .append(htmlStr);
38
         .append(htmlStr);
39
+    // make sure we translate the panel, as adding it can be after i18n
40
+    // library had initialized and translated already present html
41
+    APP.translation.translateElement($(`#${sidePanelsContainerId}`));
39
 }
42
 }
40
 
43
 
41
 export default {
44
 export default {

Loading…
取消
儲存