diff --git a/app.js b/app.js index 3576bd693..4fd910f6b 100644 --- a/app.js +++ b/app.js @@ -857,7 +857,7 @@ $(document).bind('passwordrequired.muc', function (event, jid) { messageHandler.openTwoButtonDialog(null, '

Password required

' + - '', + '', true, "Ok", function (e, v, m, f) { diff --git a/toolbar.js b/toolbar.js index b79edbcbb..fdd0970dc 100644 --- a/toolbar.js +++ b/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, - '

Set a secret key to lock your room

' + + '

Set a password to lock your room

' + '', + 'placeholder="your password" autofocus>', false, "Save", function (e, v) { @@ -147,8 +148,8 @@ var Toolbar = (function (my) { 'Participants join muted
' + '' + 'Require nicknames

' + - 'Set a secret key to lock your room:' + - '', null, false,