From 122ace9815ddf3652287d205809ba9defcc6b63d Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 26 Oct 2018 19:26:57 +0900 Subject: Use tr() for plurals --- lib/room.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/room.cpp b/lib/room.cpp index 7c45bf89..f8ed2721 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -1963,9 +1963,8 @@ QString Room::Private::roomNameFromMemberNames(const QList &userlist) co // iii. More users. if (userlist.size() > 3) - return tr("%1 and %L2 others") - .arg(q->roomMembername(first_two[0])) - .arg(userlist.size() - 3); + return tr("%1 and %Ln other(s)", "", userlist.size() - 3) + .arg(q->roomMembername(first_two[0])); // userlist.size() < 2 - apparently, there's only current user in the room return QString(); -- cgit v1.2.3