mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
add localized strings
This commit is contained in:
parent
8ff3d1d960
commit
6047ffe9e7
|
@ -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