Переглянути джерело

Fixes logout confirmation dialog.

j8
paweldomas 10 роки тому
джерело
коміт
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) {

Завантаження…
Відмінити
Зберегти