From b4dcfd650a4618d14f5f693b5dc585df1451ca23 Mon Sep 17 00:00:00 2001 From: louib Date: Tue, 1 Aug 2017 17:04:47 -0400 Subject: [PATCH] Normalizing translated messages in Extract. --- src/cli/Extract.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/Extract.cpp b/src/cli/Extract.cpp index 0e5b10a2..2d519f9a 100644 --- a/src/cli/Extract.cpp +++ b/src/cli/Extract.cpp @@ -62,7 +62,7 @@ int Extract::execute(QStringList arguments) return EXIT_FAILURE; } - out << "Insert the database password\n> "; + out << QObject::tr("Insert password to unlock %1: ").arg(args.at(0)); out.flush(); CompositeKey compositeKey; @@ -77,7 +77,7 @@ int Extract::execute(QStringList arguments) FileKey fileKey; QString errorMsg; if (!fileKey.load(keyFilePath, &errorMsg)) { - errorTextStream << QObject::tr("Failed to load key file %s: %s").arg(keyFilePath).arg(errorMsg); + errorTextStream << QObject::tr("Failed to load key file %1 : %2").arg(keyFilePath).arg(errorMsg); errorTextStream << endl; return EXIT_FAILURE; }