Message texts

This commit is contained in:
Klaus Basan
2020-05-17 22:44:51 +02:00
committed by Mat Sutcliffe
parent 991ba5ede8
commit 3099464668
2 changed files with 2 additions and 2 deletions

View File

@@ -873,7 +873,7 @@ namespace BlackCore
else
{
failover = false;
CLogMessage(this).warning(u"Model for '%1' failed adding, tried %2 times to resolve, giving up") << cs.toQString(true) << (trial + 1);
CLogMessage(this).warning(u"Model for '%1' failed adding, tried %2 time(s) to resolve, giving up") << cs.toQString(true) << (trial + 1);
}
}
}

View File

@@ -1084,7 +1084,7 @@ namespace BlackCore
QString ISimulator::updateAircraftLimitationInfo() const
{
if (!m_limitUpdateAircraft) { return QStringLiteral("not limited"); }
static const QString limInfo("Limited %1 times with %2/secs.");
static const QString limInfo("Limited %1 time(s) with %2/secs.");
return limInfo.arg(m_statsUpdateAircraftLimited).arg(m_limitUpdateAircraftBucket.getTokensPerSecond());
}