Commit 497896b1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Revert "Don't show "No HTML message" for plain text message"

This reverts commit 6c10959b.

Fun: MR was not approved. I was against (as maintainer), but it was merged...
=> revert.
parent 6c10959b
Pipeline #78450 passed with stage
in 43 minutes and 6 seconds
......@@ -62,7 +62,6 @@ void HtmlStatusBar::update()
setVisible(mMode != MimeTreeParser::Util::Normal);
void HtmlStatusBar::setNormalMode()
......@@ -111,7 +110,10 @@ QString HtmlStatusBar::message() const
"<qt><b><br />H<br />T<br />M<br />L<br /> "
"<br />M<br />e<br />s<br />s<br />a<br />g<br />e</b></qt>");
case MimeTreeParser::Util::Normal: // normal: "No HTML Message"
return QString();
return i18nc("'No HTML Message' with html linebreaks between each letter.",
"<qt><br />N<br />o<br /> "
"<br />H<br />T<br />M<br />L<br /> "
"<br />M<br />e<br />s<br />s<br />a<br />g<br />e</qt>");
case MimeTreeParser::Util::MultipartPlain: // normal: "Plain Message"
return i18nc("'Plain Message' with html linebreaks between each letter.",
"<qt><br />P<br />l<br />a<br />i<br />n<br /> "
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment