diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-13 22:03:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-14 00:45:05 +0300 |
commit | b524feea03eb2594ac17d895026aad5f61fc66e9 (patch) | |
tree | a322b0b92f5716d75a7d73f7a982909d3489f44f /src/gui/windows/mailwindow.cpp | |
parent | 0a49b13232b36121bb19c35053bbca6eccd17ee8 (diff) | |
download | manaverse-b524feea03eb2594ac17d895026aad5f61fc66e9.tar.gz manaverse-b524feea03eb2594ac17d895026aad5f61fc66e9.tar.bz2 manaverse-b524feea03eb2594ac17d895026aad5f61fc66e9.tar.xz manaverse-b524feea03eb2594ac17d895026aad5f61fc66e9.zip |
Add expired field into mailmessage.
Diffstat (limited to 'src/gui/windows/mailwindow.cpp')
-rw-r--r-- | src/gui/windows/mailwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp index cacd9af43..6240792b4 100644 --- a/src/gui/windows/mailwindow.cpp +++ b/src/gui/windows/mailwindow.cpp @@ -194,6 +194,11 @@ std::string MailWindow::getMailHeader(const MailMessage *const message) const if (mUseMail2) { std::string header; + if (message->expired) + { + // TRANSLATORS: expired mail message prefix + header = _("(expired)"); + } if (message->read) header.append(" "); else |