Changes secret key texts to password
This commit is contained in:
parent
79cd0acb6c
commit
6fe0864402
2
app.js
2
app.js
|
@ -857,7 +857,7 @@ $(document).bind('passwordrequired.muc', function (event, jid) {
|
|||
|
||||
messageHandler.openTwoButtonDialog(null,
|
||||
'<h2>Password required</h2>' +
|
||||
'<input id="lockKey" type="text" placeholder="shared key" autofocus>',
|
||||
'<input id="lockKey" type="text" placeholder="password" autofocus>',
|
||||
true,
|
||||
"Ok",
|
||||
function (e, v, m, f) {
|
||||
|
|
21
toolbar.js
21
toolbar.js
|
@ -19,21 +19,22 @@ var Toolbar = (function (my) {
|
|||
if (sharedKey) {
|
||||
messageHandler.openMessageDialog(null,
|
||||
"This conversation is currently protected by" +
|
||||
" a shared secret key.",
|
||||
" a password. Only the owner of the conference" +
|
||||
" could set a password.",
|
||||
false,
|
||||
"Secret key");
|
||||
"Password");
|
||||
} else {
|
||||
messageHandler.openMessageDialog(null,
|
||||
"This conversation isn't currently protected by" +
|
||||
" a secret key. Only the owner of the conference" +
|
||||
" could set a shared key.",
|
||||
" a password. Only the owner of the conference" +
|
||||
" could set a password.",
|
||||
false,
|
||||
"Secret key");
|
||||
"Password");
|
||||
}
|
||||
} else {
|
||||
if (sharedKey) {
|
||||
messageHandler.openTwoButtonDialog(null,
|
||||
"Are you sure you would like to remove your secret key?",
|
||||
"Are you sure you would like to remove your password?",
|
||||
false,
|
||||
"Remove",
|
||||
function (e, v) {
|
||||
|
@ -44,9 +45,9 @@ var Toolbar = (function (my) {
|
|||
});
|
||||
} else {
|
||||
messageHandler.openTwoButtonDialog(null,
|
||||
'<h2>Set a secret key to lock your room</h2>' +
|
||||
'<h2>Set a password to lock your room</h2>' +
|
||||
'<input id="lockKey" type="text"' +
|
||||
'placeholder="your shared key" autofocus>',
|
||||
'placeholder="your password" autofocus>',
|
||||
false,
|
||||
"Save",
|
||||
function (e, v) {
|
||||
|
@ -147,8 +148,8 @@ var Toolbar = (function (my) {
|
|||
'Participants join muted<br/>' +
|
||||
'<input type="checkbox" id="requireNicknames">' +
|
||||
'Require nicknames<br/><br/>' +
|
||||
'Set a secret key to lock your room:' +
|
||||
'<input id="lockKey" type="text" placeholder="your shared key"' +
|
||||
'Set a password to lock your room:' +
|
||||
'<input id="lockKey" type="text" placeholder="your password"' +
|
||||
'autofocus>',
|
||||
null,
|
||||
false,
|
||||
|
|
Loading…
Reference in New Issue