Просмотр исходного кода

Fixes logout confirmation dialog.

master
paweldomas 11 лет назад
Родитель
Сommit
053b2d5af2
2 измененных файлов: 4 добавлений и 1 удалений
  1. 2
    0
      lang/main.json
  2. 2
    1
      modules/UI/toolbars/Toolbar.js

+ 2
- 0
lang/main.json Просмотреть файл

153
         "AuthMsg": "Authentication is required to create room:<br/><b>__room__ </b></br> You can either authenticate to create the room or just wait for someone else to do so.",
153
         "AuthMsg": "Authentication is required to create room:<br/><b>__room__ </b></br> You can either authenticate to create the room or just wait for someone else to do so.",
154
         "Authenticate": "Authenticate",
154
         "Authenticate": "Authenticate",
155
         "Cancel": "Cancel",
155
         "Cancel": "Cancel",
156
+        "logoutTitle" : "Logout",
157
+        "logoutQuestion" : "Are you sure you want to logout and stop the conference ?",
156
         "sessTerminated": "Session Terminated",
158
         "sessTerminated": "Session Terminated",
157
         "hungUp": "You hung up the call",
159
         "hungUp": "You hung up the call",
158
         "joinAgain": "Join again",
160
         "joinAgain": "Join again",

+ 2
- 1
modules/UI/toolbars/Toolbar.js Просмотреть файл

66
     "toolbar_button_logout": function () {
66
     "toolbar_button_logout": function () {
67
         // Ask for confirmation
67
         // Ask for confirmation
68
         messageHandler.openTwoButtonDialog(
68
         messageHandler.openTwoButtonDialog(
69
-            "Logout",
69
+            "dialog.logoutTitle", "Logout",
70
+            "dialog.logoutQuestion",
70
             "Are you sure you want to logout and stop the conference ?",
71
             "Are you sure you want to logout and stop the conference ?",
71
             false, "Yes",
72
             false, "Yes",
72
             function (evt, yes) {
73
             function (evt, yes) {

Загрузка…
Отмена
Сохранить