Skip to content

Commit

Permalink
Try to fix wording on e2e to make a little more clear (#12124)
Browse files Browse the repository at this point in the history
Fix: Change wording on e2e to make a little more clear
  • Loading branch information
geekgonecrazy authored and rodrigok committed Sep 22, 2018
1 parent 4e058e5 commit 4840dfc
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions packages/rocketchat-e2e/client/rocketchat.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class E2E {
} catch (error) {
this.started = false;
alerts.open({
title: TAPi18n.__('Wasn\'t possible to decode you encryption key to be imported.'),
title: TAPi18n.__('Wasn\'t possible to decode your encryption key to be imported.'),
html: '<div>Your encryption password seems wrong. Click here to try again.</div>',
modifiers: ['large', 'danger'],
closable: true,
Expand Down Expand Up @@ -142,7 +142,7 @@ class E2E {
if (randomPassword) {
alerts.open({
title: TAPi18n.__('Save your encryption password'),
html: `<div><span style="font-weight: bold;">${ randomPassword }</span><br/>This password will show up only this time. Click here to know more about it.</div>`,
html: `<div><span style="font-weight: bold;">${ randomPassword }</span><br/>This password will only show up this time. Click here to learn more.</div>`,
modifiers: ['large'],
closable: false,
icon: 'key',
Expand All @@ -152,15 +152,18 @@ class E2E {
html: true,
text: `
<div>
Now you can create encrypted private groups or change your direct messages to be encrypted. This is a end to end encryption so the key to encode/decode your messages will not be saved in our savers, for that reason you need to save this password to be able to transfer your key from this client to your mobile phone or to another browser.
You can now create encrypted private groups and direct messages. You may also change existing private groups or DMs to encrypted.
<br/>
This is end to end encryption so the key to encode/decode your messages will not be saved on the server.
For that reason you need to store this password somewhere safe. You will be required to enter it on other devices you wish to use e2e encryption on.
<br/>
<br/>
Your password is: <span style="font-weight: bold;">${ randomPassword }</span>
<br/>
<br/>
This is a auto generated password and you can setup a new password for your encryption key any time from any browser that already did receive your key.
This is an auto generated password, you can setup a new password for your encryption key any time from any browser you have entered the existing password.
<br/>
This password is stored on this browser only while you don't copy it and click to dismiss this message.
This password is only stored on this browser until you store the password and dismiss this message.
</div>
`,
showConfirmButton: true,
Expand Down

0 comments on commit 4840dfc

Please sign in to comment.