From e74fcb29e4179f0b37c6fc42968a0837ba67f00b Mon Sep 17 00:00:00 2001 From: Simon Depiets Date: Tue, 21 Aug 2018 16:35:39 +0800 Subject: [PATCH] Fix parameters and markers in xi18n call Reviewers: #kde_partition_manager Subscribers: stikonas Tags: #kde_partition_manager Differential Revision: https://phabricator.kde.org/D14968 --- src/util/externalcommandhelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/externalcommandhelper.cpp b/src/util/externalcommandhelper.cpp index 4d07394..c3f7c72 100644 --- a/src/util/externalcommandhelper.cpp +++ b/src/util/externalcommandhelper.cpp @@ -112,7 +112,7 @@ bool ExternalCommandHelper::readData(const QString& sourceDevice, QByteArray& bu } if (!device.seek(offset)) { - qCritical() << xi18n("Could not seek position %1 on device %1.", sourceDevice); + qCritical() << xi18n("Could not seek position %1 on device %2.", offset, sourceDevice); return false; } @@ -141,7 +141,7 @@ bool ExternalCommandHelper::writeData(const QString &targetDevice, const QByteAr } if (!device.seek(offset)) { - qCritical() << xi18n("Could not seek position %1 on device %1.", targetDevice); + qCritical() << xi18n("Could not seek position %1 on device %2.", offset, targetDevice); return false; }