Nikolay Suslov 5 년 전
부모
커밋
a6964d3e9b
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      public/web/index-app.js

+ 3 - 3
public/web/index-app.js

@@ -13,7 +13,7 @@ class IndexApp {
 
 
 
 
         this.worlds = {};
         this.worlds = {};
-        this.language = _LangManager.language;
+        //this.language = _LangManager.language;
 
 
         this.options = {
         this.options = {
 
 
@@ -689,7 +689,7 @@ class IndexApp {
                                 {
                                 {
                                     $type: "span",
                                     $type: "span",
                                     class: "mdc-list-item__secondary-text",
                                     class: "mdc-list-item__secondary-text",
-                                    $text: self.language.t('users') + m[1].clients
+                                    $text: _LangManager.language.t('users') + m[1].clients
                                 }
                                 }
                             ]
                             ]
                         }
                         }
@@ -798,7 +798,7 @@ class IndexApp {
                 userGUI.push({
                 userGUI.push({
                     $type: "a",
                     $type: "a",
                     class: "mdc-button mdc-button--raised mdc-card__action ",
                     class: "mdc-button mdc-button--raised mdc-card__action ",
-                    $text: self.language.t('start'),//"Start new",
+                    $text: _LangManager.language.t('start'),//"Start new",
                     //target: "_blank",
                     //target: "_blank",
                     //href: "/" + desc.userAlias + '/' + desc.worldName,
                     //href: "/" + desc.userAlias + '/' + desc.worldName,
                     onclick: function (e) {
                     onclick: function (e) {