diff options
author | Kali Kaneko <kali@leap.se> | 2014-02-25 22:01:55 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-02-25 22:01:55 -0400 |
commit | 2abe8f333f9b920b79d30903697f0ecd616d8c71 (patch) | |
tree | d1a054062280c309df6857e81ec56ec66ab65731 /src/leap/bitmask | |
parent | 3e5e020e1e23f83cffa0a3579f0755401f18a9e7 (diff) |
fix phrasing of unread mail notification
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/gui/mail_status.py | 9 |
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: |