mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #4595
Karl (1): fix(i18n): string `Call with %1 ended. %2` is no longer translatable
This commit is contained in:
commit
e0b53c3f17
|
@ -898,10 +898,10 @@ void ChatForm::stopCounter(bool error)
|
|||
}
|
||||
QString dhms = secondsToDHMS(timeElapsed.elapsed() / 1000);
|
||||
QString name = f->getDisplayedName();
|
||||
QString mess = error ? "Call with %1 ended unexpectedly. %2" : "Call with %1 ended. %2";
|
||||
QString mess = error ? tr("Call with %1 ended unexpectedly. %2") : tr("Call with %1 ended. %2");
|
||||
// TODO: add notification once notifications are implemented
|
||||
|
||||
addSystemInfoMessage(tr(mess.toStdString().c_str()).arg(name, dhms), ChatMessage::INFO,
|
||||
addSystemInfoMessage(mess.arg(name, dhms), ChatMessage::INFO,
|
||||
QDateTime::currentDateTime());
|
||||
callDurationTimer->stop();
|
||||
callDuration->setText("");
|
||||
|
|
Loading…
Reference in New Issue
Block a user