diff options
| author | saturneric <[email protected]> | 2026-09-13 18:19:03 +0200 |
|---|---|---|
| committer | saturneric <[email protected]> | 2026-09-13 18:19:03 +0200 |
| commit | e48cc3931e66ccd0baaea24a26b6aaebd7b8dec9 (patch) | |
| tree | 14cb730df7ff90e5bf4bbbbb5d86b253f9a21be6 /src/m_email/EMailModule.cpp | |
| parent | feat(email): unify message verification results (diff) | |
| download | modules-e48cc3931e66ccd0baaea24a26b6aaebd7b8dec9.tar.gz modules-e48cc3931e66ccd0baaea24a26b6aaebd7b8dec9.zip | |
style(email): clarify email UI messages
- improve wording for security, validation, and network messages
- make recipient and signature explanations more precise
- standardize capitalization and punctuation in user-facing text
- apply minor formatting cleanup to affected code ñ¿¿
Diffstat (limited to 'src/m_email/EMailModule.cpp')
| -rw-r--r-- | src/m_email/EMailModule.cpp | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/m_email/EMailModule.cpp b/src/m_email/EMailModule.cpp index 8a8b4a6..8ba94ab 100644 --- a/src/m_email/EMailModule.cpp +++ b/src/m_email/EMailModule.cpp @@ -288,19 +288,22 @@ auto BuildRecipientCheckCard(const EMailMetaData& m, fields.append( {row.address, QApplication::translate( - "EMailModule", "in %1, but not encrypted to it: cannot read") + "EMailModule", + "in %1, but not encrypted to it: they cannot read this " + "message") .arg(row.header_field)}); break; case RecipientMatch::kENCRYPTED_NOT_ADDRESSED: fields.append({row.info.uid.isEmpty() ? row.info.key_id : row.info.uid, QApplication::translate( - "EMailModule", "encrypted to, not in the headers")}); + "EMailModule", + "encrypted to, but not listed in the headers")}); break; case RecipientMatch::kHIDDEN_RECIPIENT: fields.append( {QApplication::translate("EMailModule", "Hidden recipient"), QApplication::translate("EMailModule", - "the sender withheld this key id")}); + "the sender withheld this key ID")}); break; } } @@ -861,9 +864,10 @@ auto ReportDescriptionFor(const EMailVerificationResult& result) -> QString { ? QApplication::translate( "EMailModule", " The bytes the signature covers were rewritten after it was " - "made -- their line endings are no longer CRLF -- which is " - "usually a program that changed them while saving or copying " - "the message. Checking the signature needs the original.") + "made: their line endings are no longer CRLF. This is " + "usually caused by a program that changed them while saving " + "or copying the message. Checking the signature requires " + "the original bytes.") : QString(); switch (result.overall) { @@ -920,9 +924,9 @@ auto ReportDescriptionFor(const EMailVerificationResult& result) -> QString { case EMailBadgeState::kENCRYPTED_ONLY: return QApplication::translate( "EMailModule", - "The signatures in this message cover ciphertext rather than the " - "content you read. They say who wrapped the encrypted part, and " - "nothing about who wrote what is inside it."); + "The signatures in this message cover the encrypted data rather " + "than the content you read. They confirm who encrypted the " + "message, but say nothing about who wrote what is inside it."); case EMailBadgeState::kSIGNED_UNVERIFIED: case EMailBadgeState::kNOT_PROTECTED: |
