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,
|
messageHandler.openTwoButtonDialog(null,
|
||||||
'<h2>Password required</h2>' +
|
'<h2>Password required</h2>' +
|
||||||
'<input id="lockKey" type="text" placeholder="shared key" autofocus>',
|
'<input id="lockKey" type="text" placeholder="password" autofocus>',
|
||||||
true,
|
true,
|
||||||
"Ok",
|
"Ok",
|
||||||
function (e, v, m, f) {
|
function (e, v, m, f) {
|
||||||
|
|
21
toolbar.js
21
toolbar.js
|
@ -19,21 +19,22 @@ var Toolbar = (function (my) {
|
||||||
if (sharedKey) {
|
if (sharedKey) {
|
||||||
messageHandler.openMessageDialog(null,
|
messageHandler.openMessageDialog(null,
|
||||||
"This conversation is currently protected by" +
|
"This conversation is currently protected by" +
|
||||||
" a shared secret key.",
|
" a password. Only the owner of the conference" +
|
||||||
|
" could set a password.",
|
||||||
false,
|
false,
|
||||||
"Secret key");
|
"Password");
|
||||||
} else {
|
} else {
|
||||||
messageHandler.openMessageDialog(null,
|
messageHandler.openMessageDialog(null,
|
||||||
"This conversation isn't currently protected by" +
|
"This conversation isn't currently protected by" +
|
||||||
" a secret key. Only the owner of the conference" +
|
" a password. Only the owner of the conference" +
|
||||||
" could set a shared key.",
|
" could set a password.",
|
||||||
false,
|
false,
|
||||||
"Secret key");
|
"Password");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (sharedKey) {
|
if (sharedKey) {
|
||||||
messageHandler.openTwoButtonDialog(null,
|
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,
|
false,
|
||||||
"Remove",
|
"Remove",
|
||||||
function (e, v) {
|
function (e, v) {
|
||||||
|
@ -44,9 +45,9 @@ var Toolbar = (function (my) {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
messageHandler.openTwoButtonDialog(null,
|
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"' +
|
'<input id="lockKey" type="text"' +
|
||||||
'placeholder="your shared key" autofocus>',
|
'placeholder="your password" autofocus>',
|
||||||
false,
|
false,
|
||||||
"Save",
|
"Save",
|
||||||
function (e, v) {
|
function (e, v) {
|
||||||
|
@ -147,8 +148,8 @@ var Toolbar = (function (my) {
|
||||||
'Participants join muted<br/>' +
|
'Participants join muted<br/>' +
|
||||||
'<input type="checkbox" id="requireNicknames">' +
|
'<input type="checkbox" id="requireNicknames">' +
|
||||||
'Require nicknames<br/><br/>' +
|
'Require nicknames<br/><br/>' +
|
||||||
'Set a secret key to lock your room:' +
|
'Set a password to lock your room:' +
|
||||||
'<input id="lockKey" type="text" placeholder="your shared key"' +
|
'<input id="lockKey" type="text" placeholder="your password"' +
|
||||||
'autofocus>',
|
'autofocus>',
|
||||||
null,
|
null,
|
||||||
false,
|
false,
|
||||||
|
|
Loading…
Reference in New Issue