Fix parameters and markers in xi18n call

Reviewers: #kde_partition_manager

Subscribers: stikonas

Tags: #kde_partition_manager

Differential Revision: https://phabricator.kde.org/D14968
This commit is contained in:
Simon Depiets 2018-08-21 16:35:39 +08:00
parent cbaf62427f
commit e74fcb29e4
1 changed files with 2 additions and 2 deletions

View File

@ -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 <filename>%1</filename>.", sourceDevice);
qCritical() << xi18n("Could not seek position %1 on device <filename>%2</filename>.", 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 <filename>%1</filename>.", targetDevice);
qCritical() << xi18n("Could not seek position %1 on device <filename>%2</filename>.", offset, targetDevice);
return false;
}