mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'pr560'
This commit is contained in:
commit
3ec3a01abc
|
@ -20,7 +20,7 @@
|
|||
ChatTextEdit::ChatTextEdit(QWidget *parent) :
|
||||
QTextEdit(parent)
|
||||
{
|
||||
setPlaceholderText("Type your message here...");
|
||||
setPlaceholderText(tr("Type your message here..."));
|
||||
setAcceptRichText(false);
|
||||
}
|
||||
|
||||
|
|
|
@ -1016,7 +1016,7 @@ void Widget::onMessageSendResult(int friendId, const QString& message, int messa
|
|||
return;
|
||||
|
||||
if (!messageId)
|
||||
f->chatForm->addSystemInfoMessage("Message failed to send", "red", QDateTime::currentDateTime());
|
||||
f->chatForm->addSystemInfoMessage(tr("Message failed to send"), "red", QDateTime::currentDateTime());
|
||||
}
|
||||
|
||||
void Widget::onGroupSendResult(int groupId, const QString& message, int result)
|
||||
|
@ -1027,7 +1027,7 @@ void Widget::onGroupSendResult(int groupId, const QString& message, int result)
|
|||
return;
|
||||
|
||||
if (result == -1)
|
||||
g->chatForm->addSystemInfoMessage("Message failed to send", "red", QDateTime::currentDateTime());
|
||||
g->chatForm->addSystemInfoMessage(tr("Message failed to send"), "red", QDateTime::currentDateTime());
|
||||
}
|
||||
|
||||
void Widget::getPassword(QString info, int passtype, uint8_t* salt)
|
||||
|
|
Loading…
Reference in New Issue
Block a user