[kde-doc-english] [trojita] src/Imap/Model: GUI: make it "(recent/unread)" instead of "(recent + unread)"
Jan Kundrát
jkt at flaska.net
Sun Mar 10 16:41:56 UTC 2013
Git commit 5df277f43b05a1aba1d13e57f85f55623b5609f2 by Jan Kundrát.
Committed on 10/03/2013 at 17:40.
Pushed by jkt into branch 'master'.
GUI: make it "(recent/unread)" instead of "(recent + unread)"
This definitely looks better than the old version. Sugegsted by Juliusz
Chroboczek -- thanks!
M +1 -1 src/Imap/Model/PrettyMailboxModel.cpp
http://commits.kde.org/trojita/5df277f43b05a1aba1d13e57f85f55623b5609f2
diff --git a/src/Imap/Model/PrettyMailboxModel.cpp b/src/Imap/Model/PrettyMailboxModel.cpp
index a688c45..0ae13d2 100644
--- a/src/Imap/Model/PrettyMailboxModel.cpp
+++ b/src/Imap/Model/PrettyMailboxModel.cpp
@@ -79,7 +79,7 @@ QVariant PrettyMailboxModel::data(const QModelIndex &index, int role) const
// We also deliberately put an emphasis on the "unread count", even to an extent where there's no special information
// for mailboxes with some recent, but no unread messages.
if (recentCount && unreadCount) {
- return tr("%1 (%2 + %3)")
+ return tr("%1 (%2/%3)")
.arg(QSortFilterProxyModel::data(index, RoleShortMailboxName).toString(),
QString::number(recentCount), QString::number(unreadCount));
} else if (unreadCount) {
More information about the kde-doc-english
mailing list