From 55e445b069173dcafd2cd363580e981a5a09342c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Mon, 30 Oct 2017 14:24:55 +0000 Subject: [PATCH] More user friendly copying direction message in the log. --- src/jobs/job.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jobs/job.cpp b/src/jobs/job.cpp index 26f0318..192deb1 100644 --- a/src/jobs/job.cpp +++ b/src/jobs/job.cpp @@ -52,7 +52,7 @@ bool Job::copyBlocks(Report& report, CopyTarget& target, CopySource& source) copyDirection = -1; } - report.line() << xi18nc("@info:progress", "Copying %1 blocks (%2 bytes) from %3 to %4, direction: %5.", blocksToCopy, source.length(), readOffset, writeOffset, copyDirection); + report.line() << xi18nc("@info:progress", "Copying %1 blocks (%2 bytes) from %3 to %4, direction: %5.", blocksToCopy, source.length(), readOffset, writeOffset, copyDirection == 1 ? i18nc("direction: left", "left") : i18nc("direction: right", "right")); qint64 blocksCopied = 0;