1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #3179

Diadlo (1):
      fix(l18n): make typing notification & groupchat name translatable
This commit is contained in:
sudden6 2016-04-23 12:29:52 +02:00
commit 6dd1cd0320
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)