forked from qt-creator/qt-creator
Docker: Move to Tr::tr
There were no strings in the .ts files yet. Change-Id: I86e7edace45db796fc3cc80d2735d1a80b897c85 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#include "dockerapi.h"
|
||||
|
||||
#include "dockertr.h"
|
||||
|
||||
#include <coreplugin/progressmanager/progressmanager.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/qtcprocess.h>
|
||||
@@ -36,11 +38,10 @@
|
||||
|
||||
Q_LOGGING_CATEGORY(dockerApiLog, "qtc.docker.api", QtDebugMsg);
|
||||
|
||||
namespace Docker {
|
||||
namespace Internal {
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace Docker::Internal {
|
||||
|
||||
DockerApi *s_instance{nullptr};
|
||||
|
||||
DockerApi::DockerApi(DockerSettings *settings)
|
||||
@@ -91,7 +92,7 @@ void DockerApi::checkCanConnect(bool async)
|
||||
emit dockerDaemonAvailableChanged();
|
||||
});
|
||||
|
||||
Core::ProgressManager::addTask(future, tr("Checking docker daemon"), "DockerPlugin");
|
||||
Core::ProgressManager::addTask(future, Tr::tr("Checking docker daemon"), "DockerPlugin");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -127,5 +128,4 @@ FilePath DockerApi::dockerClient()
|
||||
return FilePath::fromString(m_settings->dockerBinaryPath.value());
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Docker
|
||||
} // Docker::Internal
|
||||
|
||||
Reference in New Issue
Block a user