From 66e2638cb6b12710e2a64d71990cb78950af6ad6 Mon Sep 17 00:00:00 2001 From: Bryant Mairs Date: Thu, 22 May 2014 14:43:07 -0700 Subject: [PATCH] Moved some more user-facing UI strings into translation calls. --- src/uas/UASWaypointManager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uas/UASWaypointManager.cc b/src/uas/UASWaypointManager.cc index bf44e0630..4dcadb7b4 100644 --- a/src/uas/UASWaypointManager.cc +++ b/src/uas/UASWaypointManager.cc @@ -294,7 +294,7 @@ void UASWaypointManager::handleWaypointReached(quint8 systemId, quint8 compId, m Q_UNUSED(compId); if (!uas) return; if (systemId == uasid) { - emit updateStatusString(QString("Reached waypoint %1").arg(wpr->seq)); + emit updateStatusString(tr("Reached waypoint %1").arg(wpr->seq)); } } @@ -319,7 +319,7 @@ void UASWaypointManager::handleWaypointCurrent(quint8 systemId, quint8 compId, m } } } - emit updateStatusString(QString("New current waypoint %1").arg(wpc->seq)); + emit updateStatusString(tr("New current waypoint %1").arg(wpc->seq)); //emit update to UI widgets emit currentWaypointChanged(wpc->seq); } -- 2.22.0