From 3099464668afbd2e7b59b0e64a35264fc6ab4035 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sun, 17 May 2020 22:44:51 +0200 Subject: [PATCH] Message texts --- src/blackcore/context/contextsimulatorimpl.cpp | 2 +- src/blackcore/simulator.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blackcore/context/contextsimulatorimpl.cpp b/src/blackcore/context/contextsimulatorimpl.cpp index 8974ac70e..b710a026d 100644 --- a/src/blackcore/context/contextsimulatorimpl.cpp +++ b/src/blackcore/context/contextsimulatorimpl.cpp @@ -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); } } } diff --git a/src/blackcore/simulator.cpp b/src/blackcore/simulator.cpp index fb925bea0..66853630f 100644 --- a/src/blackcore/simulator.cpp +++ b/src/blackcore/simulator.cpp @@ -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()); }