More user friendly copying direction message in the log.

This commit is contained in:
Andrius Štikonas 2017-10-30 14:24:55 +00:00
parent 72dfbe480a
commit 55e445b069
1 changed files with 1 additions and 1 deletions

View File

@ -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;