Преглед изворни кода

Changes secret key texts to password

master
hristoterezov пре 10 година
родитељ
комит
6fe0864402
2 измењених фајлова са 12 додато и 11 уклоњено
  1. 1
    1
      app.js
  2. 11
    10
      toolbar.js

+ 1
- 1
app.js Прегледај датотеку

@@ -857,7 +857,7 @@ $(document).bind('passwordrequired.muc', function (event, jid) {
857 857
 
858 858
     messageHandler.openTwoButtonDialog(null,
859 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 861
         true,
862 862
         "Ok",
863 863
         function (e, v, m, f) {

+ 11
- 10
toolbar.js Прегледај датотеку

@@ -19,21 +19,22 @@ var Toolbar = (function (my) {
19 19
             if (sharedKey) {
20 20
                 messageHandler.openMessageDialog(null,
21 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 24
                     false,
24
-                    "Secret key");
25
+                    "Password");
25 26
             } else {
26 27
                 messageHandler.openMessageDialog(null,
27 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 31
                     false,
31
-                    "Secret key");
32
+                    "Password");
32 33
             }
33 34
         } else {
34 35
             if (sharedKey) {
35 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 38
                     false,
38 39
                     "Remove",
39 40
                     function (e, v) {
@@ -44,9 +45,9 @@ var Toolbar = (function (my) {
44 45
                     });
45 46
             } else {
46 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 49
                         '<input id="lockKey" type="text"' +
49
-                        'placeholder="your shared key" autofocus>',
50
+                        'placeholder="your password" autofocus>',
50 51
                     false,
51 52
                     "Save",
52 53
                     function (e, v) {
@@ -147,8 +148,8 @@ var Toolbar = (function (my) {
147 148
                 'Participants join muted<br/>' +
148 149
                 '<input type="checkbox" id="requireNicknames">' +
149 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 153
                 'autofocus>',
153 154
             null,
154 155
             false,

Loading…
Откажи
Сачувај