summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-02-25 22:01:55 -0400
committerKali Kaneko <kali@leap.se>2014-02-25 22:01:55 -0400
commit2abe8f333f9b920b79d30903697f0ecd616d8c71 (patch)
treed1a054062280c309df6857e81ec56ec66ab65731 /src
parent3e5e020e1e23f83cffa0a3579f0755401f18a9e7 (diff)
fix phrasing of unread mail notification
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/gui/mail_status.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/leap/bitmask/gui/mail_status.py b/src/leap/bitmask/gui/mail_status.py
index 6db17427..1d5ff319 100644
--- a/src/leap/bitmask/gui/mail_status.py
+++ b/src/leap/bitmask/gui/mail_status.py
@@ -362,12 +362,17 @@ class MailStatusWidget(QtGui.QWidget):
ext_status = None
if req.event == proto.IMAP_UNREAD_MAIL:
+ # By now, the semantics of the UNREAD_MAIL event are
+ # limited to mails with the Unread flag *in the Inbox".
+ # We could make this configurable to include all unread mail
+ # or all unread mail in subscribed folders.
if self._started:
count = req.content
if count != "0":
- status = self.tr("{0} Unread Emails").format(count)
+ status = self.tr("{0} Unread Emails "
+ "in your Inbox").format(count)
if count == "1":
- status = self.tr("1 Unread Email")
+ status = self.tr("1 Unread Email in your Inbox")
self._set_mail_status(status, ready=2)
else: