diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-01-18 19:01:05 -0200 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2017-01-19 16:24:58 -0200 |
commit | f9bda79686c5a4f65bc1c98bc5a1936faf1bc8e0 (patch) | |
tree | 7d0cc0149656a4ec1d582ea7e32b41f6d66089a6 /web-ui/app/js/mail_view | |
parent | e611094dfc396179a680c0c41cfe7bfe57dcb89c (diff) |
[#828] Replaced plain text to translation properties
with @tayanefernandes
Diffstat (limited to 'web-ui/app/js/mail_view')
-rw-r--r-- | web-ui/app/js/mail_view/ui/mail_view.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/web-ui/app/js/mail_view/ui/mail_view.js b/web-ui/app/js/mail_view/ui/mail_view.js index 4315226c..86605b37 100644 --- a/web-ui/app/js/mail_view/ui/mail_view.js +++ b/web-ui/app/js/mail_view/ui/mail_view.js @@ -103,7 +103,7 @@ define( if(_.isEmpty(mail.security_casing.locks)) { statusClass.push('--not-encrypted'); statusLabel = 'not-encrypted'; - tooltip = 'This message is not encrypted.'; + tooltip = 'not-encrypted-label-tooltip'; } else { statusClass.push('--encrypted'); @@ -113,11 +113,11 @@ define( if(hasAnyEncryptionInfo) { statusLabel = 'encrypted'; - tooltip = 'This message was encrypted.'; + tooltip = 'encrypted-label-tooltip'; } else { statusClass.push('--with-error'); statusLabel = 'encryption-error'; - tooltip = 'This message had an encryption error.'; + tooltip = 'encryption-error-label-tooltip'; } } @@ -140,28 +140,28 @@ define( if(_.isEmpty(mail.security_casing.imprints) || hasNoSignatureInformation) { statusClass.push('--not-signed'); statusLabel.push('not-signed'); - tooltip = 'The sender could not be verified.'; + tooltip = 'not-signed-label-tooltip'; } else { statusClass.push('--signed'); statusLabel.push('signed'); - tooltip = 'You are communicating with the real sender.'; + tooltip = 'signed-label-tooltip'; if(_.any(mail.security_casing.imprints, function(imprint) { return imprint.state === 'from_revoked'; })) { statusClass.push('--revoked'); statusLabel.push('signature-revoked'); - tooltip = 'The sender could not be verified.'; + tooltip = 'not-signed-label-tooltip'; } if(_.any(mail.security_casing.imprints, function(imprint) { return imprint.state === 'from_expired'; })) { statusClass.push('--expired'); statusLabel.push('signature-expired'); - tooltip = 'The sender could not be verified.'; + tooltip = 'not-signed-label-tooltip'; } if(this.isNotTrusted(mail)) { statusClass.push('--not-trusted'); statusLabel.push('signature-not-trusted'); - tooltip = 'The sender could not be verified.'; + tooltip = 'not-signed-label-tooltip'; } } |