mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(l18n): make typing notification & groupchat name translatable
This commit is contained in:
parent
1c45ca3116
commit
43e610415a
|
@ -885,7 +885,7 @@ void ChatForm::setFriendTyping(bool isTyping)
|
|||
chatWidget->setTypingNotificationVisible(isTyping);
|
||||
|
||||
Text* text = static_cast<Text*>(chatWidget->getTypingNotification()->getContent(1));
|
||||
text->setText("<div class=typing>" + QString("%1 is typing").arg(f->getDisplayedName().toHtmlEscaped()) + "</div>");
|
||||
text->setText("<div class=typing>" + tr("%1 is typing").arg(f->getDisplayedName().toHtmlEscaped()) + "</div>");
|
||||
}
|
||||
|
||||
void ChatForm::show(ContentLayout* contentLayout)
|
||||
|
|
|
@ -1629,7 +1629,7 @@ Group *Widget::createGroup(int groupId)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
QString groupName = QString("Groupchat #%1").arg(groupId);
|
||||
QString groupName = tr("Groupchat #%1").arg(groupId);
|
||||
CoreAV* coreAv = core->getAv();
|
||||
|
||||
if (!coreAv)
|
||||
|
|
Loading…
Reference in New Issue
Block a user