mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
More consistent translation strings in groupchatform.cpp
It should not be able to be translated differently as one update when the number of user in the group chat change and the other is when language change, so it should be translated together.
This commit is contained in:
parent
f8352d63ff
commit
6c526fe5fe
|
@ -164,7 +164,7 @@ void GroupChatForm::onSendTriggered()
|
|||
|
||||
void GroupChatForm::onUserListChanged()
|
||||
{
|
||||
nusersLabel->setText(tr("%1 users in chat").arg(group->getPeersCount()));
|
||||
nusersLabel->setText(tr("%1 users in chat", "Number of users in chat").arg(group->getPeersCount()));
|
||||
|
||||
QLayoutItem *child;
|
||||
while ((child = namesListLayout->takeAt(0)))
|
||||
|
@ -367,5 +367,5 @@ void GroupChatForm::keyReleaseEvent(QKeyEvent* ev)
|
|||
|
||||
void GroupChatForm::retranslateUi()
|
||||
{
|
||||
nusersLabel->setText(GroupChatForm::tr("%1 users in chat","Number of users in chat").arg(group->getPeersCount()));
|
||||
nusersLabel->setText(GroupChatForm::tr("%1 users in chat", "Number of users in chat").arg(group->getPeersCount()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user