Browse Source

Changes secret key texts to password

master
hristoterezov 10 years ago
parent
commit
6fe0864402
2 changed files with 12 additions and 11 deletions
  1. 1
    1
      app.js
  2. 11
    10
      toolbar.js

+ 1
- 1
app.js View File

857
 
857
 
858
     messageHandler.openTwoButtonDialog(null,
858
     messageHandler.openTwoButtonDialog(null,
859
         '<h2>Password required</h2>' +
859
         '<h2>Password required</h2>' +
860
-        '<input id="lockKey" type="text" placeholder="shared key" autofocus>',
860
+        '<input id="lockKey" type="text" placeholder="password" autofocus>',
861
         true,
861
         true,
862
         "Ok",
862
         "Ok",
863
         function (e, v, m, f) {
863
         function (e, v, m, f) {

+ 11
- 10
toolbar.js View File

19
             if (sharedKey) {
19
             if (sharedKey) {
20
                 messageHandler.openMessageDialog(null,
20
                 messageHandler.openMessageDialog(null,
21
                         "This conversation is currently protected by" +
21
                         "This conversation is currently protected by" +
22
-                        " a shared secret key.",
22
+                        " a password. Only the owner of the conference" +
23
+                        " could set a password.",
23
                     false,
24
                     false,
24
-                    "Secret key");
25
+                    "Password");
25
             } else {
26
             } else {
26
                 messageHandler.openMessageDialog(null,
27
                 messageHandler.openMessageDialog(null,
27
                     "This conversation isn't currently protected by" +
28
                     "This conversation isn't currently protected by" +
28
-                        " a secret key. Only the owner of the conference" +
29
-                        " could set a shared key.",
29
+                        " a password. Only the owner of the conference" +
30
+                        " could set a password.",
30
                     false,
31
                     false,
31
-                    "Secret key");
32
+                    "Password");
32
             }
33
             }
33
         } else {
34
         } else {
34
             if (sharedKey) {
35
             if (sharedKey) {
35
                 messageHandler.openTwoButtonDialog(null,
36
                 messageHandler.openTwoButtonDialog(null,
36
-                    "Are you sure you would like to remove your secret key?",
37
+                    "Are you sure you would like to remove your password?",
37
                     false,
38
                     false,
38
                     "Remove",
39
                     "Remove",
39
                     function (e, v) {
40
                     function (e, v) {
44
                     });
45
                     });
45
             } else {
46
             } else {
46
                 messageHandler.openTwoButtonDialog(null,
47
                 messageHandler.openTwoButtonDialog(null,
47
-                    '<h2>Set a secret key to lock your room</h2>' +
48
+                    '<h2>Set a password to lock your room</h2>' +
48
                         '<input id="lockKey" type="text"' +
49
                         '<input id="lockKey" type="text"' +
49
-                        'placeholder="your shared key" autofocus>',
50
+                        'placeholder="your password" autofocus>',
50
                     false,
51
                     false,
51
                     "Save",
52
                     "Save",
52
                     function (e, v) {
53
                     function (e, v) {
147
                 'Participants join muted<br/>' +
148
                 'Participants join muted<br/>' +
148
                 '<input type="checkbox" id="requireNicknames">' +
149
                 '<input type="checkbox" id="requireNicknames">' +
149
                 'Require nicknames<br/><br/>' +
150
                 'Require nicknames<br/><br/>' +
150
-                'Set a secret key to lock your room:' +
151
-                '<input id="lockKey" type="text" placeholder="your shared key"' +
151
+                'Set a password to lock your room:' +
152
+                '<input id="lockKey" type="text" placeholder="your password"' +
152
                 'autofocus>',
153
                 'autofocus>',
153
             null,
154
             null,
154
             false,
155
             false,

Loading…
Cancel
Save