From 5d17ff7a6781a264f64ec86e407aa303d506f51d Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 14 Jul 2021 14:13:52 +0200 Subject: [PATCH] Docker: Make temporary messages shorter Kinder to the translators. Change-Id: If9c7eb265b2f86fec274e9db7b0d76424cd703cc Reviewed-by: Christian Stenger --- src/plugins/docker/dockerdevice.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/plugins/docker/dockerdevice.cpp b/src/plugins/docker/dockerdevice.cpp index 7ac6646333c..4f366fbe3fb 100644 --- a/src/plugins/docker/dockerdevice.cpp +++ b/src/plugins/docker/dockerdevice.cpp @@ -715,12 +715,13 @@ void DockerDevicePrivate::tryCreateLocalFileAccess() .arg(m_container, m_mergedDir) + '\n' + tr("Output: '%1'").arg(out) + '\n' + tr("Error: '%1'").arg(proc.stdErr())); - if (HostOsInfo::isWindowsHost()) { // TODO investigate how to make it possible nevertheless + if (HostOsInfo::isWindowsHost()) { + // Disabling merged layer access. This is not supported and anything + // related to accessing merged layers on Windows fails due to the need + // of using wsl or a named pipe. + // TODO investigate how to make it possible nevertheless. m_mergedDir.clear(); - MessageManager::writeSilently( - tr("Disabling merged channel access. This is not supported and anything " - "related to accessing merged channels on Windows fails due to the need " - "of using wsl or a named pipe.")); + MessageManager::writeSilently(tr("This is expected on Windows.")); return; } }