diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-06-24 10:15:16 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-06-24 09:22:42 +0000 |
commit | 1e589e37a991b29076e9a661f92dfa178421c208 (patch) | |
tree | ccdae70edb75b1bc17f0efc61086e16554e3f4eb | |
parent | 65a5d4d33c7dcb27ce99ce59535733a28991c544 (diff) |
Unify translated error messages
* Enclose file paths in ""
* Localize file paths with QDir::toNativeSeparators.
* Make sure sentences end with a '.'
* Append error details always by ':', e.g.
tr("Failed to copy file '%1': %2").(...)
* Use 'directory' instead of 'folder' everywhere
Change-Id: Ie045f429f72ad5045c96537465c5fb9d2e99d250
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
77 files changed, 1487 insertions, 1402 deletions
diff --git a/src/libs/installer/adminauthorization_win.cpp b/src/libs/installer/adminauthorization_win.cpp index 56d912ae7..3f2155d35 100644 --- a/src/libs/installer/adminauthorization_win.cpp +++ b/src/libs/installer/adminauthorization_win.cpp @@ -112,14 +112,14 @@ bool AdminAuthorization::execute(QWidget *, const QString &program, const QStrin shellExecuteInfo.lpParameters = (wchar_t *)args.utf16(); shellExecuteInfo.fMask = SEE_MASK_NOASYNC; - qDebug() << QString::fromLatin1("Starting elevated process %1 with arguments: %2.").arg(file, args); + qDebug() << QString::fromLatin1("Starting elevated process \"%1\" with arguments \"%2\".").arg(file, args); if (ShellExecuteExW(&shellExecuteInfo)) { qDebug() << "Finished starting elevated process."; return true; } else { - qWarning() << QString::fromLatin1("Error while starting elevated process: %1, " - "Error: %2").arg(program, QInstaller::windowsErrorString(GetLastError())); + qWarning() << QString::fromLatin1("Error while starting elevated process %1: %2").arg( + program, QInstaller::windowsErrorString(GetLastError())); } return false; } diff --git a/src/libs/installer/binarycontent.cpp b/src/libs/installer/binarycontent.cpp index 0aa3de84b..dc8753e43 100644 --- a/src/libs/installer/binarycontent.cpp +++ b/src/libs/installer/binarycontent.cpp @@ -119,7 +119,7 @@ BinaryLayout BinaryContent::binaryLayout(QFile *file, quint64 magicCookie) const qint64 posOfMetaDataCount = layout.endOfBinaryContent - (4 * sizeof(qint64)); if (!file->seek(posOfMetaDataCount)) { throw QInstaller::Error(QCoreApplication::translate("BinaryLayout", - "Could not seek to %1 to read the embedded meta data count.").arg(posOfMetaDataCount)); + "Cannot seek to %1 to read the embedded meta data count.").arg(posOfMetaDataCount)); } // read the meta resources count @@ -130,7 +130,7 @@ BinaryLayout BinaryContent::binaryLayout(QFile *file, quint64 magicCookie) + (8 * sizeof(qint64))); // meta count, offset/length collection index, marker, cookie... if (!file->seek(posOfResourceCollectionsSegment)) { throw Error(QCoreApplication::translate("BinaryLayout", - "Could not seek to %1 to read the resource collection segment.") + "Cannot seek to %1 to read the resource collection segment.") .arg(posOfResourceCollectionsSegment)); } @@ -205,7 +205,7 @@ void BinaryContent::readBinaryContent(QFile *file, QList<OperationBlob> *operati const qint64 posOfOperationsBlock = layout.operationsSegment.start(); if (!file->seek(posOfOperationsBlock)) { throw Error(QCoreApplication::translate("BinaryContent", - "Could not seek to %1 to read the operation data.").arg(posOfOperationsBlock)); + "Cannot seek to %1 to read the operation data.").arg(posOfOperationsBlock)); } // read the operations count qint64 operationsCount = QInstaller::retrieveInt64(file); @@ -222,7 +222,7 @@ void BinaryContent::readBinaryContent(QFile *file, QList<OperationBlob> *operati if (manager) { // read the collection index and data const qint64 posOfResourceCollectionBlock = layout.resourceCollectionsSegment.start(); if (!file->seek(posOfResourceCollectionBlock)) { - throw Error(QCoreApplication::translate("BinaryContent", "Could not seek to %1 to " + throw Error(QCoreApplication::translate("BinaryContent", "Cannot seek to %1 to " "read the resource collection block.").arg(posOfResourceCollectionBlock)); } manager->read(file, layout.endOfExectuable); @@ -261,7 +261,7 @@ void BinaryContent::writeBinaryContent(QFile *out, const QList<OperationBlob> &o const bool isOpen = resource->isOpen(); if ((!isOpen) && (!resource->open())) { throw Error(QCoreApplication::translate("BinaryContent", - "Could not open meta resource. Error: %1").arg(resource->errorString())); + "Cannot open meta resource %1.").arg(resource->errorString())); } resource->seek(0); diff --git a/src/libs/installer/binaryformat.cpp b/src/libs/installer/binaryformat.cpp index 425767954..998f937ea 100644 --- a/src/libs/installer/binaryformat.cpp +++ b/src/libs/installer/binaryformat.cpp @@ -170,7 +170,7 @@ bool Resource::open() } if (!QIODevice::open(QIODevice::ReadOnly)) { - setErrorString(tr("Could not open Resource '%1' read-only.").arg(QString::fromUtf8(m_name))); + setErrorString(tr("Cannot open resource %1 for reading.").arg(QString::fromUtf8(m_name))); return false; } return true; @@ -398,7 +398,7 @@ Range<qint64> ResourceCollectionManager::write(QFileDevice *out, qint64 offset) foreach (const QSharedPointer<Resource> &resource, collection.resources()) { if (!resource->open()) { - throw QInstaller::Error(tr("Could not open resource %1: %2") + throw QInstaller::Error(tr("Cannot open resource %1: %2") .arg(QString::fromUtf8(resource->name()), resource->errorString())); } resource->copyData(out); diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp index 02a8b2c5f..9b8c2a430 100644 --- a/src/libs/installer/component.cpp +++ b/src/libs/installer/component.cpp @@ -565,8 +565,8 @@ void Component::loadUserInterfaces(const QDir &directory, const QStringList &uis while (it.hasNext()) { QFile file(it.next()); if (!file.open(QIODevice::ReadOnly)) { - throw Error(tr("Could not open the requested UI file '%1'. Error: %2").arg(it.fileName(), - file.errorString())); + throw Error(tr("Cannot open the requested UI file \"%1\": %2").arg( + it.fileName(), file.errorString())); } static QUiLoader loader; @@ -574,8 +574,8 @@ void Component::loadUserInterfaces(const QDir &directory, const QStringList &uis loader.setLanguageChangeEnabled(true); QWidget *const widget = loader.load(&file, 0); if (!widget) { - throw Error(tr("Could not load the requested UI file '%1'. Error: %2").arg(it.fileName(), - loader.errorString())); + throw Error(tr("Cannot load the requested UI file \"%1\": %2").arg( + it.fileName(), loader.errorString())); } d->scriptEngine()->newQObject(widget); d->m_userInterfaces.insert(widget->objectName(), widget); @@ -609,8 +609,8 @@ void Component::loadLicenses(const QString &directory, const QHash<QString, QVar << ". Using untranslated fallback."; file.setFileName(directory + fileName); if (!file.open(QIODevice::ReadOnly)) { - throw Error(tr("Could not open the requested license file '%1'. Error: %2").arg(fileName, - file.errorString())); + throw Error(tr("Cannot open the requested license file \"%1\": %2").arg( + fileName, file.errorString())); } } QTextStream stream(&file); @@ -974,7 +974,7 @@ Operation *Component::createOperation(const QString &operationName, const QStrin if (operation == 0) { const QMessageBox::StandardButton button = MessageBoxHandler::critical(MessageBoxHandler::currentBestSuitParent(), - QLatin1String("OperationDoesNotExistError"), tr("Error"), tr("Error: Operation %1 does not exist") + QLatin1String("OperationDoesNotExistError"), tr("Error"), tr("Error: Operation %1 does not exist.") .arg(operationName), QMessageBox::Abort | QMessageBox::Ignore); if (button == QMessageBox::Abort) d->m_operationsCreatedSuccessfully = false; diff --git a/src/libs/installer/consumeoutputoperation.cpp b/src/libs/installer/consumeoutputoperation.cpp index bf9e6c143..f665a4c44 100644 --- a/src/libs/installer/consumeoutputoperation.cpp +++ b/src/libs/installer/consumeoutputoperation.cpp @@ -74,8 +74,8 @@ bool ConsumeOutputOperation::performOperation() const QString installerKeyName = arguments().at(0); if (installerKeyName.isEmpty()) { setError(UserDefinedError); - setErrorString(tr("Can not save the output of %1 to an empty installer key value.").arg( - arguments().at(1))); + setErrorString(tr("Cannot save the output of \"%1\" to an empty installer key value.").arg( + QDir::toNativeSeparators(arguments().at(1)))); return false; } @@ -88,7 +88,7 @@ bool ConsumeOutputOperation::performOperation() if (!executable.exists() || !executable.isExecutable()) { setError(UserDefinedError); - setErrorString(tr("File '%1' does not exist or is not an executable binary.").arg( + setErrorString(tr("File \"%1\" does not exist or is not an executable binary.").arg( QDir::toNativeSeparators(executable.absoluteFilePath()))); return false; } @@ -109,7 +109,7 @@ bool ConsumeOutputOperation::performOperation() << "standard output: " << process.readAllStandardOutput() << "error output: " << process.readAllStandardError(); setError(UserDefinedError); - setErrorString(tr("Running '%1' resulted in a crash.").arg( + setErrorString(tr("Running \"%1\" resulted in a crash.").arg( QDir::toNativeSeparators(executable.absoluteFilePath()))); return false; } @@ -127,7 +127,7 @@ bool ConsumeOutputOperation::performOperation() } if (executableOutput.isEmpty()) { - qWarning() << QString::fromLatin1("Cannot get any query output from executable: '%1'").arg( + qWarning() << QString::fromLatin1("Cannot get any query output from executable \"%1\".").arg( executable.absoluteFilePath()); } core->setValue(installerKeyName, QString::fromLocal8Bit(executableOutput)); diff --git a/src/libs/installer/copydirectoryoperation.cpp b/src/libs/installer/copydirectoryoperation.cpp index 06c952993..a25e00930 100644 --- a/src/libs/installer/copydirectoryoperation.cpp +++ b/src/libs/installer/copydirectoryoperation.cpp @@ -78,18 +78,21 @@ bool CopyDirectoryOperation::performOperation() } else { setError(InvalidArguments); setErrorString(tr("Invalid argument in %1: Third argument needs to be forceOverwrite, " - "if specified").arg(name())); + "if specified.").arg(name())); return false; } } const QFileInfo sourceInfo(sourcePath); const QFileInfo targetInfo(targetPath); - if (!sourceInfo.exists() || !sourceInfo.isDir() || !targetInfo.exists() || !targetInfo.isDir()) { - setError(InvalidArguments); - setErrorString(tr("Invalid arguments in %1: Directories are invalid: %2 %3").arg(name()) - .arg(sourcePath).arg(targetPath)); - return false; + + foreach (const QFileInfo &dir, QList<QFileInfo>() << sourceInfo << targetInfo) { + if (!dir.exists() || !dir.isDir()) { + setError(InvalidArguments); + setErrorString(tr("Invalid argument in %1: Directory \"%2\" is invalid.").arg(name()) + .arg(QDir::toNativeSeparators(sourcePath))); + return false; + } } const QDir sourceDir = sourceInfo.absoluteDir(); @@ -120,22 +123,24 @@ bool CopyDirectoryOperation::performOperation() } else if (itemInfo.isDir()) { if (!targetDir.mkpath(targetDir.absoluteFilePath(relativePath))) { setError(InvalidArguments); - setErrorString(tr("Could not create %1").arg(targetDir.absoluteFilePath(relativePath))); + setErrorString(tr("Cannot create directory \"%1\".").arg( + QDir::toNativeSeparators(targetDir.absoluteFilePath(relativePath)))); return false; } } else { const QString absolutePath = targetDir.absoluteFilePath(relativePath); if (overwrite && QFile::exists(absolutePath) && !deleteFileNowOrLater(absolutePath)) { setError(UserDefinedError); - setErrorString(tr("Failed to overwrite %1").arg(absolutePath)); + setErrorString(tr("Failed to overwrite \"%1\".").arg(QDir::toNativeSeparators(absolutePath))); return false; } QFile file(sourceDir.absoluteFilePath(itemName)); if (!file.copy(absolutePath)) { setError(UserDefinedError); - setErrorString(tr("Could not copy %1 to %2, error was: %3").arg(sourceDir.absoluteFilePath(itemName), - targetDir.absoluteFilePath(relativePath), - file.errorString())); + setErrorString(tr("Cannot copy file \"%1\" to \"%2\": %3").arg( + QDir::toNativeSeparators(sourceDir.absoluteFilePath(itemName)), + QDir::toNativeSeparators(targetDir.absoluteFilePath(relativePath)), + file.errorString())); return false; } autoPush.m_files.prepend(targetDir.absoluteFilePath(relativePath)); @@ -154,7 +159,7 @@ bool CopyDirectoryOperation::undoOperation() foreach (const QString &file, files) { if (!QFile::remove(file)) { setError(InvalidArguments); - setErrorString(tr("Could not remove %1").arg(file)); + setErrorString(tr("Cannot remove file \"%1\".").arg(QDir::toNativeSeparators(file))); return false; } dir.rmpath(QFileInfo(file).absolutePath()); diff --git a/src/libs/installer/copyfiletask.cpp b/src/libs/installer/copyfiletask.cpp index 0ec9c6d27..58d232939 100644 --- a/src/libs/installer/copyfiletask.cpp +++ b/src/libs/installer/copyfiletask.cpp @@ -34,6 +34,7 @@ #include "copyfiletask.h" #include "observer.h" +#include <QDir> #include <QFileInfo> #include <QTemporaryFile> @@ -69,8 +70,8 @@ void CopyFileTask::doTask(QFutureInterface<FileTaskResult> &fi) QFile source(item.source()); if (!source.open(QIODevice::ReadOnly)) { - fi.reportException(TaskException(tr("Could not open source '%1' for read. Error: %2.") - .arg(source.fileName(), source.errorString()))); + fi.reportException(TaskException(tr("Cannot open file \"%1\" for reading: %2") + .arg(QDir::toNativeSeparators(source.fileName()), source.errorString()))); fi.reportFinished(); return; // error } observer.setBytesToTransfer(source.size()); @@ -85,8 +86,8 @@ void CopyFileTask::doTask(QFutureInterface<FileTaskResult> &fi) file.reset(new QFile(target)); } if (!file->open(QIODevice::WriteOnly | QIODevice::Truncate)) { - fi.reportException(TaskException(tr("Could not open target '%1' for write. Error: %2.") - .arg(file->fileName(), file->errorString()))); + fi.reportException(TaskException(tr("Cannot open file \"%1\" for writing: %2") + .arg(QDir::toNativeSeparators(file->fileName()), file->errorString()))); fi.reportFinished(); return; // error } @@ -102,8 +103,8 @@ void CopyFileTask::doTask(QFutureInterface<FileTaskResult> &fi) while (written < read) { const qint64 toWrite = file->write(buffer.constData() + written, read - written); if (toWrite < 0) { - fi.reportException(TaskException(tr("Writing to target '%1' failed. Error: %2.") - .arg(file->fileName(), file->errorString()))); + fi.reportException(TaskException(tr("Writing to file \"%1\" failed: %2") + .arg(QDir::toNativeSeparators(file->fileName()), file->errorString()))); } written += toWrite; } diff --git a/src/libs/installer/createdesktopentryoperation.cpp b/src/libs/installer/createdesktopentryoperation.cpp index 8d71c2c07..ec98e7fc8 100644 --- a/src/libs/installer/createdesktopentryoperation.cpp +++ b/src/libs/installer/createdesktopentryoperation.cpp @@ -122,7 +122,7 @@ void CreateDesktopEntryOperation::backup() } if (!file.copy(value(QLatin1String("backupOfExistingDesktopEntry")).toString())) - setErrorString(tr("Could not backup file %1: %2").arg(filename, file.errorString())); + setErrorString(tr("Cannot backup file \"%1\": %2").arg(QDir::toNativeSeparators(filename), file.errorString())); } bool CreateDesktopEntryOperation::performOperation() @@ -136,13 +136,13 @@ bool CreateDesktopEntryOperation::performOperation() QFile file(filename); if (file.exists() && !file.remove()) { setError(UserDefinedError); - setErrorString(tr("Failed to overwrite %1").arg(filename)); + setErrorString(tr("Failed to overwrite file \"%1\".").arg(QDir::toNativeSeparators(filename))); return false; } if(!file.open(QIODevice::WriteOnly)) { setError(UserDefinedError); - setErrorString(tr("Could not write Desktop Entry at %1").arg(filename)); + setErrorString(tr("Cannot write desktop entry to \"%1\".").arg(QDir::toNativeSeparators(filename))); return false; } @@ -168,7 +168,7 @@ bool CreateDesktopEntryOperation::undoOperation() // first remove the link QFile file(filename); if (file.exists() && !file.remove()) { - qWarning() << "Could not delete file" << filename << file.errorString(); + qWarning() << "Cannot delete file" << filename << ":" << file.errorString(); return true; } @@ -178,13 +178,13 @@ bool CreateDesktopEntryOperation::undoOperation() QFile backupFile(value(QLatin1String("backupOfExistingDesktopEntry")).toString()); if (!backupFile.exists()) { // do not treat this as a real error: The backup file might have been just nuked by the user. - qWarning() << "Could not restore original desktop entry at" << filename + qWarning() << "Cannot restore original desktop entry at" << filename << ": Backup file" << backupFile.fileName() << "does not exist anymore."; return true; } if (!backupFile.rename(filename)) - qWarning() << "Could not restore the file" << filename << ":" << backupFile.errorString(); + qWarning() << "Cannot restore the file" << filename << ":" << backupFile.errorString(); return true; } diff --git a/src/libs/installer/createlinkoperation.cpp b/src/libs/installer/createlinkoperation.cpp index fc0950870..aa98c54a5 100644 --- a/src/libs/installer/createlinkoperation.cpp +++ b/src/libs/installer/createlinkoperation.cpp @@ -35,6 +35,7 @@ #include "link.h" +#include <QDir> #include <QFileInfo> using namespace QInstaller; @@ -60,7 +61,8 @@ bool CreateLinkOperation::performOperation() if (!link.exists()) { setError(UserDefinedError); - setErrorString(tr("Could not create link from %1 to %2.").arg(linkPath, targetPath)); + setErrorString(tr("Cannot create link from \"%1\" to \"%2\".").arg( + QDir::toNativeSeparators(linkPath), QDir::toNativeSeparators(targetPath))); return false; } @@ -80,7 +82,8 @@ bool CreateLinkOperation::undoOperation() } if (!link.remove()) { setError(UserDefinedError); - setErrorString(tr("Could not remove link from %1 to %2.").arg(linkPath, targetPath)); + setErrorString(tr("Cannot remove link from \"%1\" to \"%2\".").arg( + QDir::toNativeSeparators(linkPath), QDir::toNativeSeparators(targetPath))); return false; } diff --git a/src/libs/installer/createlocalrepositoryoperation.cpp b/src/libs/installer/createlocalrepositoryoperation.cpp index 51e209df7..a58570917 100644 --- a/src/libs/installer/createlocalrepositoryoperation.cpp +++ b/src/libs/installer/createlocalrepositoryoperation.cpp @@ -89,8 +89,8 @@ static void fixPermissions(const QString &repoPath) if (!QFile::setPermissions(it.filePath(), QFile::ReadOwner | QFile::WriteOwner | QFile::ReadUser | QFile::WriteUser | QFile::ReadGroup | QFile::ReadOther)) { - throw Error(CreateLocalRepositoryOperation::tr("Could not set file permissions %1!") - .arg(it.filePath())); + throw Error(CreateLocalRepositoryOperation::tr("Cannot set permissions for file \"%1\".") + .arg(QDir::toNativeSeparators(it.filePath()))); } } } @@ -110,8 +110,8 @@ static void removeFiles(const QString &path, AutoHelper *const helper) if (fi.isSymLink() || fi.isFile()) { QFile f(fi.filePath()); if (!f.remove()) { - throw Error(CreateLocalRepositoryOperation::tr("Could not remove file %1: %2") - .arg(f.fileName(), f.errorString())); + throw Error(CreateLocalRepositoryOperation::tr("Cannot remove file \"%1\": %2") + .arg(QDir::toNativeSeparators(f.fileName()), f.errorString())); } helper->m_files.removeAll(f.fileName()); } @@ -128,8 +128,9 @@ static QString createArchive(const QString repoPath, const QString &sourceDir, c Lib7z::createArchive(&archive, QStringList() << sourceDir); removeFiles(sourceDir, helper); // cleanup the files we compressed if (!archive.rename(sourceDir + fileName)) { - throw Error(CreateLocalRepositoryOperation::tr("Could not move file %1 to %2. Error: %3") - .arg(archive.fileName(), sourceDir + fileName, archive.errorString())); + throw Error(CreateLocalRepositoryOperation::tr("Cannot move file \"%1\" to \"%2\": %3") + .arg(QDir::toNativeSeparators(archive.fileName()), + QDir::toNativeSeparators(sourceDir + fileName), archive.errorString())); } return archive.fileName(); } @@ -166,7 +167,7 @@ bool CreateLocalRepositoryOperation::performOperation() // check if this is an offline version, otherwise there will be no binary data PackageManagerCore *const core = value(QLatin1String("installer")).value<PackageManagerCore*>(); if (core && !core->isOfflineOnly()) { - throw QInstaller::Error(tr("Installer needs to be an offline version: %1.") + throw QInstaller::Error(tr("Installer at \"%1\" needs to be an offline one.") .arg(QDir::toNativeSeparators(binaryPath))); } @@ -210,13 +211,15 @@ bool CreateLocalRepositoryOperation::performOperation() // open the updates xml file we previously copied QFile updatesXml(repoPath + QLatin1String("Updates.xml")); if (!updatesXml.exists() || !updatesXml.open(QIODevice::ReadOnly)) - throw QInstaller::Error(tr("Could not open file: %1").arg(updatesXml.fileName())); + throw QInstaller::Error(tr("Cannot open file \"%1\" for reading.").arg( + QDir::toNativeSeparators(updatesXml.fileName()))); // read the content of the updates xml QString error; QDomDocument doc; if (!doc.setContent(&updatesXml, &error)) - throw QInstaller::Error(tr("Could not read: %1. Error: %2").arg(updatesXml.fileName(), error)); + throw QInstaller::Error(tr("Cannot read file \"%1\": %2").arg( + QDir::toNativeSeparators(updatesXml.fileName()), error)); // build for each available package a name - version mapping QHash<QString, QString> nameVersionHash; @@ -246,8 +249,9 @@ bool CreateLocalRepositoryOperation::performOperation() QFile file(binaryPath); if (!file.open(QIODevice::ReadOnly)) { - throw QInstaller::Error(tr("Could not open file: %1. Error: %2").arg(file.fileName(), - file.errorString())); + throw QInstaller::Error(tr("Cannot open file \"%1\" for reading: %2").arg( + QDir::toNativeSeparators(file.fileName()), + file.errorString())); } // start to read the binary layout @@ -264,8 +268,8 @@ bool CreateLocalRepositoryOperation::performOperation() for (int i = 0; i < names.count(); ++i) { const QString name = names.at(i); if (!repo.mkpath(name)) { - throw QInstaller::Error(tr("Could not create target dir: %1.") - .arg(repo.filePath(name))); + throw QInstaller::Error(tr("Cannot create target directory: \"%1\".") + .arg(QDir::toNativeSeparators(repo.filePath(name)))); } // zip the meta files that come with the offline installer helper.m_files.prepend(Static::createArchive(repoPath, @@ -333,10 +337,10 @@ bool CreateLocalRepositoryOperation::undoOperation() QDir dir; const QStringList files = value(QLatin1String("files")).toStringList(); foreach (const QString &file, files) { - emit outputTextChanged(tr("Removing file: %1").arg(file)); + emit outputTextChanged(tr("Removing file \"%1\".").arg(QDir::toNativeSeparators(file))); if (!QFile::remove(file)) { setError(InvalidArguments); - setErrorString(tr("Could not remove %1.").arg(file)); + setErrorString(tr("Cannot remove file \"%1\".").arg(QDir::toNativeSeparators(file))); return false; } dir.rmpath(QFileInfo(file).absolutePath()); @@ -355,12 +359,12 @@ bool CreateLocalRepositoryOperation::undoOperation() #if defined(Q_OS_WIN) && !defined(Q_CC_MINGW) char msg[128]; if (strerror_s(msg, sizeof msg, errno) != 0) { - setError(UserDefinedError, tr("Cannot remove directory %1: %2").arg(createdDir.path(), - QString::fromLocal8Bit(msg))); + setError(UserDefinedError, tr("Cannot remove directory \"%1\": %2").arg( + QDir::toNativeSeparators(createdDir.path()), QString::fromLocal8Bit(msg))); } #else - setError(UserDefinedError, tr("Cannot remove directory %1: %2").arg(createdDir.path(), - QString::fromLocal8Bit(strerror(errno)))); + setError(UserDefinedError, tr("Cannot remove directory \"%1\": %2").arg( + QDir::toNativeSeparators(createdDir.path()), QString::fromLocal8Bit(strerror(errno)))); #endif } setValue(QLatin1String("files"), QStringList()); diff --git a/src/libs/installer/createshortcutoperation.cpp b/src/libs/installer/createshortcutoperation.cpp index 110698413..4bd5ca453 100644 --- a/src/libs/installer/createshortcutoperation.cpp +++ b/src/libs/installer/createshortcutoperation.cpp @@ -219,11 +219,11 @@ bool CreateShortcutOperation::performOperation() #if defined(Q_OS_WIN) && !defined(Q_CC_MINGW) char msg[128]; if (strerror_s(msg, sizeof msg, errno) != 0) { - setErrorString(tr("Could not create folder %1: %2.").arg(QDir::toNativeSeparators(linkPath), + setErrorString(tr("Cannot create directory \"%1\": %2").arg(QDir::toNativeSeparators(linkPath), QString::fromLocal8Bit(msg))); } #else - setErrorString(tr("Could not create folder %1: %2.").arg(QDir::toNativeSeparators(linkPath), + setErrorString(tr("Cannot create directory \"%1\": %2").arg(QDir::toNativeSeparators(linkPath), QString::fromLocal8Bit(strerror(errno)))); #endif return false; @@ -233,7 +233,7 @@ bool CreateShortcutOperation::performOperation() QString errorString; if (QFile::exists(linkLocation) && !deleteFileNowOrLater(linkLocation, &errorString)) { setError(UserDefinedError); - setErrorString(tr("Failed to overwrite %1: %2").arg(QDir::toNativeSeparators(linkLocation), + setErrorString(tr("Failed to overwrite \"%1\": %2").arg(QDir::toNativeSeparators(linkLocation), errorString)); return false; } @@ -241,7 +241,7 @@ bool CreateShortcutOperation::performOperation() const bool linked = createLink(linkTarget, linkLocation, m_workingDir, targetArguments, m_iconPath, m_iconId); if (!linked) { setError(UserDefinedError); - setErrorString(tr("Could not create link %1: %2").arg(QDir::toNativeSeparators(linkLocation), + setErrorString(tr("Cannot create link \"%1\": %2").arg(QDir::toNativeSeparators(linkLocation), qt_error_string())); return false; } diff --git a/src/libs/installer/downloadarchivesjob.cpp b/src/libs/installer/downloadarchivesjob.cpp index c3cfb4abd..828e7f99a 100644 --- a/src/libs/installer/downloadarchivesjob.cpp +++ b/src/libs/installer/downloadarchivesjob.cpp @@ -222,7 +222,7 @@ void DownloadArchivesJob::registerFile() QMessageBox::Retry | QMessageBox::Cancel, QMessageBox::Cancel); if (res == QMessageBox::Cancel) { - finishWithError(tr("Could not verify Hash")); + finishWithError(tr("Cannot verify Hash")); return; } } else { @@ -252,7 +252,7 @@ void DownloadArchivesJob::downloadFailed(const QString &error) const QMessageBox::StandardButton b = MessageBoxHandler::critical(MessageBoxHandler::currentBestSuitParent(), - QLatin1String("archiveDownloadError"), tr("Download Error"), tr("Could not download archive: %1 : %2") + QLatin1String("archiveDownloadError"), tr("Download Error"), tr("Cannot download archive %1: %2") .arg(m_archivesToDownload.first().second, error), QMessageBox::Retry | QMessageBox::Cancel); if (b == QMessageBox::Retry) @@ -264,7 +264,7 @@ void DownloadArchivesJob::downloadFailed(const QString &error) void DownloadArchivesJob::finishWithError(const QString &error) { const FileDownloader *const dl = qobject_cast<const FileDownloader*> (sender()); - const QString msg = tr("Could not fetch archives: %1\nError while loading %2"); + const QString msg = tr("Cannot fetch archives: %1\nError while loading %2"); if (dl != 0) emitFinishedWithError(QInstaller::DownloadError, msg.arg(error, dl->url().toString())); else @@ -303,14 +303,13 @@ KDUpdater::FileDownloader *DownloadArchivesJob::setupDownloader(const QString &s + component->name() + QLatin1Char('/') + fi.fileName() + suffix); } - emit outputTextChanged(tr("Downloading archive '%1' for component: %2") + emit outputTextChanged(tr("Downloading archive \"%1\" for component %2.") .arg(fi.fileName() + suffix, component->displayName())); } else { - emit outputTextChanged(tr("Scheme not supported: %1 (%2)").arg(scheme, url.toString())); + emit outputTextChanged(tr("Scheme %1 not supported (URL: %2).").arg(scheme, url.toString())); } } else { - emit outputTextChanged(tr("Could not find component for: %1.").arg(QFileInfo(fi.path()) - .fileName())); + emit outputTextChanged(tr("Cannot find component for %1.").arg(QFileInfo(fi.path()).fileName())); } return downloader; } diff --git a/src/libs/installer/downloadfiletask.cpp b/src/libs/installer/downloadfiletask.cpp index dde85795c..6bc1a1c8f 100644 --- a/src/libs/installer/downloadfiletask.cpp +++ b/src/libs/installer/downloadfiletask.cpp @@ -37,6 +37,7 @@ #include "downloadfiletask_p.h" #include <QCoreApplication> +#include <QDir> #include <QEventLoop> #include <QFileInfo> #include <QNetworkProxyFactory> @@ -126,15 +127,17 @@ void Downloader::onReadyRead() } if (file->exists() && (!QFileInfo(file->fileName()).isFile())) { - m_futureInterface->reportException(TaskException(tr("Target file '%1' already exists " + m_futureInterface->reportException(TaskException(tr("Target file \"%1\" already exists " "but is not a file.").arg(file->fileName()))); return; } if (!file->open(QIODevice::WriteOnly | QIODevice::Truncate)) { //: %2 is a sentence describing the error - m_futureInterface->reportException(TaskException(tr("Could not open target '%1' for " - "write. Error: %2.").arg(file->fileName(), file->errorString()))); + m_futureInterface->reportException( + TaskException(tr("Cannot open file \"%1\" for writing: %2").arg( + QDir::toNativeSeparators(file->fileName()), + file->errorString()))); return; } data.file = std::move(file); @@ -143,8 +146,9 @@ void Downloader::onReadyRead() if (!data.file->isOpen()) { //: %2 is a sentence describing the error. m_futureInterface->reportException( - TaskException(tr("Target '%1' not open for write. Error: %2.").arg( - data.file->fileName(), data.file->errorString()))); + TaskException(tr("File \"%1\" not open for writing: %2").arg( + QDir::toNativeSeparators(data.file->fileName()), + data.file->errorString()))); return; } @@ -162,8 +166,9 @@ void Downloader::onReadyRead() if (toWrite < 0) { //: %2 is a sentence describing the error. m_futureInterface->reportException( - TaskException(tr("Writing to target '%1' failed. Error: %2.").arg( - data.file->fileName(), data.file->errorString()))); + TaskException(tr("Writing to file \"%1\" failed: %2").arg( + QDir::toNativeSeparators(data.file->fileName()), + data.file->errorString()))); return; } written += toWrite; @@ -209,7 +214,7 @@ void Downloader::onFinished(QNetworkReply *reply) reply->deleteLater(); return; } else { - m_futureInterface->reportException(TaskException(tr("Redirect loop detected '%1'.") + m_futureInterface->reportException(TaskException(tr("Redirect loop detected for \"%1\".") .arg(url.toString()))); return; } @@ -226,7 +231,7 @@ void Downloader::onFinished(QNetworkReply *reply) const QByteArray expectedCheckSum = data.taskItem.value(TaskRole::Checksum).toByteArray(); if (!expectedCheckSum.isEmpty()) { if (expectedCheckSum != data.observer->checkSum().toHex()) { - m_futureInterface->reportException(TaskException(tr("Checksum mismatch detected '%1'.") + m_futureInterface->reportException(TaskException(tr("Checksum mismatch detected for \"%1\".") .arg(reply->url().toString()))); } } @@ -256,12 +261,12 @@ void Downloader::onError(QNetworkReply::NetworkError error) const Data &data = *m_downloads[reply]; //: %2 is a sentence describing the error m_futureInterface->reportException( - TaskException(tr("Network error while downloading '%1': %2.").arg( + TaskException(tr("Network error while downloading \"%1\": %2").arg( data.taskItem.source(), reply->errorString()))); } else { //: %1 is a sentence describing the error m_futureInterface->reportException( - TaskException(tr("Unknown network error while downloading: %1.").arg(error))); + TaskException(tr("Unknown network error while downloading \"%1\".").arg(error))); } } @@ -271,7 +276,7 @@ void Downloader::onSslErrors(const QList<QSslError> &sslErrors) Q_UNUSED(sslErrors); #else foreach (const QSslError &error, sslErrors) - qDebug() << QString::fromLatin1("SSL error: %s").arg(error.errorString()); + qDebug() << QString::fromLatin1("SSL error: %1").arg(error.errorString()); #endif } @@ -336,7 +341,7 @@ QNetworkReply *Downloader::startDownload(const FileTaskItem &item) QUrl const source = item.source(); if (!source.isValid()) { //: %2 is a sentence describing the error - m_futureInterface->reportException(TaskException(tr("Invalid source '%1'. Error: %2.") + m_futureInterface->reportException(TaskException(tr("Invalid source URL \"%1\": %2") .arg(source.toString(), source.errorString()))); return 0; } diff --git a/src/libs/installer/elevatedexecuteoperation.cpp b/src/libs/installer/elevatedexecuteoperation.cpp index 9fe20a103..640ae7c1a 100644 --- a/src/libs/installer/elevatedexecuteoperation.cpp +++ b/src/libs/installer/elevatedexecuteoperation.cpp @@ -142,7 +142,7 @@ bool ElevatedExecuteOperation::Private::run(const QStringList &arguments) const bool success = QProcessWrapper::startDetached(args.front(), args.mid(1)); if (!success) { q->setError(UserDefinedError); - q->setErrorString(tr("Execution failed: Could not start detached: \"%1\"").arg(callstr)); + q->setErrorString(tr("Cannot start detached: \"%1\"").arg(callstr)); } return success; } @@ -194,7 +194,7 @@ bool ElevatedExecuteOperation::Private::run(const QStringList &arguments) if (!success) { q->setError(UserDefinedError); //TODO: pass errorString() through the wrapper */ - q->setErrorString(tr("Execution failed: Could not start: \"%1\"(%2)").arg(callstr, + q->setErrorString(tr("Cannot start: \"%1\": %2").arg(callstr, process->errorString())); returnValue = false; } @@ -210,7 +210,7 @@ bool ElevatedExecuteOperation::Private::run(const QStringList &arguments) if (process->exitStatus() == QProcessWrapper::CrashExit) { q->setError(UserDefinedError); - q->setErrorString(tr("Execution failed (Crash): \"%1\"").arg(callstr)); + q->setErrorString(tr("Program crashed: \"%1\"").arg(callstr)); returnValue = false; } diff --git a/src/libs/installer/environmentvariablesoperation.cpp b/src/libs/installer/environmentvariablesoperation.cpp index 55332f540..b3ac9c268 100644 --- a/src/libs/installer/environmentvariablesoperation.cpp +++ b/src/libs/installer/environmentvariablesoperation.cpp @@ -80,7 +80,7 @@ UpdateOperation::Error writeSetting(const QString ®Path, oldValue->clear(); SettingsType registry(regPath, QSettingsWrapper::NativeFormat); if (!registry.isWritable()) { - *errorString = UpdateOperation::tr("Registry path %1 is not writable").arg(regPath); + *errorString = UpdateOperation::tr("Registry path %1 is not writable.").arg(regPath); return UpdateOperation::UserDefinedError; } @@ -92,7 +92,7 @@ UpdateOperation::Error writeSetting(const QString ®Path, registry.sync(); if (registry.status() != QSettingsWrapper::NoError) { - *errorString = UpdateOperation::tr("Could not write to registry path %1").arg(regPath); + *errorString = UpdateOperation::tr("Cannot write to registry path %1.").arg(regPath); return UpdateOperation::UserDefinedError; } diff --git a/src/libs/installer/extractarchiveoperation_p.h b/src/libs/installer/extractarchiveoperation_p.h index 4476228cd..6154a8cb4 100644 --- a/src/libs/installer/extractarchiveoperation_p.h +++ b/src/libs/installer/extractarchiveoperation_p.h @@ -154,7 +154,7 @@ protected: QFile f(filename); const bool renamed = f.rename(backup); if (f.exists() && !renamed) { - qCritical("Could not rename %s to %s: %s", qPrintable(filename), qPrintable(backup), + qCritical("Cannot rename %s to %s: %s", qPrintable(filename), qPrintable(backup), qPrintable(f.errorString())); return false; } @@ -185,8 +185,7 @@ public: { QFile archive(archivePath); if (!archive.open(QIODevice::ReadOnly)) { - - emit finished(false, tr("Could not open %1 for reading: %2.").arg(archivePath, archive.errorString())); + emit finished(false, tr("Cannot open archive \"%1\" for reading: %2").arg(archivePath, archive.errorString())); return; } @@ -194,9 +193,9 @@ public: Lib7z::extractArchive(&archive, targetDir, callback); emit finished(true, QString()); } catch (const Lib7z::SevenZipException& e) { - emit finished(false, tr("Error while extracting '%1': %2").arg(archivePath, e.message())); + emit finished(false, tr("Error while extracting archive \"%1\": %2").arg(archivePath, e.message())); } catch (...) { - emit finished(false, tr("Unknown exception caught while extracting %1.").arg(archivePath)); + emit finished(false, tr("Unknown exception caught while extracting \"%1\".").arg(archivePath)); } } diff --git a/src/libs/installer/fakestopprocessforupdateoperation.cpp b/src/libs/installer/fakestopprocessforupdateoperation.cpp index 562816bfc..5b99641ec 100644 --- a/src/libs/installer/fakestopprocessforupdateoperation.cpp +++ b/src/libs/installer/fakestopprocessforupdateoperation.cpp @@ -62,7 +62,7 @@ bool FakeStopProcessForUpdateOperation::undoOperation() PackageManagerCore *const core = value(QLatin1String("installer")).value<PackageManagerCore*>(); if (!core) { - setError(KDUpdater::UpdateOperation::UserDefinedError, tr("Could not get package manager " + setError(KDUpdater::UpdateOperation::UserDefinedError, tr("Cannot get package manager " "core.")); return false; } diff --git a/src/libs/installer/fileio.cpp b/src/libs/installer/fileio.cpp index 70f2be147..d014449e5 100644 --- a/src/libs/installer/fileio.cpp +++ b/src/libs/installer/fileio.cpp @@ -39,6 +39,7 @@ #include <QCoreApplication> #include <QByteArray> +#include <QDir> #include <QFileDevice> #include <QString> @@ -108,7 +109,8 @@ void QInstaller::openForRead(QFileDevice *dev) Q_ASSERT(dev); if (!dev->open(QIODevice::ReadOnly)) { throw Error(QCoreApplication::translate("QInstaller", - "Cannot open file %1 for reading: %2").arg(dev->fileName(), dev->errorString())); + "Cannot open file \"%1\" for reading: %2").arg( + QDir::toNativeSeparators(dev->fileName()), dev->errorString())); } } @@ -117,7 +119,8 @@ void QInstaller::openForWrite(QFileDevice *dev) Q_ASSERT(dev); if (!dev->open(QIODevice::WriteOnly)) { throw Error(QCoreApplication::translate("QInstaller", - "Cannot open file %1 for writing: %2").arg(dev->fileName(), dev->errorString())); + "Cannot open file \"%1\" for writing: %2").arg( + QDir::toNativeSeparators(dev->fileName()), dev->errorString())); } } @@ -126,7 +129,8 @@ void QInstaller::openForAppend(QFileDevice *dev) Q_ASSERT(dev); if (!dev->open(QIODevice::WriteOnly | QIODevice::Append)) { throw Error(QCoreApplication::translate("QInstaller", - "Cannot open file %1 for writing: %2").arg(dev->fileName(), dev->errorString())); + "Cannot open file \"%1\" for writing: %2").arg( + QDir::toNativeSeparators(dev->fileName()), dev->errorString())); } } @@ -160,7 +164,7 @@ qint64 QInstaller::blockingCopy(QFileDevice *in, QFileDevice *out, qint64 size) size -= actual; actual = qMin(blockSize, size); } catch (const Error &error) { - throw Error(QCoreApplication::translate("QInstaller", "Copy failed. Error: %1") + throw Error(QCoreApplication::translate("QInstaller", "Copy failed: %1") .arg(error.message())); } } diff --git a/src/libs/installer/fileutils.cpp b/src/libs/installer/fileutils.cpp index a44db1126..00c289ffa 100644 --- a/src/libs/installer/fileutils.cpp +++ b/src/libs/installer/fileutils.cpp @@ -182,7 +182,8 @@ void QInstaller::removeFiles(const QString &path, bool ignoreErrors) QFile f(fi.filePath()); if (!f.remove()) { const QString errorMessage = QCoreApplication::translate("QInstaller", - "Could not remove file %1: %2").arg(f.fileName(), f.errorString()); + "Cannot remove file \"%1\": %2").arg( + QDir::toNativeSeparators(f.fileName()), f.errorString()); if (!ignoreErrors) throw Error(errorMessage); qWarning() << errorMessage; @@ -223,7 +224,8 @@ void QInstaller::removeDirectory(const QString &path, bool ignoreErrors) errno = 0; if (d.exists(path) && !d.rmdir(dir)) { const QString errorMessage = QCoreApplication::translate("QInstaller", - "Could not remove folder %1: %2").arg(dir, errnoToQString(errno)); + "Cannot remove directory \"%1\": %2").arg(QDir::toNativeSeparators(dir), + errnoToQString(errno)); if (!ignoreErrors) throw Error(errorMessage); qWarning() << errorMessage; @@ -293,8 +295,8 @@ void QInstaller::copyDirectoryContents(const QString &sourceDir, const QString & Q_ASSERT(QFileInfo(sourceDir).isDir()); Q_ASSERT(!QFileInfo(targetDir).exists() || QFileInfo(targetDir).isDir()); if (!QDir().mkpath(targetDir)) { - throw Error(QCoreApplication::translate("QInstaller", "Could not create folder %1") - .arg(targetDir)); + throw Error(QCoreApplication::translate("QInstaller", "Cannot create directory \"%1\".") + .arg(QDir::toNativeSeparators(targetDir))); } QDirIterator it(sourceDir, QDir::NoDotAndDotDot | QDir::AllEntries); while (it.hasNext()) { @@ -307,8 +309,10 @@ void QInstaller::copyDirectoryContents(const QString &sourceDir, const QString & const QString target = QDir(targetDir).absoluteFilePath(i.fileName()); if (!f.copy(target)) { throw Error(QCoreApplication::translate("QInstaller", - "Could not copy file from %1 to %2: %3").arg(f.fileName(), target, - f.errorString())); + "Cannot copy file from \"%1\" to \"%2\": %3").arg( + QDir::toNativeSeparators(f.fileName()), + QDir::toNativeSeparators(target), + f.errorString())); } } } @@ -319,8 +323,8 @@ void QInstaller::moveDirectoryContents(const QString &sourceDir, const QString & Q_ASSERT(QFileInfo(sourceDir).isDir()); Q_ASSERT(!QFileInfo(targetDir).exists() || QFileInfo(targetDir).isDir()); if (!QDir().mkpath(targetDir)) { - throw Error(QCoreApplication::translate("QInstaller", "Could not create folder %1") - .arg(targetDir)); + throw Error(QCoreApplication::translate("QInstaller", "Cannot create directory \"%1\".") + .arg(QDir::toNativeSeparators(targetDir))); } QDirIterator it(sourceDir, QDir::NoDotAndDotDot | QDir::AllEntries); while (it.hasNext()) { @@ -336,8 +340,10 @@ void QInstaller::moveDirectoryContents(const QString &sourceDir, const QString & const QString target = QDir(targetDir).absoluteFilePath(i.fileName()); if (!f.rename(target)) { throw Error(QCoreApplication::translate("QInstaller", - "Could not move file from %1 to %2: %3").arg(f.fileName(), target, - f.errorString())); + "Cannot move file from \"%1\" to \"%2\": %3").arg( + QDir::toNativeSeparators(f.fileName()), + QDir::toNativeSeparators(target), + f.errorString())); } } } @@ -347,8 +353,8 @@ void QInstaller::mkdir(const QString &path) { errno = 0; if (!QDir().mkdir(QFileInfo(path).absoluteFilePath())) { - throw Error(QCoreApplication::translate("QInstaller", "Could not create folder %1: %2") - .arg(path, errnoToQString(errno))); + throw Error(QCoreApplication::translate("QInstaller", "Cannot create directory \"%1\": %2") + .arg(QDir::toNativeSeparators(path), errnoToQString(errno))); } } @@ -356,8 +362,8 @@ void QInstaller::mkpath(const QString &path) { errno = 0; if (!QDir().mkpath(QFileInfo(path).absoluteFilePath())) { - throw Error(QCoreApplication::translate("QInstaller", "Could not create folder %1: %2") - .arg(path, errnoToQString(errno))); + throw Error(QCoreApplication::translate("QInstaller", "Cannot create directory \"%1\": %2") + .arg(QDir::toNativeSeparators(path), errnoToQString(errno))); } } @@ -367,7 +373,7 @@ QString QInstaller::generateTemporaryFileName(const QString &templ) QTemporaryFile f; if (!f.open()) { throw Error(QCoreApplication::translate("QInstaller", - "Could not open temporary file: %1").arg(f.errorString())); + "Cannot open temporary file: %1").arg(f.errorString())); } return f.fileName(); } @@ -386,7 +392,7 @@ QString QInstaller::generateTemporaryFileName(const QString &templ) QFile f(tmp.arg(templ, suffix).arg(count)); if (!f.open(QIODevice::WriteOnly)) { throw Error(QCoreApplication::translate("QInstaller", - "Could not open temporary file for template %1: %2").arg(templ, f.errorString())); + "Cannot open temporary file for template %1: %2").arg(templ, f.errorString())); } f.remove(); return f.fileName(); @@ -487,13 +493,13 @@ void QInstaller::setApplicationIcon(const QString &application, const QString &i { QFile iconFile(icon); if (!iconFile.open(QIODevice::ReadOnly)) { - qWarning() << QString::fromLatin1("Could not use '%1' as application icon: %2.") + qWarning() << QString::fromLatin1("Cannot use \"%1\" as application icon: %2") .arg(icon, iconFile.errorString()); return; } if (QImageReader::imageFormat(icon) != "ico") { - qWarning() << QString::fromLatin1("Could not use '%1' as application icon, unsupported format %2.") + qWarning() << QString::fromLatin1("Cannot use \"%1\" as application icon, unsupported format %2.") .arg(icon, QLatin1String(QImageReader::imageFormat(icon))); return; } diff --git a/src/libs/installer/globalsettingsoperation.cpp b/src/libs/installer/globalsettingsoperation.cpp index f8d5ee439..3ddf8f05b 100644 --- a/src/libs/installer/globalsettingsoperation.cpp +++ b/src/libs/installer/globalsettingsoperation.cpp @@ -55,7 +55,7 @@ bool GlobalSettingsOperation::performOperation() if (!settings->isWritable()) { setError(UserDefinedError); - setErrorString(tr("Settings are not writable")); + setErrorString(tr("Settings are not writable.")); return false; } @@ -65,7 +65,7 @@ bool GlobalSettingsOperation::performOperation() if (settings->status() != QSettingsWrapper::NoError) { setError(UserDefinedError); - setErrorString(tr("Failed to write settings")); + setErrorString(tr("Failed to write settings.")); return false; } diff --git a/src/libs/installer/installercalculator.cpp b/src/libs/installer/installercalculator.cpp index 79c085c55..a03d11fc2 100644 --- a/src/libs/installer/installercalculator.cpp +++ b/src/libs/installer/installercalculator.cpp @@ -77,7 +77,7 @@ QString InstallerCalculator::installReason(Component *component) const "Components added as automatic dependencies:"); case Dependent: return QCoreApplication::translate("InstallerCalculator", "Components added as " - "dependency for '%1':").arg(installReasonReferencedComponent(component)); + "dependency for \"%1\":").arg(installReasonReferencedComponent(component)); case Resolved: return QCoreApplication::translate("InstallerCalculator", "Components that have resolved dependencies:"); @@ -108,8 +108,8 @@ void InstallerCalculator::realAppendToInstallComponents(Component *component) QString InstallerCalculator::recursionError(Component *component) { - return QCoreApplication::translate("InstallerCalculator", "Recursion detected, component '%1' " - "already added with reason: '%2'").arg(component->name(), installReason(component)); + return QCoreApplication::translate("InstallerCalculator", "Recursion detected, component \"%1\" " + "already added with reason: \"%2\"").arg(component->name(), installReason(component)); } bool InstallerCalculator::appendComponentsToInstall(const QList<Component *> &components) @@ -171,7 +171,7 @@ bool InstallerCalculator::appendComponentToInstall(Component *component) PackageManagerCore::componentByName(dependencyComponentName, m_allComponents); if (!dependencyComponent) { const QString errorMessage = QCoreApplication::translate("InstallerCalculator", - "Cannot find missing dependency '%1' for '%2'.").arg(dependencyComponentName, + "Cannot find missing dependency \"%1\" for \"%2\".").arg(dependencyComponentName, component->name()); qWarning() << errorMessage; m_componentsToInstallError.append(errorMessage); diff --git a/src/libs/installer/installiconsoperation.cpp b/src/libs/installer/installiconsoperation.cpp index f9a9096f5..b6613cd5d 100644 --- a/src/libs/installer/installiconsoperation.cpp +++ b/src/libs/installer/installiconsoperation.cpp @@ -118,7 +118,7 @@ bool InstallIconsOperation::performOperation() if (source.isEmpty()) { setError(InvalidArguments); - setErrorString(tr("Invalid Argument: source folder must not be empty.")); + setErrorString(tr("Invalid Argument: source directory must not be empty.")); return false; } @@ -167,7 +167,8 @@ bool InstallIconsOperation::performOperation() QFile bf(target); if (!bf.copy(backup)) { setError(UserDefinedError); - setErrorString(tr("Could not backup file %1: %2").arg(target, bf.errorString())); + setErrorString(tr("Cannot backup file \"%1\": %2").arg( + QDir::toNativeSeparators(target), bf.errorString())); undoOperation(); return false; } @@ -180,7 +181,8 @@ bool InstallIconsOperation::performOperation() QString errStr; if (!deleteFileNowOrLater(target, &errStr)) { setError(UserDefinedError); - setErrorString(tr("Failed to overwrite %1: %2").arg(target, errStr)); + setErrorString(tr("Failed to overwrite \"%1\": %2").arg( + QDir::toNativeSeparators(target), errStr)); undoOperation(); return false; } @@ -191,7 +193,8 @@ bool InstallIconsOperation::performOperation() QFile cf(source); if (!cf.copy(target)) { setError(UserDefinedError); - setErrorString(tr("Failed to copy file %1: %2").arg(target, cf.errorString())); + setErrorString(tr("Failed to copy file \"%1\": %2").arg( + QDir::toNativeSeparators(target), cf.errorString())); undoOperation(); return false; } @@ -201,7 +204,8 @@ bool InstallIconsOperation::performOperation() setValue(QLatin1String("files"), files); } else if (fi.isDir() && !QDir(target).exists()) { if (!QDir().mkpath(target)) { - setErrorString(tr("Could not create folder at %1: %2").arg(target, qt_error_string())); + setErrorString(tr("Cannot create directory \"%1\": %2").arg( + QDir::toNativeSeparators(target), qt_error_string())); undoOperation(); return false; } @@ -233,7 +237,7 @@ bool InstallIconsOperation::undoOperation() QFile installedTarget(target); if (installedTarget.exists() && !(installedTarget.copy(source) && installedTarget.remove())) { - warningMessages << QString::fromLatin1("Could not move file from '%1' to '%2', error: %3)").arg( + warningMessages << QString::fromLatin1("Cannot move file from \"%1\" to \"%2\": %3)").arg( target, source, installedTarget.errorString()); } } @@ -249,13 +253,13 @@ bool InstallIconsOperation::undoOperation() deleteFileNowOrLater(target); // then copy the backup onto the target if (!QFile::copy(backup, target)) { - warningMessages << QString::fromLatin1("Could not restore the backup '%1' to '%2'").arg( + warningMessages << QString::fromLatin1("Cannot restore the backup \"%1\" to \"%2\".").arg( backup, target); } // finally remove the backp if (!deleteFileNowOrLater(backup)) - warningMessages << QString::fromLatin1("Could not remove the backup '%1'").arg(backup); + warningMessages << QString::fromLatin1("Cannot remove the backup \"%1\".").arg(backup); } @@ -265,11 +269,11 @@ bool InstallIconsOperation::undoOperation() const QDir dir(*it); removeSystemGeneratedFiles(dir.absolutePath()); if (dir.exists() && !QDir::root().rmdir(dir.path())) - warningMessages << QString::fromLatin1("Could not remove directory '%1'").arg(dir.path()); + warningMessages << QString::fromLatin1("Cannot remove directory \"%1\".").arg(dir.path()); } if (!warningMessages.isEmpty()) { - qWarning() << QString::fromLatin1("Undo of operation '%1' with arguments '%2' had some problems.").arg( + qWarning() << QString::fromLatin1("Undo of operation %1 with arguments \"%2\" had some problems.").arg( name(), arguments().join(QLatin1String(", "))); foreach (const QString &message, warningMessages) { qWarning() << message; diff --git a/src/libs/installer/lib7z_facade.cpp b/src/libs/installer/lib7z_facade.cpp index 41bce1eb1..e68064204 100644 --- a/src/libs/installer/lib7z_facade.cpp +++ b/src/libs/installer/lib7z_facade.cpp @@ -222,7 +222,7 @@ struct DirectoryGuard return; QDir dir(m_path); if (!dir.rmdir(m_path)) - qWarning() << "Could not delete directory " << m_path; + qWarning() << "Cannot delete directory " << m_path; } /*! @@ -239,7 +239,7 @@ struct DirectoryGuard return QStringList(); if (fi.exists() && !fi.isDir()) { throw SevenZipException(QCoreApplication::translate("DirectoryGuard", - "Path exists but is not a folder: %1").arg(m_path)); + "Path \"%1\" exists but is not a directory.").arg(QDir::toNativeSeparators(m_path))); } QStringList created; @@ -255,7 +255,7 @@ struct DirectoryGuard m_created = dir.mkpath(m_path); if (!m_created) { throw SevenZipException(QCoreApplication::translate("DirectoryGuard", - "Could not create folder: %1").arg(m_path)); + "Cannot create directory \"%1\".").arg(QDir::toNativeSeparators(m_path))); } return created; } @@ -285,7 +285,7 @@ static NCOM::CPropVariant readProperty(IInArchive *archive, int index, int propI NCOM::CPropVariant prop; if (archive->GetProperty(index, propId, &prop) != S_OK) { throw SevenZipException(QCoreApplication::translate("Lib7z", - "Could not retrieve property %1 for item %2").arg(QString::number(propId), + "Cannot retrieve property %1 for item %2.").arg(QString::number(propId), QString::number(index))); } return prop; @@ -317,13 +317,13 @@ static bool getDateTimeProperty(IInArchive *arc, int index, int id, QDateTime *v FILETIME ft; if (!FileTimeToLocalFileTime(&ft7z, &ft)) { throw SevenZipException(QCoreApplication::translate("Lib7z", - "Could not convert 7z stored file time to local time.")); + "Cannot convert file time to local time.")); } SYSTEMTIME st; if (!BOOLToBool(FileTimeToSystemTime(&ft, &st))) { throw SevenZipException(QCoreApplication::translate("Lib7z", - "Could not convert local file time to system time.")); + "Cannot convert local file time to system time.")); } *value = QDateTime(QDate(st.wYear, st.wMonth, st.wDay), QTime(st.wHour, st.wMinute, st.wSecond)); @@ -489,7 +489,7 @@ QVector<File> listArchive(QFileDevice *archive) try { CCodecs codecs; if (codecs.Load() != S_OK) - throw SevenZipException(QCoreApplication::translate("Lib7z", "Could not load codecs.")); + throw SevenZipException(QCoreApplication::translate("Lib7z", "Cannot load codecs.")); COpenOptions op; op.codecs = &codecs; @@ -509,7 +509,7 @@ QVector<File> listArchive(QFileDevice *archive) CArchiveLink archiveLink; if (archiveLink.Open2(op, nullptr) != S_OK) { throw SevenZipException(QCoreApplication::translate("Lib7z", - "Could not open archive '%1'.").arg(archive->fileName())); + "Cannot open archive \"%1\".").arg(archive->fileName())); } QVector<File> flat; @@ -518,14 +518,14 @@ QVector<File> listArchive(QFileDevice *archive) UInt32 numItems = 0; if (arch->GetNumberOfItems(&numItems) != S_OK) { throw SevenZipException(QCoreApplication::translate("Lib7z", - "Could not retrieve number of items in archive.")); + "Cannot retrieve number of items in archive.")); } flat.reserve(flat.size() + numItems); for (uint item = 0; item < numItems; ++item) { UString s; if (archiveLink.Arcs[i].GetItemPath(item, s) != S_OK) { throw SevenZipException(QCoreApplication::translate("Lib7z", - "Could not retrieve path of archive item '%1'.").arg(item)); + "Cannot retrieve path of archive item \"%1\".").arg(item)); } File f; f.archiveIndex.setX(i); @@ -585,7 +585,7 @@ STDMETHODIMP ExtractCallback::GetStream(UInt32 index, ISequentialOutStream **out UString s; if (arc->GetItemPath(index, s) != S_OK) { setLastError(QCoreApplication::translate("ExtractCallbackImpl", - "Could not retrieve path of archive item %1").arg(index)); + "Cannot retrieve path of archive item %1.").arg(index)); return E_FAIL; } @@ -613,14 +613,15 @@ STDMETHODIMP ExtractCallback::GetStream(UInt32 index, ISequentialOutStream **out // do not follow symlinks, so we need to remove an existing one if (fi.isSymLink() && (!QFile::remove(fi.absoluteFilePath()))) { setLastError(QCoreApplication::translate("ExtractCallbackImpl", - "Could not remove already existing symlink %1.").arg(fi.absoluteFilePath())); + "Cannot remove already existing symlink %1.").arg(fi.absoluteFilePath())); return E_FAIL; } #endif std::unique_ptr<QFile> file(new QFile(fi.absoluteFilePath())); if (!file->open(QIODevice::WriteOnly)) { - setLastError(QCoreApplication::translate("ExtractCallbackImpl", "Could not open " - "file '%1': %2").arg(fi.absoluteFilePath(), file->errorString())); + setLastError(QCoreApplication::translate("ExtractCallbackImpl", + "Cannot open file \"%1\" for writing: %2").arg( + QDir::toNativeSeparators(fi.absoluteFilePath()), file->errorString())); return E_FAIL; } CMyComPtr<ISequentialOutStream> stream = @@ -645,7 +646,7 @@ STDMETHODIMP ExtractCallback::SetOperationResult(Int32 /*resultEOperationResult* UString s; if (arc->GetItemPath(currentIndex, s) != S_OK) { setLastError(QCoreApplication::translate("ExtractCallbackImpl", - "Could not retrieve path of archive item %1.").arg(currentIndex)); + "Cannot retrieve path of archive item %1.").arg(currentIndex)); return E_FAIL; } @@ -669,14 +670,14 @@ STDMETHODIMP ExtractCallback::SetOperationResult(Int32 /*resultEOperationResult* QFileInfo symlinkPlaceHolderFileInfo(absFilePath); if (symlinkPlaceHolderFileInfo.isSymLink()) { setLastError(QCoreApplication::translate("ExtractCallbackImpl", - "Could not create symlink at '%1'. Another one is already existing.") + "Cannot create symlink at \"%1\". Another one is already existing.") .arg(absFilePath)); return E_FAIL; } QFile symlinkPlaceHolderFile(absFilePath); if (!symlinkPlaceHolderFile.open(QIODevice::ReadOnly)) { setLastError(QCoreApplication::translate("ExtractCallbackImpl", - "Could not read symlink target from file '%1'.").arg(absFilePath)); + "Cannot read symlink target from file \"%1\".").arg(absFilePath)); return E_FAIL; } @@ -686,7 +687,7 @@ STDMETHODIMP ExtractCallback::SetOperationResult(Int32 /*resultEOperationResult* QFile targetFile(QString::fromLatin1(symlinkTarget)); if (!targetFile.link(absFilePath)) { setLastError(QCoreApplication::translate("ExtractCallbackImpl", - "Could not create symlink at %1: %2.").arg(absFilePath, + "Cannot create symlink at %1: %2").arg(absFilePath, targetFile.errorString())); return E_FAIL; } @@ -838,8 +839,8 @@ static QString createTmp7z() { QTemporaryFile file; if (!file.open()) { - throw SevenZipException(QCoreApplication::translate("Lib7z", "Could not create " - "temporary file. Error: %1").arg(file.errorString())); + throw SevenZipException(QCoreApplication::translate("Lib7z", "Cannot create " + "temporary file: %1").arg(file.errorString())); } file.write(QByteArray::fromHex("377A.BCAF.271C" // Signature. @@ -923,7 +924,7 @@ void createArchive(const QString &archive, const QStringList &sources, QTmpFile CCodecs codecs; if (codecs.Load() != S_OK) - throw SevenZipException(QCoreApplication::translate("Lib7z", "Could not load codecs.")); + throw SevenZipException(QCoreApplication::translate("Lib7z", "Cannot load codecs.")); CObjectVector<COpenType> types; if (!ParseOpenTypes(codecs, options.ArcType, types)) @@ -936,22 +937,26 @@ void createArchive(const QString &archive, const QStringList &sources, QTmpFile const QFile tempFile(UString2QString(options.ArchiveName)); if (res != S_OK || !tempFile.exists()) { - throw SevenZipException(QCoreApplication::translate("Lib7z", "Could not create " - "archive '%1'. %2").arg(tempFile.fileName(), errorMessageFrom7zResult(res))); + throw SevenZipException(QCoreApplication::translate("Lib7z", "Cannot create " + "archive \"%1\": %2").arg(QDir::toNativeSeparators(tempFile.fileName()), + errorMessageFrom7zResult(res))); } if (mode == QTmpFile::Yes) { QFile org(archive); if (org.exists() && !org.remove()) { - throw SevenZipException(QCoreApplication::translate("Lib7z", "Could not remove " - "old archive '%1'. Error: %2").arg(org.fileName(), org.errorString())); + throw SevenZipException(QCoreApplication::translate("Lib7z", "Cannot remove " + "old archive \"%1\": %2").arg(QDir::toNativeSeparators(org.fileName()), + org.errorString())); } QFile arc(UString2QString(options.ArchiveName)); if(!arc.rename(archive)) { - throw SevenZipException(QCoreApplication::translate("Lib7z", "Could not rename " - "temporary archive '%1' to '%2'. Error: %3").arg(arc.fileName(), archive, - arc.errorString())); + throw SevenZipException(QCoreApplication::translate("Lib7z", "Cannot rename " + "temporary archive \"%1\" to \"%2\": %3").arg( + QDir::toNativeSeparators(arc.fileName()), + QDir::toNativeSeparators(archive), + arc.errorString())); } } } catch (const char *err) { @@ -992,7 +997,7 @@ void extractArchive(QFileDevice *archive, const QString &directory, ExtractCallb CCodecs codecs; if (codecs.Load() != S_OK) - throw SevenZipException(QCoreApplication::translate("Lib7z", "Could not load codecs.")); + throw SevenZipException(QCoreApplication::translate("Lib7z", "Cannot load codecs.")); COpenOptions op; op.codecs = &codecs; @@ -1012,7 +1017,7 @@ void extractArchive(QFileDevice *archive, const QString &directory, ExtractCallb CArchiveLink archiveLink; if (archiveLink.Open2(op, nullptr) != S_OK) { throw SevenZipException(QCoreApplication::translate("Lib7z", - "Could not open archive '%1'.").arg(archive->fileName())); + "Cannot open archive \"%1\".").arg(archive->fileName())); } callback->setTarget(directory); @@ -1049,7 +1054,7 @@ bool isSupportedArchive(QFileDevice *archive) try { CCodecs codecs; if (codecs.Load() != S_OK) - throw SevenZipException(QCoreApplication::translate("Lib7z", "Could not load codecs.")); + throw SevenZipException(QCoreApplication::translate("Lib7z", "Cannot load codecs.")); COpenOptions op; op.codecs = &codecs; diff --git a/src/libs/installer/licenseoperation.cpp b/src/libs/installer/licenseoperation.cpp index af5d29d98..4721a6108 100644 --- a/src/libs/installer/licenseoperation.cpp +++ b/src/libs/installer/licenseoperation.cpp @@ -76,11 +76,10 @@ bool LicenseOperation::performOperation() setArguments(QStringList(targetDir)); for (QVariantMap::const_iterator it = licenses.constBegin(); it != licenses.constEnd(); ++it) { - QFile file(targetDir + QDir::separator() + it.key()); + QFile file(targetDir + QLatin1Char('/') + it.key()); if (!file.open(QIODevice::WriteOnly | QIODevice::Truncate | QIODevice::Text)) { setError(UserDefinedError); - setErrorString(tr("Can not write license file: %1.").arg(targetDir + QDir::separator() - + it.key())); + setErrorString(tr("Can not write license file \"%1\".").arg(QDir::toNativeSeparators(file.fileName()))); return false; } diff --git a/src/libs/installer/linereplaceoperation.cpp b/src/libs/installer/linereplaceoperation.cpp index c84d1922c..11168b10e 100644 --- a/src/libs/installer/linereplaceoperation.cpp +++ b/src/libs/installer/linereplaceoperation.cpp @@ -66,7 +66,8 @@ bool LineReplaceOperation::performOperation() QFile file(fileName); if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { setError(UserDefinedError); - setErrorString(tr("Failed to open '%1' for reading.").arg(fileName)); + setErrorString(tr("Cannot open file \"%1\" for reading: %2").arg( + QDir::toNativeSeparators(fileName), file.errorString())); return false; } @@ -83,7 +84,8 @@ bool LineReplaceOperation::performOperation() if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) { setError(UserDefinedError); - setErrorString(tr("Failed to open '%1' for writing.").arg(fileName)); + setErrorString(tr("Cannot open file \"%1\" for writing: %2").arg( + QDir::toNativeSeparators(fileName), file.errorString())); return false; } diff --git a/src/libs/installer/link.cpp b/src/libs/installer/link.cpp index 9462f5358..f90a6d3c1 100644 --- a/src/libs/installer/link.cpp +++ b/src/libs/installer/link.cpp @@ -94,7 +94,7 @@ public: OPEN_EXISTING, FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_BACKUP_SEMANTICS, 0); if (m_dirHandle == INVALID_HANDLE_VALUE) { - qWarning() << QString::fromLatin1("Could not open: '%1'; error: %2\n").arg(path) + qWarning() << QString::fromLatin1("Cannot open: \"%1\": %2\n").arg(path) .arg(QInstaller::windowsErrorString(GetLastError())); } } @@ -144,13 +144,13 @@ QString readWindowsSymLink(const QString &path) Link createJunction(const QString &linkPath, const QString &targetPath) { if (!QDir().mkpath(linkPath)) { - qWarning() << QString::fromLatin1("Could not create the mount directory: %1").arg( + qWarning() << QString::fromLatin1("Cannot create the mount directory: %1").arg( linkPath); return Link(linkPath); } FileHandleWrapper dirHandle(linkPath); if (dirHandle.handle() == INVALID_HANDLE_VALUE) { - qWarning() << QString::fromLatin1("Could not open: '%1'; error: %2\n").arg(linkPath) + qWarning() << QString::fromLatin1("Cannot open: \"%1\": %2\n").arg(linkPath) .arg(QInstaller::windowsErrorString(GetLastError())); return Link(linkPath); } @@ -181,7 +181,7 @@ Link createJunction(const QString &linkPath, const QString &targetPath) if (!::DeviceIoControl(dirHandle.handle(), FSCTL_SET_REPARSE_POINT, reparseStructData, reparseStructData->ReparseDataLength + REPARSE_DATA_BUFFER_HEADER_SIZE, 0, 0, &bytesReturned, 0)) { - qWarning() << QString::fromLatin1("Could not set the reparse point: for '%1' to %2; error: %3" + qWarning() << QString::fromLatin1("Cannot set the reparse point for \"%1\" to %2: %3" ).arg(linkPath, targetPath).arg(QInstaller::windowsErrorString(GetLastError())); } return Link(linkPath); @@ -203,7 +203,7 @@ bool removeJunction(const QString &path) REPARSE_GUID_DATA_BUFFER_HEADER_SIZE, 0, 0, &bytesReturned, 0)) { - qWarning() << QString::fromLatin1("Could not remove the reparse point: '%1'; error: %3" + qWarning() << QString::fromLatin1("Cannot remove the reparse point \"'%1\": %3" ).arg(path).arg(QInstaller::windowsErrorString(GetLastError())); return false; } @@ -217,7 +217,7 @@ Link createLnSymlink(const QString &linkPath, const QString &targetPath) int linkedError = symlink(QFileInfo(targetPath).absoluteFilePath().toUtf8(), QFileInfo(linkPath).absoluteFilePath().toUtf8()); if (linkedError != 0) { - qWarning() << QString::fromLatin1("Could not create a symlink: from '%1' to %2; error: %3" + qWarning() << QString::fromLatin1("Cannot create a symlink from \"%1\" to \"%2\": %3" ).arg(linkPath, targetPath).arg(linkedError); } @@ -245,7 +245,7 @@ Link Link::create(const QString &link, const QString &targetPath) if (!linkPathExists) linkPathExists = QDir().mkpath(linkPath); if (!linkPathExists) { - qWarning() << QString::fromLatin1("Could not create the needed directories: %1").arg( + qWarning() << QString::fromLatin1("Cannot create the needed directories: %1").arg( link); return Link(link); } diff --git a/src/libs/installer/messageboxhandler.cpp b/src/libs/installer/messageboxhandler.cpp index a33810938..368a68e01 100644 --- a/src/libs/installer/messageboxhandler.cpp +++ b/src/libs/installer/messageboxhandler.cpp @@ -407,8 +407,8 @@ QMessageBox::StandardButton MessageBoxHandler::showMessageBox(MessageType messag messageTypeHash.insert(warningType, QLatin1String("warning")); }; - qDebug() << QString::fromLatin1("created %1 message box %2: '%3', %4").arg(messageTypeHash - .value(messageType),identifier, title, text); + qDebug() << QString::fromLatin1("Created %1 message box %2: \"%3\", %4").arg(messageTypeHash + .value(messageType), identifier, title, text); if (qobject_cast<QApplication*> (qApp) == 0) return defaultButton; diff --git a/src/libs/installer/metadatajob.cpp b/src/libs/installer/metadatajob.cpp index fa3168e8f..9082c0367 100644 --- a/src/libs/installer/metadatajob.cpp +++ b/src/libs/installer/metadatajob.cpp @@ -297,7 +297,7 @@ MetadataJob::Status MetadataJob::parseUpdatesXml(const QList<FileTaskResult> &re Metadata metadata; QTemporaryDir tmp(QDir::tempPath() + QLatin1String("/remoterepo-XXXXXX")); if (!tmp.isValid()) { - qDebug() << "Could not create unique temporary directory."; + qDebug() << "Cannot create unique temporary directory."; return XmlDownloadFailure; } @@ -307,20 +307,20 @@ MetadataJob::Status MetadataJob::parseUpdatesXml(const QList<FileTaskResult> &re QFile file(result.target()); if (!file.rename(metadata.directory + QLatin1String("/Updates.xml"))) { - qDebug() << "Could not rename target to Updates.xml. Error:" << file.errorString(); + qDebug() << "Cannot rename target to Updates.xml:" << file.errorString(); return XmlDownloadFailure; } if (!file.open(QIODevice::ReadOnly)) { - qDebug() << "Could not open Updates.xml for reading. Error:" << file.errorString(); + qDebug() << "Cannot open Updates.xml for reading:" << file.errorString(); return XmlDownloadFailure; } QString error; QDomDocument doc; if (!doc.setContent(&file, &error)) { - qDebug() << QString::fromLatin1("Could not fetch a valid version of Updates.xml from " - "repository: %1. Error: %2").arg(metadata.repository.displayname(), error); + qDebug() << QString::fromLatin1("Cannot fetch a valid version of Updates.xml from " + "repository %1: %2").arg(metadata.repository.displayname(), error); return XmlDownloadFailure; } file.close(); diff --git a/src/libs/installer/metadatajob_p.h b/src/libs/installer/metadatajob_p.h index 6e9796712..0e2cbf3b6 100644 --- a/src/libs/installer/metadatajob_p.h +++ b/src/libs/installer/metadatajob_p.h @@ -39,6 +39,7 @@ #include "lib7z_facade.h" #include "metadatajob.h" +#include <QDir> #include <QFile> namespace QInstaller{ @@ -86,14 +87,14 @@ public: Lib7z::extractArchive(&archive, m_targetDir); } catch (const Lib7z::SevenZipException& e) { fi.reportException(UnzipArchiveException(MetadataJob::tr("Error while extracting " - "'%1': %2").arg(m_archive, e.message()))); + "archive \"%1\": %2").arg(QDir::toNativeSeparators(m_archive), e.message()))); } catch (...) { fi.reportException(UnzipArchiveException(MetadataJob::tr("Unknown exception " - "caught while extracting %1.").arg(m_archive))); + "caught while extracting archive \"%1\".").arg(QDir::toNativeSeparators(m_archive)))); } } else { - fi.reportException(UnzipArchiveException(MetadataJob::tr("Could not open %1 for " - "reading. Error: %2").arg(m_archive, archive.errorString()))); + fi.reportException(UnzipArchiveException(MetadataJob::tr("Cannot open file \"%1\" for " + "reading: %2").arg(QDir::toNativeSeparators(m_archive), archive.errorString()))); } fi.reportFinished(); diff --git a/src/libs/installer/packagemanagercore.cpp b/src/libs/installer/packagemanagercore.cpp index 9efee0465..1bb800b4a 100644 --- a/src/libs/installer/packagemanagercore.cpp +++ b/src/libs/installer/packagemanagercore.cpp @@ -657,7 +657,7 @@ int PackageManagerCore::downloadNeededArchives(double partProgressSize) throw Error(archivesJob.errorString()); if (d->statusCanceledOrFailed()) - throw Error(tr("Installation canceled by user")); + throw Error(tr("Installation canceled by user.")); ProgressCoordinator::instance()->emitDownloadStatus(tr("All downloads finished.")); @@ -749,7 +749,7 @@ void PackageManagerCore::rollBackInstallation() } catch (const Error &e) { MessageBoxHandler::critical(MessageBoxHandler::currentBestSuitParent(), QLatin1String("ElevationError"), tr("Authentication Error"), tr("Some components " - "could not be removed completely because admin rights could not be acquired: %1.") + "could not be removed completely because administrative rights could not be acquired: %1.") .arg(e.message())); } catch (...) { MessageBoxHandler::critical(MessageBoxHandler::currentBestSuitParent(), QLatin1String("unknown"), @@ -966,7 +966,7 @@ bool PackageManagerCore::fetchLocalPackagesTree() d->setStatus(Running); if (!isPackageManager()) { - d->setStatus(Failure, tr("Application not running in Package Manager mode!")); + d->setStatus(Failure, tr("Application not running in Package Manager mode.")); return false; } @@ -988,7 +988,7 @@ bool PackageManagerCore::fetchLocalPackagesTree() component->loadDataFromPackage(installedPackages.value(key)); const QString &name = component->name(); if (components.contains(name)) { - qCritical("Could not register component! Component with identifier %s already registered.", + qCritical("Cannot register component! Component with identifier %s already registered.", qPrintable(name)); continue; } @@ -1074,7 +1074,7 @@ bool PackageManagerCore::fetchRemotePackagesTree() d->setStatus(Running); if (isUninstaller()) { - d->setStatus(Failure, tr("Application running in Uninstaller mode!")); + d->setStatus(Failure, tr("Application running in Uninstaller mode.")); return false; } @@ -2330,7 +2330,7 @@ bool PackageManagerCore::updateComponentData(struct Data &data, Component *compo // check if we already added the component to the available components list const QString name = data.package->data(scName).toString(); if (data.components->contains(name)) { - qCritical("Could not register component! Component with identifier %s already registered.", + qCritical("Cannot register component! Component with identifier %s already registered.", qPrintable(name)); return false; } diff --git a/src/libs/installer/packagemanagercore_p.cpp b/src/libs/installer/packagemanagercore_p.cpp index ceb1e2f60..84eb057c2 100644 --- a/src/libs/installer/packagemanagercore_p.cpp +++ b/src/libs/installer/packagemanagercore_p.cpp @@ -753,7 +753,7 @@ void PackageManagerCorePrivate::writeMaintenanceConfigFiles() if (cfg.status() != QSettingsWrapper::NoError) { const QString reason = cfg.status() == QSettingsWrapper::AccessError ? tr("Access error") : tr("Format error"); - throw Error(tr("Could not write installer configuration to %1: %2").arg(iniPath, reason)); + throw Error(tr("Cannot write installer configuration to %1: %2").arg(iniPath, reason)); } QFile file(targetDir() + QLatin1Char('/') + QLatin1String("network.xml")); @@ -1009,13 +1009,13 @@ void PackageManagerCorePrivate::writeMaintenanceToolBinary(QFile *const input, q { QFile dummy(resourcePath.filePath(QLatin1String("installer.dat"))); if (dummy.exists() && !dummy.remove()) { - throw Error(tr("Could not remove data file '%1': %2").arg(dummy.fileName(), + throw Error(tr("Cannot remove data file \"%1\": %2").arg(dummy.fileName(), dummy.errorString())); } } if (!dataOut.rename(resourcePath.filePath(QLatin1String("installer.dat")))) { - throw Error(tr("Could not write maintenance tool data to %1: %2").arg(out.fileName(), + throw Error(tr("Cannot write maintenance tool data to %1: %2").arg(out.fileName(), out.errorString())); } dataOut.setAutoRemove(false); @@ -1034,13 +1034,13 @@ void PackageManagerCorePrivate::writeMaintenanceToolBinary(QFile *const input, q { QFile dummy(maintenanceToolRenamedName); if (dummy.exists() && !dummy.remove()) { - throw Error(tr("Could not remove data file '%1': %2").arg(dummy.fileName(), + throw Error(tr("Cannot remove data file \"%1\": %2").arg(dummy.fileName(), dummy.errorString())); } } if (!out.copy(maintenanceToolRenamedName)) { - throw Error(tr("Could not write maintenance tool to %1: %2").arg(maintenanceToolRenamedName, + throw Error(tr("Cannot write maintenance tool to \"%1\": %2").arg(maintenanceToolRenamedName, out.errorString())); } @@ -1072,8 +1072,8 @@ void PackageManagerCorePrivate::writeMaintenanceToolBinaryData(QFileDevice *outp file.remove(); // clear all possible leftovers m_core->setValue(QString::fromLatin1("DefaultResourceReplacement"), QString()); } else { - qWarning() << QString::fromLatin1("Could not replace default resource with '%1'.") - .arg(newDefaultResource); + qWarning() << QString::fromLatin1("Cannot replace default resource with \"%1\".") + .arg(QDir::toNativeSeparators(newDefaultResource)); } } @@ -1261,17 +1261,17 @@ void PackageManagerCorePrivate::writeMaintenanceTool(OperationList performedOper if (!replacementBinary.remove()) { // Is there anything more sensible we can do with this error? I think not. It's not serious // enough for throwing / aborting the process. - qDebug() << QString::fromLatin1("Could not remove installer base binary '%1' after updating " + qDebug() << QString::fromLatin1("Cannot remove installer base binary \"%1\" after updating " "the maintenance tool: %2").arg(installerBaseBinary, replacementBinary.errorString()); } else { - qDebug() << QString::fromLatin1("Removed installer base binary '%1' after updating the " + qDebug() << QString::fromLatin1("Removed installer base binary \"%1\" after updating the " "maintenance tool.").arg(installerBaseBinary); } m_installerBaseBinaryUnreplaced.clear(); } else if (!installerBaseBinary.isEmpty() && !QFileInfo(installerBaseBinary).exists()) { qWarning() << QString::fromLatin1("The current maintenance tool could not be " - "updated. '%1' does not exist. Please fix the 'setInstallerBaseBinary(<temp_installer_base_" - "binary_path>)' call in your script.").arg(installerBaseBinary); + "updated. \"%1\" does not exist. Please fix the \"setInstallerBaseBinary(<temp_installer_base_" + "binary_path>)\" call in your script.").arg(installerBaseBinary); } QFile input; @@ -1281,7 +1281,7 @@ void PackageManagerCorePrivate::writeMaintenanceTool(OperationList performedOper try { if (isInstaller()) { if (QFile::exists(dataFile)) { - qWarning() << QString::fromLatin1("Found binary data file '%1' but " + qWarning() << QString::fromLatin1("Found binary data file \"%1\" but " "deliberately not used. Running as installer requires to read the " "resources from the application binary.").arg(dataFile); } @@ -1332,12 +1332,12 @@ void PackageManagerCorePrivate::writeMaintenanceTool(OperationList performedOper QFile dummy(dataFile + QLatin1String(".new")); if (dummy.exists() && !dummy.remove()) { - throw Error(tr("Could not remove data file '%1': %2").arg(dummy.fileName(), + throw Error(tr("Cannot remove data file \"%1\": %2").arg(dummy.fileName(), dummy.errorString())); } if (!file.rename(dataFile + QLatin1String(".new"))) { - throw Error(tr("Could not write maintenance tool binary data to %1: %2") + throw Error(tr("Cannot write maintenance tool binary data to %1: %2") .arg(file.fileName(), file.errorString())); } file.setAutoRemove(false); @@ -1864,7 +1864,7 @@ void PackageManagerCorePrivate::installComponent(Component *component, double pr bool ignoreError = false; bool ok = performOperationThreaded(operation); while (!ok && !ignoreError && m_core->status() != PackageManagerCore::Canceled) { - qDebug() << QString::fromLatin1("Operation '%1' with arguments: '%2' failed: %3") + qDebug() << QString::fromLatin1("Operation \"%1\" with arguments \"%2\" failed: %3") .arg(operation->name(), operation->arguments().join(QLatin1String("; ")), operation->errorString()); const QMessageBox::StandardButton button = @@ -2111,7 +2111,7 @@ PackagesList PackageManagerCorePrivate::remotePackages() m_updateFinder->run(); if (m_updateFinder->updates().isEmpty()) { - setStatus(PackageManagerCore::Failure, tr("Could not retrieve remote tree: %1.") + setStatus(PackageManagerCore::Failure, tr("Cannot retrieve remote tree %1.") .arg(m_updateFinder->errorString())); return PackagesList(); } @@ -2144,7 +2144,7 @@ LocalPackagesHash PackageManagerCorePrivate::localInstalledPackages() } if (m_localPackageHub->error() != LocalPackageHub::NoError) { - setStatus(PackageManagerCore::Failure, tr("Failure to read packages from: %1.") + setStatus(PackageManagerCore::Failure, tr("Failure to read packages from %1.") .arg(componentsXmlPath())); } @@ -2170,7 +2170,7 @@ bool PackageManagerCorePrivate::fetchMetaInformationFromRepositories() m_metadataJob.start(); m_metadataJob.waitForFinished(); } catch (Error &error) { - setStatus(PackageManagerCore::Failure, tr("Could not retrieve meta information: %1") + setStatus(PackageManagerCore::Failure, tr("Cannot retrieve meta information: %1") .arg(error.message())); return m_repoFetched; } @@ -2221,7 +2221,7 @@ bool PackageManagerCorePrivate::addUpdateResourcesFromRepositories(bool parseChe QInstaller::openForRead(&updatesFile); } catch(const Error &e) { qDebug() << "Error opening Updates.xml:" << e.message(); - setStatus(PackageManagerCore::Failure, tr("Could not add temporary update source information.")); + setStatus(PackageManagerCore::Failure, tr("Cannot add temporary update source information.")); return false; } @@ -2232,7 +2232,7 @@ bool PackageManagerCorePrivate::addUpdateResourcesFromRepositories(bool parseChe if (!doc.setContent(&updatesFile, &error, &line, &column)) { qDebug() << QString::fromLatin1("Parse error in file %4: %1 at line %2 col %3").arg(error, QString::number(line), QString::number(column), updatesFile.fileName()); - setStatus(PackageManagerCore::Failure, tr("Could not add temporary update source information.")); + setStatus(PackageManagerCore::Failure, tr("Cannot add temporary update source information.")); return false; } @@ -2245,7 +2245,7 @@ bool PackageManagerCorePrivate::addUpdateResourcesFromRepositories(bool parseChe } if (m_packageSources.count() == 0) { - setStatus(PackageManagerCore::Failure, tr("Could not find any update source information.")); + setStatus(PackageManagerCore::Failure, tr("Cannot find any update source information.")); return false; } @@ -2310,7 +2310,7 @@ OperationList PackageManagerCorePrivate::sortOperationsBasedOnComponentDependenc const QStringList resolvedComponents = componentGraph.sort(); if (componentGraph.hasCycle()) { - throw Error(tr("Dependency cycle between components detected: '%1' and '%2'.") + throw Error(tr("Dependency cycle between components \"%1\" and \"%2\" detected.") .arg(componentGraph.cycle().first, componentGraph.cycle().second)); } foreach (const QString &componentName, resolvedComponents) @@ -2335,7 +2335,7 @@ void PackageManagerCorePrivate::processFilesForDelayedDeletion() foreach (const QString &i, filesForDelayedDeletion) { QFile file(i); //TODO: this should happen asnyc and report errors, I guess if (file.exists() && !file.remove()) { - qWarning("Could not delete file %s: %s", qPrintable(i), + qWarning("Cannot delete file %s: %s", qPrintable(i), qPrintable(file.errorString())); m_filesForDelayedDeletion << i; // try again next time } diff --git a/src/libs/installer/packagemanagergui.cpp b/src/libs/installer/packagemanagergui.cpp index a180f3a7a..d25e9f486 100644 --- a/src/libs/installer/packagemanagergui.cpp +++ b/src/libs/installer/packagemanagergui.cpp @@ -2159,7 +2159,7 @@ TargetDirectoryPage::TargetDirectoryPage(PackageManagerCore *core) QLabel *msgLabel = new QLabel(this); msgLabel->setWordWrap(true); msgLabel->setObjectName(QLatin1String("MessageLabel")); - msgLabel->setText(tr("Please specify the folder where %1 will be installed.").arg(productName())); + msgLabel->setText(tr("Please specify the directory where %1 will be installed.").arg(productName())); layout->addWidget(msgLabel); QHBoxLayout *hlayout = new QHBoxLayout; @@ -2267,14 +2267,14 @@ bool TargetDirectoryPage::validatePage() QFileInfo fi2(targetDir + QDir::separator() + fileName); if (fi2.exists()) { - return failWithError(QLatin1String("TargetDirectoryInUse"), tr("The folder you selected already " + return failWithError(QLatin1String("TargetDirectoryInUse"), tr("The directory you selected already " "exists and contains an installation. Choose a different target for installation.")); } return askQuestion(QLatin1String("OverwriteTargetDirectory"), - tr("You have selected an existing, non-empty folder for installation.\nNote that it will be " + tr("You have selected an existing, non-empty directory for installation.\nNote that it will be " "completely wiped on uninstallation of this application.\nIt is not advisable to install into " - "this folder as installation might fail.\nDo you want to continue?")); + "this directory as installation might fail.\nDo you want to continue?")); } else if (fi.isFile() || fi.isSymLink()) { return failWithError(QLatin1String("WrongTargetDirectory"), tr("You have selected an existing file " "or symlink, please choose a different target for installation.")); @@ -2329,7 +2329,7 @@ bool TargetDirectoryPage::isComplete() const QString TargetDirectoryPage::targetDirWarning() const { if (targetDir().isEmpty()) - return tr("The installation path cannot be empty, please specify a valid folder."); + return tr("The installation path cannot be empty, please specify a valid directory."); QDir target(targetDir()); if (target.isRelative()) @@ -2392,7 +2392,7 @@ QString TargetDirectoryPage::targetDirWarning() const } if (nativeTargetDir.endsWith(QLatin1Char('.'))) - return tr("The installation path must not end with '.', please specify a valid folder."); + return tr("The installation path must not end with '.', please specify a valid directory."); QString ambiguousChars = QLatin1String("[\"~<>|?*!@#$%^&:,; ]" "|(\\\\CON)|(\\\\PRN)|(\\\\AUX)|(\\\\NUL)|(\\\\COM\\d)|(\\\\LPT\\d)"); @@ -2407,8 +2407,8 @@ QString TargetDirectoryPage::targetDirWarning() const // check if there are not allowed characters in the target path QRegularExpressionMatch match = ambCharRegEx.match(nativeTargetDir); if (match.hasMatch()) { - return tr("The installation path must not contain '%1', " - "please specify a valid folder.").arg(match.captured(0)); + return tr("The installation path must not contain \"%1\", " + "please specify a valid directory.").arg(match.captured(0)); } return QString(); @@ -2453,7 +2453,7 @@ StartMenuDirectoryPage::StartMenuDirectoryPage(PackageManagerCore *core) setObjectName(QLatin1String("StartMenuDirectoryPage")); setColoredTitle(tr("Start Menu shortcuts")); setColoredSubTitle(tr("Select the Start Menu in which you would like to create the program's " - "shortcuts. You can also enter a name to create a new folder.")); + "shortcuts. You can also enter a name to create a new directory.")); m_lineEdit = new QLineEdit(this); m_lineEdit->setText(core->value(scStartMenuDir, productName())); @@ -2610,7 +2610,7 @@ void ReadyForInstallationPage::entering() // at the moment there is no better way to check this if (targetVolume.size() == 0 && installVolumeAvailableSize == 0) { - qDebug() << QString::fromLatin1("Could not determine available space on device. Volume " + qDebug() << QString::fromLatin1("Cannot determine available space on device. Volume " "descriptor: %1, Mount path: %2. Continue silently.").arg(targetVolume .volumeDescriptor(), targetVolume.mountPath()); return; // TODO: Shouldn't this also disable the "Next" button? @@ -2618,11 +2618,11 @@ void ReadyForInstallationPage::entering() const bool tempOnSameVolume = (targetVolume == tempVolume); if (tempOnSameVolume) { - qDebug() << "Tmp and install folder are on the same volume. Volume mount point:" + qDebug() << "Tmp and install directories are on the same volume. Volume mount point:" << targetVolume.mountPath() << "Free space available:" << humanReadableSize(installVolumeAvailableSize); } else { - qDebug() << "Tmp is on a different volume than the install folder. Tmp volume mount point:" + qDebug() << "Tmp is on a different volume than the installation directory. Tmp volume mount point:" << tempVolume.mountPath() << "Free space available:" << humanReadableSize(tempVolumeAvailableSize) << "Install volume mount point:" << targetVolume.mountPath() << "Free space available:" @@ -2654,7 +2654,7 @@ void ReadyForInstallationPage::entering() if (tempOnSameVolume && (installVolumeAvailableSize <= (required + tempRequired))) { m_msgLabel->setText(tr("Not enough disk space to store temporary files and the " - "installation! Available space: %1, at least required %2.") + "installation. %1 are available, while %2 are at least required.") .arg(humanReadableSize(installVolumeAvailableSize), humanReadableSize(required + tempRequired))); setComplete(false); @@ -2662,16 +2662,16 @@ void ReadyForInstallationPage::entering() } if (installVolumeAvailableSize < required) { - m_msgLabel->setText(tr("Not enough disk space to store all selected components! Available " - "space: %1, at least required: %2.").arg(humanReadableSize(installVolumeAvailableSize), + m_msgLabel->setText(tr("Not enough disk space to store all selected components! %1 are available " + "while %2 are at least required.").arg(humanReadableSize(installVolumeAvailableSize), humanReadableSize(required))); setComplete(false); return; } if (tempVolumeAvailableSize < tempRequired) { - m_msgLabel->setText(tr("Not enough disk space to store temporary files! Available space: " - "%1, at least required: %2.").arg(humanReadableSize(tempVolumeAvailableSize), + m_msgLabel->setText(tr("Not enough disk space to store temporary files! %1 are available " + "while %2 are at least required.").arg(humanReadableSize(tempVolumeAvailableSize), humanReadableSize(tempRequired))); setComplete(false); return; diff --git a/src/libs/installer/qtpatch.cpp b/src/libs/installer/qtpatch.cpp index 963865c7b..88020fddb 100644 --- a/src/libs/installer/qtpatch.cpp +++ b/src/libs/installer/qtpatch.cpp @@ -174,7 +174,7 @@ bool QtPatch::patchTextFile(const QString &fileName, QFile file(fileName); if (!file.open(QFile::ReadOnly)) { - qDebug() << QString::fromLatin1("qpatch: warning: Open the file '%1' stopped: %2").arg( + qDebug() << QString::fromLatin1("Cannot open file \"%1\" for patching: %2").arg( fileName, file.errorString()); return false; } @@ -189,7 +189,7 @@ bool QtPatch::patchTextFile(const QString &fileName, } if (!file.open(QFile::WriteOnly | QFile::Truncate)) { - qDebug() << QString::fromLatin1("qpatch: error: file '%1' not writable").arg(fileName); + qDebug() << QString::fromLatin1("File \"%1\" not writable.").arg(fileName); return false; } @@ -209,7 +209,7 @@ bool QtPatch::openFileForPatching(QFile *file) } return file->openMode() == QFile::ReadWrite; } - qDebug() << QString::fromLatin1("qpatch: error: File '%1 is open, so it cannot be opened again.").arg( + qDebug() << QString::fromLatin1("File \"%1\" is open, so it cannot be opened again.").arg( file->fileName()); return false; } diff --git a/src/libs/installer/remoteclient_p.h b/src/libs/installer/remoteclient_p.h index 9baef7aa9..9762de3a3 100644 --- a/src/libs/installer/remoteclient_p.h +++ b/src/libs/installer/remoteclient_p.h @@ -132,8 +132,8 @@ public: const QMessageBox::Button res = MessageBoxHandler::critical(MessageBoxHandler::currentBestSuitParent(), QLatin1String("AuthorizationError"), - QCoreApplication::translate("RemoteClient", "Could not get authorization."), - QCoreApplication::translate("RemoteClient", "Could not get authorization that " + QCoreApplication::translate("RemoteClient", "Cannot get authorization."), + QCoreApplication::translate("RemoteClient", "Cannot get authorization that " "is needed for continuing the installation.\n Either abort the " "installation or use the fallback solution by running\n\n%1\n\nas root " "and then clicking OK.").arg(fallback), diff --git a/src/libs/installer/remoteobject.h b/src/libs/installer/remoteobject.h index 18cd1ccbb..8db843177 100644 --- a/src/libs/installer/remoteobject.h +++ b/src/libs/installer/remoteobject.h @@ -97,7 +97,7 @@ public: QByteArray data; while (!receivePacket(m_socket, &command, &data)) { if (!m_socket->waitForReadyRead(-1)) { - throw Error(tr("Could not read all data after sending command: %1. " + throw Error(tr("Cannot read all data after sending command: %1. " "Bytes expected: %2, Bytes received: %3. Error: %4").arg(name).arg(0) .arg(m_socket->bytesAvailable()).arg(m_socket->errorString())); } diff --git a/src/libs/installer/replaceoperation.cpp b/src/libs/installer/replaceoperation.cpp index 98a0e7bc9..8911534bb 100644 --- a/src/libs/installer/replaceoperation.cpp +++ b/src/libs/installer/replaceoperation.cpp @@ -66,7 +66,8 @@ bool ReplaceOperation::performOperation() QFile file(fileName); if (!file.open(QIODevice::ReadOnly)) { setError(UserDefinedError); - setErrorString(tr("Failed to open %1 for reading").arg(fileName)); + setErrorString(tr("Cannot open file \"%1\" for reading: %2").arg( + QDir::toNativeSeparators(fileName), file.errorString())); return false; } @@ -76,7 +77,8 @@ bool ReplaceOperation::performOperation() if (!file.open(QIODevice::WriteOnly)) { setError(UserDefinedError); - setErrorString(tr("Failed to open %1 for writing").arg(fileName)); + setErrorString(tr("Cannot open file \"%1\" for writing: %2").arg( + QDir::toNativeSeparators(fileName), file.errorString())); return false; } diff --git a/src/libs/installer/scriptengine.cpp b/src/libs/installer/scriptengine.cpp index e3f82194c..eebfdf214 100644 --- a/src/libs/installer/scriptengine.cpp +++ b/src/libs/installer/scriptengine.cpp @@ -372,7 +372,7 @@ QJSValue ScriptEngine::loadInContext(const QString &context, const QString &file { QFile file(fileName); if (!file.open(QIODevice::ReadOnly)) { - throw Error(tr("Could not open the requested script file at %1: %2.") + throw Error(tr("Cannot open script file at %1: %2") .arg(fileName, file.errorString())); } @@ -390,9 +390,10 @@ QJSValue ScriptEngine::loadInContext(const QString &context, const QString &file QJSValue scriptContext = evaluate(scriptContent, fileName); scriptContext.setProperty(QLatin1String("Uuid"), QUuid::createUuid().toString()); if (scriptContext.isError()) { - throw Error(tr("Exception while loading the component script '%1'. (%2)").arg( - QFileInfo(file).absoluteFilePath(), scriptContext.toString().isEmpty() ? - QString::fromLatin1("Unknown error.") : scriptContext.toString())); + throw Error(tr("Exception while loading the component script \"%1\": %2").arg( + QDir::toNativeSeparators(QFileInfo(file).absoluteFilePath()), + scriptContext.toString().isEmpty() ? + tr("Unknown error.") : scriptContext.toString())); } return scriptContext; } diff --git a/src/libs/installer/selfrestartoperation.cpp b/src/libs/installer/selfrestartoperation.cpp index 8b1f6b0e8..54df7aa9e 100644 --- a/src/libs/installer/selfrestartoperation.cpp +++ b/src/libs/installer/selfrestartoperation.cpp @@ -54,7 +54,7 @@ bool SelfRestartOperation::performOperation() PackageManagerCore *const core = value(QLatin1String("installer")).value<PackageManagerCore*>(); if (!core) { setError(UserDefinedError); - setErrorString(tr("Installer object needed in '%1' operation is empty.").arg(name())); + setErrorString(tr("Installer object needed in operation %1 is empty.").arg(name())); return false; } diff --git a/src/libs/installer/settings.cpp b/src/libs/installer/settings.cpp index bf13a22d8..f46388d2d 100644 --- a/src/libs/installer/settings.cpp +++ b/src/libs/installer/settings.cpp @@ -104,7 +104,7 @@ static QStringList readArgumentAttributes(QXmlStreamReader &reader, Settings::Pa switch (token) { case QXmlStreamReader::StartElement: { if (!reader.attributes().isEmpty()) { - raiseError(reader, QString::fromLatin1("Unexpected attribute for element '%1'.") + raiseError(reader, QString::fromLatin1("Unexpected attribute for element \"%1\".") .arg(reader.name().toString()), parseMode); return arguments; } else { @@ -112,7 +112,7 @@ static QStringList readArgumentAttributes(QXmlStreamReader &reader, Settings::Pa (lc) ? arguments.append(reader.readElementText().toLower()) : arguments.append(reader.readElementText()); } else { - raiseError(reader, QString::fromLatin1("Unexpected element '%1'.").arg(reader.name() + raiseError(reader, QString::fromLatin1("Unexpected element \"%1\".").arg(reader.name() .toString()), parseMode); return arguments; } @@ -154,23 +154,23 @@ static QSet<Repository> readRepositories(QXmlStreamReader &reader, bool isDefaul } else if (reader.name() == QLatin1String("Enabled")) { repo.setEnabled(bool(reader.readElementText().toInt())); } else { - raiseError(reader, QString::fromLatin1("Unexpected element '%1'.").arg(reader.name() + raiseError(reader, QString::fromLatin1("Unexpected element \"%1\".").arg(reader.name() .toString()), parseMode); } if (!reader.attributes().isEmpty()) { - raiseError(reader, QString::fromLatin1("Unexpected attribute for element '%1'.") + raiseError(reader, QString::fromLatin1("Unexpected attribute for element \"%1\".") .arg(reader.name().toString()), parseMode); } } set.insert(repo); } else { - raiseError(reader, QString::fromLatin1("Unexpected element '%1'.").arg(reader.name().toString()), + raiseError(reader, QString::fromLatin1("Unexpected element \"%1\".").arg(reader.name().toString()), parseMode); } if (!reader.attributes().isEmpty()) { - raiseError(reader, QString::fromLatin1("Unexpected attribute for element '%1'.").arg(reader + raiseError(reader, QString::fromLatin1("Unexpected attribute for element \"%1\".").arg(reader .name().toString()), parseMode); } } @@ -237,12 +237,12 @@ Settings Settings::fromFileAndPrefix(const QString &path, const QString &prefix, file.setFileName(overrideConfig.fileName()); if (!file.open(QIODevice::ReadOnly)) - throw Error(tr("Could not open settings file %1 for reading: %2").arg(path, file.errorString())); + throw Error(tr("Cannot open settings file %1 for reading: %2").arg(path, file.errorString())); QXmlStreamReader reader(&file); if (reader.readNextStartElement()) { if (reader.name() != QLatin1String("Installer")) { - reader.raiseError(QString::fromLatin1("Unexpected element '%1' as root element.").arg(reader + reader.raiseError(QString::fromLatin1("Unexpected element \"%1\" as root element.").arg(reader .name().toString())); } } @@ -265,15 +265,15 @@ Settings Settings::fromFileAndPrefix(const QString &path, const QString &prefix, while (reader.readNextStartElement()) { const QString name = reader.name().toString(); if (!elementList.contains(name)) - raiseError(reader, QString::fromLatin1("Unexpected element '%1'.").arg(name), parseMode); + raiseError(reader, QString::fromLatin1("Unexpected element \"%1\".").arg(name), parseMode); if (!reader.attributes().isEmpty()) { - raiseError(reader, QString::fromLatin1("Unexpected attribute for element '%1'.").arg(name), + raiseError(reader, QString::fromLatin1("Unexpected attribute for element \"%1\".").arg(name), parseMode); } if (s.d->m_data.contains(name)) - reader.raiseError(QString::fromLatin1("Element '%1' has been defined before.").arg(name)); + reader.raiseError(QString::fromLatin1("Element \"%1\" has been defined before.").arg(name)); if (name == scTranslations) { s.setTranslations(readArgumentAttributes(reader, parseMode, QLatin1String("Translation"), true)); diff --git a/src/libs/installer/settingsoperation.cpp b/src/libs/installer/settingsoperation.cpp index 9a9d7c471..2cb36bf48 100644 --- a/src/libs/installer/settingsoperation.cpp +++ b/src/libs/installer/settingsoperation.cpp @@ -69,7 +69,7 @@ bool SettingsOperation::checkArguments() if (!missingArguments.isEmpty()) { setError(InvalidArguments); - setErrorString(tr("Missing argument(s) '%1' calling '%2' with arguments '%3'.").arg( + setErrorString(tr("Missing argument(s) \"%1\" calling %2 with arguments \"%3\".").arg( missingArguments.join(QLatin1String("; ")), name(), arguments().join(QLatin1String("; ")))); return false; } @@ -79,7 +79,7 @@ bool SettingsOperation::checkArguments() if (!possibleMethodValues.contains(method)) { setError(InvalidArguments); - setErrorString(tr("Current method argument calling '%1' with arguments '%2' is not " + setErrorString(tr("Current method argument calling \"%1\" with arguments \"%2\" is not " "supported. Please use set, remove, add_array_value or remove_array_value.").arg(name(), arguments().join(QLatin1String("; ")))); return false; diff --git a/src/libs/installer/simplemovefileoperation.cpp b/src/libs/installer/simplemovefileoperation.cpp index 54a5583ee..ce643020d 100644 --- a/src/libs/installer/simplemovefileoperation.cpp +++ b/src/libs/installer/simplemovefileoperation.cpp @@ -34,6 +34,7 @@ #include "simplemovefileoperation.h" +#include <QDir> #include <QtCore/QFileInfo> namespace QInstaller { @@ -58,8 +59,8 @@ bool SimpleMoveFileOperation::performOperation() if (source.isEmpty() || target.isEmpty()) { setError(UserDefinedError); - setErrorString(tr("None of the arguments can be empty: source '%1', target '%2'.") - .arg(source, target)); + setErrorString(tr("None of the arguments can be empty: source \"%1\", target \"%2\".") + .arg(QDir::toNativeSeparators(source), QDir::toNativeSeparators(target))); return false; } @@ -69,8 +70,8 @@ bool SimpleMoveFileOperation::performOperation() if (file.exists()) { if (!file.remove()) { setError(UserDefinedError); - setErrorString(tr("Cannot move source '%1' to target '%2', because target exists and is " - "not removable.").arg(source, target)); + setErrorString(tr("Cannot move file from \"%1\" to \"%2\", because the target path exists and is " + "not removable.").arg(QDir::toNativeSeparators(source), QDir::toNativeSeparators(target))); return false; } } @@ -78,12 +79,14 @@ bool SimpleMoveFileOperation::performOperation() file.setFileName(source); if (!file.rename(target)) { setError(UserDefinedError); - setErrorString(tr("Cannot move source '%1' to target '%2': %3").arg(source, target, - file.errorString())); + setErrorString(tr("Cannot move file \"%1\" to \"%2\": %3").arg( + QDir::toNativeSeparators(source), QDir::toNativeSeparators(target), + file.errorString())); return false; } - emit outputTextChanged(tr("Move '%1' to '%2'.").arg(source, target)); + emit outputTextChanged(tr("Moving file \"%1\" to \"%2\".").arg(QDir::toNativeSeparators(source), + QDir::toNativeSeparators(target))); return true; } @@ -93,7 +96,8 @@ bool SimpleMoveFileOperation::undoOperation() const QString target = arguments().at(1); QFile(target).rename(source); - emit outputTextChanged(tr("Move '%1' to '%2'.").arg(target, source)); + emit outputTextChanged(tr("Moving file \"%1\" to \"%2\".").arg(QDir::toNativeSeparators(target), + QDir::toNativeSeparators(source))); return true; } diff --git a/src/libs/installer/testrepository.cpp b/src/libs/installer/testrepository.cpp index 1dcba41ae..10e2673e4 100644 --- a/src/libs/installer/testrepository.cpp +++ b/src/libs/installer/testrepository.cpp @@ -110,7 +110,7 @@ void TestRepository::doCancel() if (m_downloader) { QString errorString = m_downloader->errorString(); if (errorString.isEmpty()) - errorString = tr("Got a timeout while testing: '%1'").arg(m_repository.displayname()); + errorString = tr("Got a timeout while testing \"%1\".").arg(m_repository.displayname()); // at the moment the download sends downloadCompleted() if we cancel it, so just disconnect(m_downloader, 0, this, 0); m_downloader->cancelDownload(); @@ -130,15 +130,15 @@ void TestRepository::downloadCompleted() QString errorMsg; if (!doc.setContent(&file, &errorMsg)) { error = InvalidUpdatesXml; - errorMsg = tr("Could not parse Updates.xml! Error: %1.").arg(errorMsg); + errorMsg = tr("Cannot parse Updates.xml: %1").arg(errorMsg); } else { error = NoError; } } else { - errorMsg = tr("Updates.xml could not be opened for reading!"); + errorMsg = tr("Updates.xml could not be opened for reading."); } } else { - errorMsg = tr("Updates.xml could not be found on server!"); + errorMsg = tr("Updates.xml could not be found on server."); } if (error > NoError) diff --git a/src/libs/kdtools/kdlockfile_unix.cpp b/src/libs/kdtools/kdlockfile_unix.cpp index 938961ac2..d763c7c14 100644 --- a/src/libs/kdtools/kdlockfile_unix.cpp +++ b/src/libs/kdtools/kdlockfile_unix.cpp @@ -36,6 +36,7 @@ #include "kdlockfile_p.h" #include <QCoreApplication> +#include <QDir> #include <cerrno> #include <sys/file.h> @@ -50,8 +51,8 @@ bool KDLockFile::Private::lock() errno = 0; handle = open(filename.toLatin1().constData(), O_CREAT | O_RDWR | O_NONBLOCK, 0600); if (handle == -1) { - errorString = QCoreApplication::translate("KDLockFile", "Could not create lock file '%1': " - "%2").arg(filename, QString::fromLocal8Bit(strerror(errno))); + errorString = QCoreApplication::translate("KDLockFile", "Cannot create lock file \"%1\": " + "%2").arg(QDir::toNativeSeparators(filename), QString::fromLocal8Bit(strerror(errno))); return false; } const QString pid = QString::number(qApp->applicationPid()); @@ -61,8 +62,8 @@ bool KDLockFile::Private::lock() while (written < data.size()) { const qint64 n = write(handle, data.constData() + written, data.size() - written); if (n < 0) { - errorString = QCoreApplication::translate("KDLockFile", "Could not write PID to lock " - "file '%1': %2").arg(filename, QString::fromLocal8Bit(strerror(errno))); + errorString = QCoreApplication::translate("KDLockFile", "Cannot write PID to lock " + "file \"%1\": %2").arg(QDir::toNativeSeparators(filename), QString::fromLocal8Bit(strerror(errno))); return false; } written += n; @@ -70,8 +71,8 @@ bool KDLockFile::Private::lock() errno = 0; locked = flock(handle, LOCK_NB | LOCK_EX) != -1; if (!locked) { - errorString = QCoreApplication::translate("KDLockFile", "Could not obtain the lock for " - "file '%1': %2").arg(filename, QString::fromLocal8Bit(strerror(errno))); + errorString = QCoreApplication::translate("KDLockFile", "Cannot obtain the lock for " + "file \"%1\": %2").arg(QDir::toNativeSeparators(filename), QString::fromLocal8Bit(strerror(errno))); } return locked; } @@ -85,8 +86,8 @@ bool KDLockFile::Private::unlock() errno = 0; locked = flock(handle, LOCK_UN | LOCK_NB) == -1; if (locked) { - errorString = QCoreApplication::translate("KDLockFile", "Could not release the lock for " - "file '%1': %2").arg(filename, QString::fromLocal8Bit(strerror(errno))); + errorString = QCoreApplication::translate("KDLockFile", "Cannot release the lock for " + "file \"%1\": %2").arg(QDir::toNativeSeparators(filename), QString::fromLocal8Bit(strerror(errno))); } else { unlink(filename.toLatin1()); } diff --git a/src/libs/kdtools/kdlockfile_win.cpp b/src/libs/kdtools/kdlockfile_win.cpp index 963ba682f..b3241b003 100644 --- a/src/libs/kdtools/kdlockfile_win.cpp +++ b/src/libs/kdtools/kdlockfile_win.cpp @@ -39,6 +39,7 @@ #include <utils.h> #include <QCoreApplication> +#include <QDir> #include <QFileInfo> bool KDLockFile::Private::lock() @@ -52,23 +53,23 @@ bool KDLockFile::Private::lock() FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_TEMPORARY | FILE_FLAG_DELETE_ON_CLOSE, NULL); if (handle == INVALID_HANDLE_VALUE) { - errorString = QCoreApplication::translate("KDLockFile", "Could not create lock file '%1': " - "%2").arg(filename, QInstaller::windowsErrorString(GetLastError())); + errorString = QCoreApplication::translate("KDLockFile", "Cannot create lock file \"%1\": " + "%2").arg(QDir::toNativeSeparators(filename), QInstaller::windowsErrorString(GetLastError())); return false; } DWORD bytesWritten; const QByteArray pid = QString::number(QCoreApplication::applicationPid()).toLatin1(); if (!WriteFile(handle, pid.data(), pid.size(), &bytesWritten, NULL)) { - errorString = QCoreApplication::translate("KDLockFile", "Could not write PID to lock file " - "'%1': %2").arg(filename, QInstaller::windowsErrorString(GetLastError())); + errorString = QCoreApplication::translate("KDLockFile", "Cannot write PID to lock file " + "\"%1\": %2").arg(QDir::toNativeSeparators(filename), QInstaller::windowsErrorString(GetLastError())); return false; } FlushFileBuffers(handle); if (!LockFile(handle, 0, 0, QFileInfo(filename).size(), 0)) { - errorString = QCoreApplication::translate("KDLockFile", "Could not obtain the lock for " - "file '%1': %2").arg(filename, QInstaller::windowsErrorString(GetLastError())); + errorString = QCoreApplication::translate("KDLockFile", "Cannot obtain the lock for " + "file \"%1\": %2").arg(QDir::toNativeSeparators(filename), QInstaller::windowsErrorString(GetLastError())); } else { locked = true; } @@ -82,8 +83,8 @@ bool KDLockFile::Private::unlock() return true; if (!UnlockFile(handle, 0, 0, QFileInfo(filename).size(), 0)) { - errorString = QCoreApplication::translate("KDLockFile", "Could not release the lock for " - "file '%1': %2").arg(filename, QInstaller::windowsErrorString(GetLastError())); + errorString = QCoreApplication::translate("KDLockFile", "Cannot release the lock for " + "file \"%1\": %2").arg(QDir::toNativeSeparators(filename), QInstaller::windowsErrorString(GetLastError())); } else { locked = false; CloseHandle(handle); diff --git a/src/libs/kdtools/kdsysinfo_x11.cpp b/src/libs/kdtools/kdsysinfo_x11.cpp index 1e0a109b7..41575f775 100644 --- a/src/libs/kdtools/kdsysinfo_x11.cpp +++ b/src/libs/kdtools/kdsysinfo_x11.cpp @@ -76,7 +76,7 @@ QList<VolumeInfo> mountedVolumes() QFile f(QLatin1String("/etc/mtab")); if (!f.open(QIODevice::ReadOnly)) { - qCritical("%s: Could not open %s: %s", Q_FUNC_INFO, qPrintable(f.fileName()), qPrintable(f.errorString())); + qCritical("%s: Cannot open %s: %s", Q_FUNC_INFO, qPrintable(f.fileName()), qPrintable(f.errorString())); return result; //better error-handling? } diff --git a/src/libs/kdtools/kdupdaterfiledownloader.cpp b/src/libs/kdtools/kdupdaterfiledownloader.cpp index 98234920c..919a0a20e 100644 --- a/src/libs/kdtools/kdupdaterfiledownloader.cpp +++ b/src/libs/kdtools/kdupdaterfiledownloader.cpp @@ -39,6 +39,7 @@ #include <fileutils.h> #include <QDialog> +#include <QDir> #include <QFile> #include <QtNetwork/QNetworkAccessManager> #include <QtNetwork/QNetworkProxyFactory> @@ -696,8 +697,8 @@ void KDUpdater::LocalFileDownloader::doDownload() d->source = new QFile(localFile, this); if (!d->source->open(QFile::ReadOnly)) { onError(); - setDownloadAborted(tr("Cannot open source file '%1' for reading.").arg(QFileInfo(localFile) - .fileName())); + setDownloadAborted(tr("Cannot open file \"%1\" for reading: %2").arg(QFileInfo(localFile) + .fileName(), d->source->errorString())); return; } @@ -712,8 +713,8 @@ void KDUpdater::LocalFileDownloader::doDownload() if (!d->destination->isOpen()) { onError(); - setDownloadAborted(tr("Cannot open destination file '%1' for writing.") - .arg(QFileInfo(d->destination->fileName()).fileName())); + setDownloadAborted(tr("Cannot open file \"%1\" for writing: %2") + .arg(QFileInfo(d->destination->fileName()).fileName(), d->destination->errorString())); return; } @@ -785,8 +786,9 @@ void KDUpdater::LocalFileDownloader::timerEvent(QTimerEvent *event) killTimer(d->timerId); d->timerId = -1; onError(); - setDownloadAborted(tr("Writing to %1 failed: %2").arg(d->destination->fileName(), - d->destination->errorString())); + setDownloadAborted(tr("Writing to file \"%1\" failed: %2").arg( + QDir::toNativeSeparators(d->destination->fileName()), + d->destination->errorString())); return; } toWrite -= numWritten; @@ -975,7 +977,7 @@ void KDUpdater::ResourceFileDownloader::timerEvent(QTimerEvent *event) onError(); killTimer(d->timerId); emit downloadProgress(1); - setDownloadAborted(tr("Could not read resource file \"%1\". Reason:").arg(downloadedFileName(), + setDownloadAborted(tr("Cannot read resource file \"%1\": %2").arg(downloadedFileName(), d->destFile.errorString())); return; } @@ -1163,7 +1165,7 @@ void KDUpdater::HttpDownloader::httpReadyRead() const QString error = d->destination->errorString(); const QString fileName = d->destination->fileName(); d->shutDown(); - setDownloadAborted(tr("Cannot download %1: Writing to file '%2' failed: %3") + setDownloadAborted(tr("Cannot download %1. Writing to file \"%2\" failed: %3") .arg(url().toString(), fileName, error)); return; } @@ -1313,7 +1315,7 @@ void KDUpdater::HttpDownloader::startDownload(const QUrl &url) const QString error = d->destination->errorString(); const QString fileName = d->destination->fileName(); d->shutDown(); - setDownloadAborted(tr("Cannot download %1: Could not create %2: %3").arg( + setDownloadAborted(tr("Cannot download %1. Cannot create file \"%2\": %3").arg( url.toString(), fileName, error)); } } diff --git a/src/libs/kdtools/kdupdaterfiledownloaderfactory.cpp b/src/libs/kdtools/kdupdaterfiledownloaderfactory.cpp index fad1023d1..2321e7667 100644 --- a/src/libs/kdtools/kdupdaterfiledownloaderfactory.cpp +++ b/src/libs/kdtools/kdupdaterfiledownloaderfactory.cpp @@ -74,7 +74,7 @@ FileDownloaderFactory::FileDownloaderFactory() if (QSslSocket::supportsSsl()) registerFileDownloader<HttpDownloader>(QLatin1String("https")); else - qWarning() << "Could not register file downloader for https protocol: QSslSocket::supportsSsl() returns false"; + qWarning() << "Cannot register file downloader for https protocol: QSslSocket::supportsSsl() returns false"; #endif d->m_followRedirects = false; diff --git a/src/libs/kdtools/kdupdaterupdatefinder.cpp b/src/libs/kdtools/kdupdaterupdatefinder.cpp index 7c12213a7..987ad6335 100644 --- a/src/libs/kdtools/kdupdaterupdatefinder.cpp +++ b/src/libs/kdtools/kdupdaterupdatefinder.cpp @@ -180,7 +180,7 @@ void UpdateFinder::Private::computeUpdates() // First do some quick sanity checks on the packages info std::shared_ptr<LocalPackageHub> packages = m_localPackageHub.lock(); if (!packages) { - q->reportError(tr("Could not access the package information of this application.")); + q->reportError(tr("Cannot access the package information of this application.")); return; } @@ -294,7 +294,7 @@ bool UpdateFinder::Private::downloadUpdateXMLFiles() const Data data = m_updatesInfoList.value(updatesInfo); if (data.downloader) { if (!data.downloader->isDownloaded()) { - q->reportError(tr("Could not download package source %1 from ('%2')").arg(data + q->reportError(tr("Cannot download package source %1 from \"%2\".").arg(data .downloader->url().fileName(), data.info.url.toString())); } else { updatesInfo->setFileName(data.downloader->downloadedFileName()); diff --git a/src/libs/kdtools/kdupdaterupdateoperation.cpp b/src/libs/kdtools/kdupdaterupdateoperation.cpp index 8ecf6d3a5..8940609e1 100644 --- a/src/libs/kdtools/kdupdaterupdateoperation.cpp +++ b/src/libs/kdtools/kdupdaterupdateoperation.cpp @@ -250,7 +250,7 @@ QString UpdateOperation::argumentKeyValue(const QString &key, const QString &def it = std::find_if(++it, tArguments.end(), StartsWith(keySeparater)); if (it != tArguments.end()) { qWarning() << QString::fromLatin1("There are multiple keys in the arguments calling" - " '%1'. Only the first found '%2' is used: '%3'").arg(name(), key, arguments().join( + " \"%1\". Only the first found \"%2\" is used: \"%3\"").arg(name(), key, arguments().join( QLatin1String("; "))); } return value; @@ -340,7 +340,8 @@ bool UpdateOperation::deleteFileNowOrLater(const QString &file, QString *errorSt QFile f(file); if (!f.rename(backup)) { if (errorString) - *errorString = tr("Renaming %1 into %2 failed with %3.").arg(file, backup, f.errorString()); + *errorString = tr("Renaming file \"%1\" to \"%2\" failed: %3").arg( + QDir::toNativeSeparators(file), QDir::toNativeSeparators(backup), f.errorString()); return false; } registerForDelayedDeletion(QStringList(backup)); diff --git a/src/libs/kdtools/kdupdaterupdateoperations.cpp b/src/libs/kdtools/kdupdaterupdateoperations.cpp index 90dbc7d60..944679070 100644 --- a/src/libs/kdtools/kdupdaterupdateoperations.cpp +++ b/src/libs/kdtools/kdupdaterupdateoperations.cpp @@ -139,7 +139,7 @@ void CopyOperation::backup() // race condition: The backup file could get created by another process right now. But this is the same // in QFile::copy... if (!QFile::rename(destination, value(QLatin1String("backupOfExistingDestination")).toString())) - setError(UserDefinedError, tr("Could not backup file %1.").arg(destination)); + setError(UserDefinedError, tr("Cannot backup file \"%1\".").arg(QDir::toNativeSeparators(destination))); } bool CopyOperation::performOperation() @@ -155,7 +155,7 @@ bool CopyOperation::performOperation() QFile sourceFile(source); if (!sourceFile.exists()) { setError(UserDefinedError); - setErrorString(tr("Could not copy a non-existent file: %1").arg(source)); + setErrorString(tr("Cannot copy a non-existent file: %1").arg(QDir::toNativeSeparators(source))); return false; } // If destination file exists, we cannot use QFile::copy() because it does not overwrite an existing @@ -164,7 +164,8 @@ bool CopyOperation::performOperation() if (destinationFile.exists()) { if (!destinationFile.remove()) { setError(UserDefinedError); - setErrorString(tr("Could not remove destination file %1: %2").arg(destination, destinationFile.errorString())); + setErrorString(tr("Cannot remove file \"%1\": %2").arg( + QDir::toNativeSeparators(destination), destinationFile.errorString())); return false; } } @@ -172,7 +173,9 @@ bool CopyOperation::performOperation() const bool copied = sourceFile.copy(destination); if (!copied) { setError(UserDefinedError); - setErrorString(tr("Could not copy %1 to %2: %3").arg(source, destination, sourceFile.errorString())); + setErrorString(tr("Cannot copy file \"%1\" to \"%2\": %3").arg( + QDir::toNativeSeparators(source), QDir::toNativeSeparators(destination), + sourceFile.errorString())); } return copied; } @@ -189,7 +192,8 @@ bool CopyOperation::undoOperation() QFile destFile(destination); // first remove the dest if (destFile.exists() && !destFile.remove()) { - setError(UserDefinedError, tr("Could not delete file %1: %2").arg(destination, destFile.errorString())); + setError(UserDefinedError, tr("Cannot delete file \"%1\": %2").arg( + QDir::toNativeSeparators(destination), destFile.errorString())); return false; } @@ -202,7 +206,8 @@ bool CopyOperation::undoOperation() // otherwise we have to copy the backup back: const bool success = backupFile.rename(destination); if (!success) - setError(UserDefinedError, tr("Could not restore backup file into %1: %2").arg(destination, backupFile.errorString())); + setError(UserDefinedError, tr("Cannot restore backup file into \"%1\": %2").arg( + QDir::toNativeSeparators(destination), backupFile.errorString())); return success; } @@ -263,7 +268,7 @@ void MoveOperation::backup() // race condition: The backup file could get created by another process right now. But this is the same // in QFile::copy... if (!QFile::rename(dest, value(QLatin1String("backupOfExistingDestination")).toString())) - setError(UserDefinedError, tr("Could not backup file %1.").arg(dest)); + setError(UserDefinedError, tr("Cannot backup file \"%1\".").arg(QDir::toNativeSeparators(dest))); } bool MoveOperation::performOperation() @@ -281,7 +286,8 @@ bool MoveOperation::performOperation() QFile file(dest); if (!file.remove(dest)) { setError(UserDefinedError); - setErrorString(tr("Could not remove destination file %1: %2").arg(dest, file.errorString())); + setErrorString(tr("Cannot remove file \"%1\": %2").arg( + QDir::toNativeSeparators(dest), file.errorString())); return false; } } @@ -290,7 +296,8 @@ bool MoveOperation::performOperation() QFile file(args.at(0)); if (!file.copy(dest)) { setError(UserDefinedError); - setErrorString(tr("Could not copy %1 to %2: %3").arg(file.fileName(), dest, file.errorString())); + setErrorString(tr("Cannot copy file \"%1\" to \"%2\": %3").arg(QDir::toNativeSeparators(file.fileName()), + QDir::toNativeSeparators(dest), file.errorString())); return false; } return deleteFileNowOrLater(file.fileName()); @@ -303,13 +310,14 @@ bool MoveOperation::undoOperation() // first: copy back the destination to source QFile destF(dest); if (!destF.copy(args.first())) { - setError(UserDefinedError, tr("Cannot copy %1 to %2: %3").arg(dest, args.first(), destF.errorString())); + setError(UserDefinedError, tr("Cannot copy file \"%1\" to \"%2\": %3").arg( + QDir::toNativeSeparators(dest), QDir::toNativeSeparators(args.first()), destF.errorString())); return false; } // second: delete the move destination if (!deleteFileNowOrLater(dest)) { - setError(UserDefinedError, tr("Cannot remove file %1.")); + setError(UserDefinedError, tr("Cannot remove file \"%1\".").arg(QDir::toNativeSeparators(dest))); return false; } @@ -322,7 +330,8 @@ bool MoveOperation::undoOperation() QFile backupF(value(QLatin1String("backupOfExistingDestination")).toString()); const bool success = backupF.rename(dest); if (!success) - setError(UserDefinedError, tr("Cannot restore backup file for %1: %2").arg(dest, backupF.errorString())); + setError(UserDefinedError, tr("Cannot restore backup file for \"%1\": %2").arg( + QDir::toNativeSeparators(dest), backupF.errorString())); return success; } @@ -360,7 +369,8 @@ void DeleteOperation::backup() QFile file(fileName); if (!file.copy(value(QLatin1String("backupOfExistingFile")).toString())) - setError(UserDefinedError, tr("Cannot create backup of %1: %2").arg(fileName, file.errorString())); + setError(UserDefinedError, tr("Cannot create backup of file \"%1\": %2").arg( + QDir::toNativeSeparators(fileName), file.errorString())); } bool DeleteOperation::performOperation() @@ -381,7 +391,8 @@ bool DeleteOperation::undoOperation() QFile backupF(value(QLatin1String("backupOfExistingFile")).toString()); const bool success = backupF.copy(fileName) && deleteFileNowOrLater(backupF.fileName()); if (!success) - setError(UserDefinedError, tr("Cannot restore backup file for %1: %2").arg(fileName, backupF.errorString())); + setError(UserDefinedError, tr("Cannot restore backup file for \"%1\": %2").arg( + QDir::toNativeSeparators(fileName), backupF.errorString())); return success; } @@ -457,7 +468,8 @@ bool MkdirOperation::performOperation() const bool created = QDir::root().mkpath(dirName); if (!created) { setError(UserDefinedError); - setErrorString(tr("Could not create folder %1: Unknown error.").arg(dirName)); + setErrorString(tr("Cannot create directory \"%1\": %2").arg( + QDir::toNativeSeparators(dirName), tr("Unknown error."))); } return created; } @@ -489,9 +501,11 @@ bool MkdirOperation::undoOperation() if (!result) { if (errorString.isEmpty()) - setError(UserDefinedError, tr("Cannot remove directory %1: %2").arg(createdDir.path(), errorString)); + setError(UserDefinedError, tr("Cannot remove directory \"%1\": %2").arg( + QDir::toNativeSeparators(createdDir.path()), errorString)); else - setError(UserDefinedError, tr("Cannot remove directory %1: %2").arg(createdDir.path(), errnoToQString(errno))); + setError(UserDefinedError, tr("Cannot remove directory \"%1\": %2").arg( + QDir::toNativeSeparators(createdDir.path()), errnoToQString(errno))); } return result; } @@ -532,7 +546,8 @@ bool RmdirOperation::performOperation() QDir dir(firstArg); if (!dir.exists()) { setError(UserDefinedError); - setErrorString(tr("Could not remove folder %1: The folder does not exist.").arg(firstArg)); + setErrorString(tr("Cannot remove directory \"%1\": %2").arg( + QDir::toNativeSeparators(firstArg), tr("The directory does not exist."))); return false; } @@ -541,7 +556,8 @@ bool RmdirOperation::performOperation() setValue(QLatin1String("removed"), removed); if (!removed) { setError(UserDefinedError); - setErrorString(tr("Could not remove folder %1: %2").arg(firstArg, errnoToQString(errno))); + setErrorString(tr("Cannot remove directory \"%1\": %2").arg( + QDir::toNativeSeparators(firstArg), errnoToQString(errno))); } return removed; } @@ -555,7 +571,8 @@ bool RmdirOperation::undoOperation() const QFileInfo fi(arguments().first()); const bool success = fi.dir().mkdir(fi.fileName()); if( !success) - setError(UserDefinedError, tr("Cannot recreate directory %1: %2").arg(fi.fileName(), errnoToQString(errno))); + setError(UserDefinedError, tr("Cannot recreate directory \"%1\": %2").arg( + QDir::toNativeSeparators(fi.fileName()), errnoToQString(errno))); return success; } @@ -591,7 +608,8 @@ void AppendFileOperation::backup() setValue(QLatin1String("backupOfFile"), backupFileName(filename)); if (!file.copy(value(QLatin1String("backupOfFile")).toString())) { - setError(UserDefinedError, tr("Cannot backup file %1: %2").arg(filename, file.errorString())); + setError(UserDefinedError, tr("Cannot backup file \"%1\": %2").arg( + QDir::toNativeSeparators(filename), file.errorString())); clearValue(QLatin1String("backupOfFile")); } } @@ -626,7 +644,8 @@ bool AppendFileOperation::performOperation() if (error) { setError(UserDefinedError); - setErrorString(tr("Could not open file '%1' for writing: %2").arg(file.fileName(), file.errorString())); + setErrorString(tr("Cannot open file \"%1\" for writing: %2").arg( + QDir::toNativeSeparators(file.fileName()), file.errorString())); return false; } deleteFileNowOrLater(newName); @@ -645,13 +664,15 @@ bool AppendFileOperation::undoOperation() const QString filename = arguments().first(); const QString backupOfFile = value(QLatin1String("backupOfFile")).toString(); if (!backupOfFile.isEmpty() && !QFile::exists(backupOfFile)) { - setError(UserDefinedError, tr("Cannot find backup file for %1.").arg(filename)); + setError(UserDefinedError, tr("Cannot find backup file for \"%1\".").arg( + QDir::toNativeSeparators(filename))); return false; } const bool removed = deleteFileNowOrLater(filename); if (!removed) { - setError(UserDefinedError, tr("Could not restore backup file for %1.").arg(filename)); + setError(UserDefinedError, tr("Cannot restore backup file for \"%1\".").arg( + QDir::toNativeSeparators(filename))); return false; } @@ -662,7 +683,8 @@ bool AppendFileOperation::undoOperation() QFile backupFile(backupOfFile); const bool success = backupFile.rename(filename); if (!success) - setError(UserDefinedError, tr("Could not restore backup file for %1: %2").arg(filename, backupFile.errorString())); + setError(UserDefinedError, tr("Cannot restore backup file for \"%1\": %2").arg( + QDir::toNativeSeparators(filename), backupFile.errorString())); return success; } @@ -697,7 +719,8 @@ void PrependFileOperation::backup() setValue(QLatin1String("backupOfFile"), backupFileName(filename)); if (!file.copy(value(QLatin1String("backupOfFile")).toString())) { - setError(UserDefinedError, tr("Cannot backup file %1: %2").arg(filename, file.errorString())); + setError(UserDefinedError, tr("Cannot backup file \"%1\": %2").arg( + QDir::toNativeSeparators(filename), file.errorString())); clearValue(QLatin1String("backupOfFile")); } } @@ -716,7 +739,8 @@ bool PrependFileOperation::performOperation() QFile file(fName); if (!file.open(QFile::ReadOnly)) { setError(UserDefinedError); - setErrorString(tr("Could not open file %1 for reading: %2").arg(file.fileName(), file.errorString())); + setErrorString(tr("Cannot open file \"%1\" for reading: %2").arg( + QDir::toNativeSeparators(file.fileName()), file.errorString())); return false; } @@ -734,7 +758,8 @@ bool PrependFileOperation::performOperation() if (!QFile::rename(fName, newName) && QFile::copy(newName, fName) && file.open(QFile::WriteOnly)) { QFile::rename(newName, fName); setError(UserDefinedError); - setErrorString(tr("Could not open file %1 for writing: %2").arg(file.fileName(), file.errorString())); + setErrorString(tr("Cannot open file \"%1\" for writing: %2").arg( + QDir::toNativeSeparators(file.fileName()), file.errorString())); return false; } deleteFileNowOrLater(newName); @@ -752,12 +777,14 @@ bool PrependFileOperation::undoOperation() const QString filename = arguments().first(); const QString backupOfFile = value(QLatin1String("backupOfFile")).toString(); if (!backupOfFile.isEmpty() && !QFile::exists(backupOfFile)) { - setError(UserDefinedError, tr("Cannot find backup file for %1.").arg(filename)); + setError(UserDefinedError, + tr("Cannot find backup file for \"%1\".").arg(QDir::toNativeSeparators(filename))); return false; } if (!deleteFileNowOrLater(filename)) { - setError(UserDefinedError, tr("Cannot restore backup file for %1.").arg(filename)); + setError(UserDefinedError, + tr("Cannot restore backup file for \"%1\".").arg(QDir::toNativeSeparators(filename))); return false; } @@ -768,7 +795,8 @@ bool PrependFileOperation::undoOperation() QFile backupF(backupOfFile); const bool success = backupF.rename(filename); if (!success) - setError(UserDefinedError, tr("Cannot restore backup file for %1: %2").arg(filename, backupF.errorString())); + setError(UserDefinedError, tr("Cannot restore backup file for \"%1\": %2").arg( + QDir::toNativeSeparators(filename), backupF.errorString())); return success; } diff --git a/src/libs/kdtools/kdupdaterupdatesinfo.cpp b/src/libs/kdtools/kdupdaterupdatesinfo.cpp index a5b1b0a86..48003279b 100644 --- a/src/libs/kdtools/kdupdaterupdatesinfo.cpp +++ b/src/libs/kdtools/kdupdaterupdatesinfo.cpp @@ -61,7 +61,7 @@ void UpdatesInfoData::parseFile(const QString &updateXmlFile) QFile file(updateXmlFile); if (!file.open(QFile::ReadOnly)) { error = UpdatesInfo::CouldNotReadUpdateInfoFileError; - errorMessage = tr("Could not read \"%1\"").arg(updateXmlFile); + errorMessage = tr("Cannot read \"%1\"").arg(updateXmlFile); return; } diff --git a/src/libs/kdtools/localpackagehub.cpp b/src/libs/kdtools/localpackagehub.cpp index 02bb8cb64..6172de853 100644 --- a/src/libs/kdtools/localpackagehub.cpp +++ b/src/libs/kdtools/localpackagehub.cpp @@ -258,7 +258,7 @@ void LocalPackageHub::refresh() // Open Packages.xml if (!file.open(QFile::ReadOnly)) { d->error = CouldNotReadPackageFileError; - d->errorMessage = tr("Could not open %1.").arg(d->fileName); + d->errorMessage = tr("Cannot open %1.").arg(d->fileName); return; } diff --git a/src/sdk/translations/de.ts b/src/sdk/translations/de.ts index 20d510564..33adc97c6 100644 --- a/src/sdk/translations/de.ts +++ b/src/sdk/translations/de.ts @@ -15,26 +15,26 @@ <context> <name>BinaryContent</name> <message> - <source>Could not seek to %1 to read the operation data.</source> + <source>Cannot seek to %1 to read the operation data.</source> <translation>Konnte nicht bis zur Anweisungsliste an Position %1 springen.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection block.</source> + <source>Cannot seek to %1 to read the resource collection block.</source> <translation>Konnte nicht bis zur Resourcensammlung an Position %1 suchen.</translation> </message> <message> - <source>Could not open meta resource. Error: %1</source> + <source>Cannot open meta resource. Error: %1</source> <translation>Konnte Metainformationen nicht öffnen. Fehlermeldung: %1</translation> </message> </context> <context> <name>BinaryLayout</name> <message> - <source>Could not seek to %1 to read the embedded meta data count.</source> + <source>Cannot seek to %1 to read the embedded meta data count.</source> <translation>Konnte nicht bis %1 suchen, um die eingebettete Metadatenanzahl zu lesen.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection segment.</source> + <source>Cannot seek to %1 to read the resource collection segment.</source> <translation>Konnte nicht bis %1 suchen, um die Resourcensammlung zu lesen.</translation> </message> <message> @@ -72,34 +72,34 @@ <translation>Pfad %1 existiert, aber ist kein Ordner.</translation> </message> <message> - <source>Could not create folder: %1</source> + <source>Cannot create folder: %1</source> <translation>Konnte Ordner %1 nicht anlegen.</translation> </message> </context> <context> <name>ExtractCallbackImpl</name> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Konnte Pfad des Archivs %1 nicht feststellen.</translation> </message> <message> - <source>Could not remove already existing symlink. %1</source> + <source>Cannot remove already existing symlink. %1</source> <translation>Konnte existierende Verknüpfung (Symlink) %1 nicht entfernen.</translation> </message> <message> - <source>Could not open file: %1 (%2)</source> + <source>Cannot open file: %1 (%2)</source> <translation>Konnte Datei %1 nicht öffnen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not create symlink at '%1'. Another one is already existing.</source> + <source>Cannot create symlink at '%1'. Another one is already existing.</source> <translation>Konnte Verknüpfung (Symlink) '%1' nicht erstellen. Es existiert bereits eine an dieser Stelle.</translation> </message> <message> - <source>Could not read symlink target from file '%1'.</source> + <source>Cannot read symlink target from file '%1'.</source> <translation>Konnte Ziel der Verknüpfung (Symlink) '%1' nicht lesen.</translation> </message> <message> - <source>Could not create symlink at %1. %2</source> + <source>Cannot create symlink at %1. %2</source> <translation>Konnte keine Dateisystemverknüpfung (Symlink) %1 anlegen. Fehlermeldung: %2</translation> </message> </context> @@ -140,19 +140,19 @@ <context> <name>KDLockFile</name> <message> - <source>Could not create lock file '%1': %2</source> + <source>Cannot create lock file '%1': %2</source> <translation>Konnte keine Sperrdatei %1 anlegen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not write PID to lock file '%1': %2</source> + <source>Cannot write PID to lock file '%1': %2</source> <translation>Konnte PID nicht in die Sperrdatei %1 schreiben. Fehlermeldung: %2</translation> </message> <message> - <source>Could not obtain the lock for file '%1': %2</source> + <source>Cannot obtain the lock for file '%1': %2</source> <translation>Konnte Sperre für Datei '%1' nicht anlegen: '%2'</translation> </message> <message> - <source>Could not release the lock for file '%1': %2</source> + <source>Cannot release the lock for file '%1': %2</source> <translation>Konnte Sperre für Datei '%1' nicht aufheben: '%2'</translation> </message> </context> @@ -171,7 +171,7 @@ <translation>genau 2</translation> </message> <message> - <source>Could not open file '%1' for writing: %2</source> + <source>Cannot open file '%1' for writing: %2</source> <translation>Konnte Datei '%1' nicht zum Schreiben öffnen. Fehlermeldung: %2</translation> </message> <message> @@ -179,11 +179,11 @@ <translation>Konnte Sicherungsdatei für %1 nicht finden.</translation> </message> <message> - <source>Could not restore backup file for %1.</source> + <source>Cannot restore backup file for %1.</source> <translation>Konnte Datei %1 nicht wiederherstellen.</translation> </message> <message> - <source>Could not restore backup file for %1: %2</source> + <source>Cannot restore backup file for %1: %2</source> <translation>Konnte Datei %1 nicht wiederherstellen. Fehlermeldung: %2</translation> </message> </context> @@ -194,27 +194,27 @@ <translation>Ungültige Argumente: %1 Argumente erhalten, 2 erwartet.</translation> </message> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Konnte Datei %1 nicht sichern.</translation> </message> <message> - <source>Could not copy a non-existent file: %1</source> + <source>Cannot copy a non-existent file: %1</source> <translation>Konnte nicht existierende Datei nicht kopieren: %1</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Konnte Zieldatei %1 nicht entfernen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Konnte Datei %1 nicht nach %2 kopieren. Fehlermeldung: %3</translation> </message> <message> - <source>Could not delete file %1: %2</source> + <source>Cannot delete file %1: %2</source> <translation>Konnte Datei %1 nicht löschen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not restore backup file into %1: %2</source> + <source>Cannot restore backup file into %1: %2</source> <translation>Konnte Datei %1 nicht wiederherstellen. Fehlermeldung: %2</translation> </message> </context> @@ -303,7 +303,7 @@ <translation>Konnte %1 nicht herunterladen. Schreiben in Datei '%2' fehlgeschlagen. Fehlermeldung: %3</translation> </message> <message> - <source>Cannot download %1: Could not create %2: %3</source> + <source>Cannot download %1: Cannot create %2: %3</source> <translation>Konnte %1 nicht herunterladen. Erstellen der Datei %2 fehlgeschlagen. Fehlermeldung: %3</translation> </message> <message> @@ -357,7 +357,7 @@ <translation>Ungültige Argumente: %1 Argumente erhalten, 1 erwartet.</translation> </message> <message> - <source>Could not create folder %1: Unknown error.</source> + <source>Cannot create folder %1: Unknown error.</source> <translation>Konnte Ordner %1 nicht anlegen. Unbekannter Fehler.</translation> </message> <message> @@ -368,7 +368,7 @@ <context> <name>KDUpdater::MoveOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Konnte Datei %1 nicht sichern.</translation> </message> <message> @@ -376,11 +376,11 @@ <translation>Ungültige Argumente: %1 Argumente erhalten, 2 erwartet.</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Konnte Zieldatei %1 nicht entfernen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Konnte Datei %1 nicht nach %2 kopieren. Fehlermeldung: %3</translation> </message> <message> @@ -407,7 +407,7 @@ <translation>Datei %1 existiert nicht.</translation> </message> <message> - <source>Could not open %1.</source> + <source>Cannot open %1.</source> <translation>Konnte Datei %1 nicht öffnen.</translation> </message> <message> @@ -430,11 +430,11 @@ <translation>Ungültige Argumente: %1 Argumente erhalten, 2 erwartet.</translation> </message> <message> - <source>Could not open file %1 for reading: %2</source> + <source>Cannot open file %1 for reading: %2</source> <translation>Konnte Datei %1 nicht zum Lesen öffnen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not open file %1 for writing: %2</source> + <source>Cannot open file %1 for writing: %2</source> <translation>Konnte Datei %1 nicht zum Schreiben öffnen. Fehlermeldung: %2</translation> </message> <message> @@ -453,7 +453,7 @@ <context> <name>KDUpdater::ResourceFileDownloader</name> <message> - <source>Could not read resource file "%1". Reason:</source> + <source>Cannot read resource file "%1". Reason:</source> <translation>Konnte Ressourcendatei %1 nicht zum Lesen öffnen. Grund:</translation> </message> </context> @@ -464,11 +464,11 @@ <translation>Ungültige Argumente: %1 Argumente erhalten, 1 erwartet.</translation> </message> <message> - <source>Could not remove folder %1: The folder does not exist.</source> + <source>Cannot remove folder %1: The folder does not exist.</source> <translation>Konnte Ordner %1 nicht entfernen. Der Ordner existiert nicht.</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Konnte Ordner %1 nicht löschen. Fehlermeldung: %2</translation> </message> <message> @@ -510,11 +510,11 @@ <context> <name>KDUpdater::UpdateFinder</name> <message> - <source>Could not access the package information of this application.</source> + <source>Cannot access the package information of this application.</source> <translation>Konnte nicht auf die Paketinformationen dieser Anwendung zugreifen.</translation> </message> <message> - <source>Could not access the update sources information of this application.</source> + <source>Cannot access the update sources information of this application.</source> <translation>Konnte nicht auf die Aktualisierungsinformationen dieser Anwendung zugreifen.</translation> </message> <message numerus="yes"> @@ -529,7 +529,7 @@ <translation>Lade Updates.xml von der Aktualisierungsquelle herunter.</translation> </message> <message> - <source>Could not download update source %1 from ('%2')</source> + <source>Cannot download update source %1 from ('%2')</source> <translation>Konnte Aktualisierungen nicht von %1 ('%2') herunterladen.</translation> </message> <message> @@ -552,7 +552,7 @@ <translation>Datei %1 enthält ungültige Inhalte: %2</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Konnte Datei "%1" nicht lesen.</translation> </message> <message> @@ -564,14 +564,14 @@ <translation>Unerwartetes Wurzelelement %1, erwartet wird "UpdateSources".</translation> </message> <message> - <source>Could not save changes to "%1": %2</source> + <source>Cannot save changes to "%1": %2</source> <translation>Konnte Änderungen nicht in Datei %1 speichern. Fehlermeldung: %2</translation> </message> </context> <context> <name>KDUpdater::UpdatesInfoData</name> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Konnte Datei "%1" nicht lesen.</translation> </message> <message> @@ -610,11 +610,11 @@ <context> <name>Lib7z</name> <message> - <source>Could not retrieve number of items in archive</source> + <source>Cannot retrieve number of items in archive</source> <translation>Konnte Anzahl Dateien im Archiv nicht feststellen.</translation> </message> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Konnte Pfad des Archivs %1 nicht feststellen.</translation> </message> <message> @@ -634,15 +634,15 @@ <translation>Fehler: %1</translation> </message> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Konnte Codecs nicht laden.</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Konnte Standardformat nicht finden.</translation> </message> <message> - <source>Could not create archive %1. %2</source> + <source>Cannot create archive %1. %2</source> <translation>Konnte kein Archiv %1 anlegen. Fehlermeldung: %2</translation> </message> <message> @@ -654,14 +654,14 @@ <translation>Itemindex %1 ausserhalb der Grenzen [0, %2].</translation> </message> <message> - <source>Could not create output file for writing: %1</source> + <source>Cannot create output file for writing: %1</source> <translation>Konnte Ausgabedatei nicht zum Schreiben öffnen. Fehlermeldung: %1</translation> </message> </context> <context> <name>Lib7z::ExtractItemJob</name> <message> - <source>Could not list archive: QIODevice not set or already destroyed.</source> + <source>Cannot list archive: QIODevice not set or already destroyed.</source> <translation>Kann Archiv nicht anzeigen: QIODevice ist nicht gesetzt oder bereits zerstört.</translation> </message> <message> @@ -680,7 +680,7 @@ <context> <name>Lib7z::ListArchiveJob</name> <message> - <source>Could not list archive: QIODevice already destroyed.</source> + <source>Cannot list archive: QIODevice already destroyed.</source> <translation>Kann Archiv nicht anzeigen: QIODevice ist bereits zerstört.</translation> </message> <message> @@ -695,15 +695,15 @@ <context> <name>OpenArchiveInfo</name> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Konnte Codecs nicht laden.</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Konnte Standardformat nicht finden.</translation> </message> <message> - <source>Could not open archive</source> + <source>Cannot open archive</source> <translation>Konnte Archiv nicht öffnen.</translation> </message> <message> @@ -757,35 +757,35 @@ <translation>YiB</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Konnte Datei %1 nicht löschen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Konnte Ordner %1 nicht löschen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not create folder %1</source> + <source>Cannot create folder %1</source> <translation>Konnte Ordner %1 nicht anlegen.</translation> </message> <message> - <source>Could not copy file from %1 to %2: %3</source> + <source>Cannot copy file from %1 to %2: %3</source> <translation>Konnte Datei %1 nicht nach %2 kopieren. Fehlermeldung: %3</translation> </message> <message> - <source>Could not move file from %1 to %2: %3</source> + <source>Cannot move file from %1 to %2: %3</source> <translation>Konnte Datei %1 nicht nach %2 verschieben. Fehlermeldung: %3</translation> </message> <message> - <source>Could not create folder %1: %2</source> + <source>Cannot create folder %1: %2</source> <translation>Konnte Ordner %1 nicht anlegen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not open temporary file: %1</source> + <source>Cannot open temporary file: %1</source> <translation>Konnte temporäre Datei nicht öffnen. Fehlermeldung: %1</translation> </message> <message> - <source>Could not open temporary file for template %1: %2</source> + <source>Cannot open temporary file for template %1: %2</source> <translation>Konnte keine temporäre Datei für die Vorlage %1 öffnen. Fehlermeldung: %2</translation> </message> <message> @@ -813,11 +813,11 @@ <translation>Das Schreiben ist nach %1 Bytes fehlgeschlagen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not create temporary file</source> + <source>Cannot create temporary file</source> <translation>Konnte temporäre Datei nicht anlegen.</translation> </message> <message> - <source>Could not retrieve property %1 for item %2</source> + <source>Cannot retrieve property %1 for item %2</source> <translation>Konnte Eigenschaft %1 von %2 nicht erhalten.</translation> </message> <message> @@ -825,11 +825,11 @@ <translation>Eigenschaft %1 von %2 ist nicht vom Typ VT_FILETIME, sondern vom Typ %3.</translation> </message> <message> - <source>Could not convert file time to local time</source> + <source>Cannot convert file time to local time</source> <translation>Konnte die Dateizeit nicht in die lokale Zeit umwandeln.</translation> </message> <message> - <source>Could not convert local file time to system time</source> + <source>Cannot convert local file time to system time</source> <translation>Konnte die lokale Dateizeit nicht in die Systemzeit umwandeln.</translation> </message> <message> @@ -852,19 +852,19 @@ <translation>Komponenten können im Updater Modus keine Kinder haben.</translation> </message> <message> - <source>Could not open the requested translation file '%1'.</source> + <source>Cannot open the requested translation file '%1'.</source> <translation>Konnte angeforderte Ãœbersetzungsdatei %1 nicht öffnen.</translation> </message> <message> - <source>Could not open the requested UI file '%1'. Error: %2</source> + <source>Cannot open the requested UI file '%1'. Error: %2</source> <translation>Konnte angeforderte UI-Datei '%1' nicht öffnen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not load the requested UI file '%1'. Error: %2</source> + <source>Cannot load the requested UI file '%1'. Error: %2</source> <translation>Konnte angeforderte UI-Datei '%1' nicht laden. Fehlermeldung: %2</translation> </message> <message> - <source>Could not open the requested license file '%1'. Error: %2</source> + <source>Cannot open the requested license file '%1'. Error: %2</source> <translation>Konnte angeforderte Lizenzdatei '%1' nicht öffnen. Fehlermeldung: %2</translation> </message> <message> @@ -1040,7 +1040,7 @@ <translation>Ungültige Argumentein %0: Ordner %1 und %2 ungültig.</translation> </message> <message> - <source>Could not create %0</source> + <source>Cannot create %0</source> <translation>Konnte Ordner "%1" nicht anlegen.</translation> </message> <message> @@ -1048,11 +1048,11 @@ <translation>Konnte Datei %1 nicht überschreiben</translation> </message> <message> - <source>Could not copy %0 to %1, error was: %3</source> + <source>Cannot copy %0 to %1, error was: %3</source> <translation>Konnte %0 nicht nach %1 kopieren. Fehlermeldung: %3</translation> </message> <message> - <source>Could not remove %0</source> + <source>Cannot remove %0</source> <translation>Konnte Datei %0 nicht löschen.</translation> </message> </context> @@ -1063,11 +1063,11 @@ <translation>Ungültige Anzahl task items.</translation> </message> <message> - <source>Could not open source '%1' for read. Error: %2.</source> + <source>Cannot open source '%1' for read. Error: %2.</source> <translation>Konnte Quelle '%1' nicht zum Lesen öffnen. Fehlermeldung: %2.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <translation>Konnte Ziel '%1' nicht zum Schreiben öffnen. Fehlermeldung: %2.</translation> </message> <message> @@ -1078,7 +1078,7 @@ <context> <name>QInstaller::CreateDesktopEntryOperation</name> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Konnte Datei %1 nicht sichern. Fehlermeldung: %2</translation> </message> <message> @@ -1094,7 +1094,7 @@ <translation>Konnte Datei %1 nicht überschreiben.</translation> </message> <message> - <source>Could not write Desktop Entry at %1</source> + <source>Cannot write Desktop Entry at %1</source> <translation>Konnte keinen Eintrag %1 auf dem Arbeitsplatz anlegen.</translation> </message> </context> @@ -1109,26 +1109,26 @@ <translation>genau 2</translation> </message> <message> - <source>Could not create link from %1 to %2.</source> + <source>Cannot create link from %1 to %2.</source> <translation>Konnte keinen Link von %1 nach %2 erstellen.</translation> </message> <message> - <source>Could not remove link from %1 to %2.</source> + <source>Cannot remove link from %1 to %2.</source> <translation>Konnte Link von %1 nach %2 nicht entfernen.</translation> </message> </context> <context> <name>QInstaller::CreateLocalRepositoryOperation</name> <message> - <source>Could not set file permissions %1!</source> + <source>Cannot set file permissions %1!</source> <translation>Konnte Dateirechte auf Datei %1 nicht setzen!</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Konnte Datei %1 nicht löschen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not move file %1 to %2. Error: %3</source> + <source>Cannot move file %1 to %2. Error: %3</source> <translation>Konnte Datei %1 nicht nach %2 verschieben. Fehlermeldung: %3</translation> </message> <message> @@ -1144,19 +1144,19 @@ <translation>Installer muss eine offline Version sein: %1.</translation> </message> <message> - <source>Could not open file: %1</source> + <source>Cannot open file: %1</source> <translation>Konnte Datei %1 nicht öffnen.</translation> </message> <message> - <source>Could not read: %1. Error: %2</source> + <source>Cannot read: %1. Error: %2</source> <translation>Konnte Datei %1 nicht lesen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not open file: %1. Error: %2</source> + <source>Cannot open file: %1. Error: %2</source> <translation>Konnte Datei %1 nicht öffnen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not create target dir: %1.</source> + <source>Cannot create target dir: %1.</source> <translation>Konnte Zielordner %1. nicht anlegen.</translation> </message> <message> @@ -1168,7 +1168,7 @@ <translation>Entferne Datei %0</translation> </message> <message> - <source>Could not remove %0.</source> + <source>Cannot remove %0.</source> <translation>Konnte Datei %0. nicht löschen.</translation> </message> <message> @@ -1191,7 +1191,7 @@ <translation> (optional: 'workingDirectory=...', 'iconPath=...', 'iconId=...')</translation> </message> <message> - <source>Could not create folder %1: %2.</source> + <source>Cannot create folder %1: %2.</source> <translation>Konnte Ordner %1 nicht anlegen. Fehlermeldung: %2</translation> </message> <message> @@ -1199,7 +1199,7 @@ <translation>Konnte Datei %1 nicht überschreiben. Fehlermeldung: %2</translation> </message> <message> - <source>Could not create link %1: %2</source> + <source>Cannot create link %1: %2</source> <translation>Konnte Verweis %1 nicht anlegen. Fehlermeldung: %2</translation> </message> </context> @@ -1222,15 +1222,15 @@ <translation>Prüfsumme ungültig beim Herunterladen. Dies ist ein kurzzeitiger Fehler, bitte erneut versuchen.</translation> </message> <message> - <source>Could not verify Hash</source> + <source>Cannot verify Hash</source> <translation>Prüfsumme konnte nicht geprüft werden.</translation> </message> <message> - <source>Could not download archive: %1 : %2</source> + <source>Cannot download archive: %1 : %2</source> <translation>Konnte Archiv %1 nicht herunterladen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not fetch archives: %1 + <source>Cannot fetch archives: %1 Error while loading %2</source> <translation>Konnte Archiv nicht laden. Fehler: %1 Fehler beim Laden von %2</translation> @@ -1244,7 +1244,7 @@ Fehler beim Laden von %2</translation> <translation>Schema "%1" nicht unterstützt in "%2".</translation> </message> <message> - <source>Could not find component for: %1.</source> + <source>Cannot find component for: %1.</source> <translation>Konnte keine Komponente für Datei %1 finden.</translation> </message> </context> @@ -1292,7 +1292,7 @@ Fehler beim Laden von %2</translation> <translation>Zieldatei '%1' existiert bereits aber ist keine Datei.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <extracomment>%2 is a sentence describing the error</extracomment> <translation>Konnte Ziel '%1' nicht zum Schreiben öffnen. Fehler: %2.</translation> </message> @@ -1308,11 +1308,11 @@ Fehler beim Laden von %2</translation> <translation>mindestens 1</translation> </message> <message> - <source>Execution failed: Could not start detached: "%1"</source> + <source>Execution failed: Cannot start detached: "%1"</source> <translation>Ausführung fehlgeschlagen: Konnte %1 nicht detached starten.</translation> </message> <message> - <source>Execution failed: Could not start: "%1"(%2)</source> + <source>Execution failed: Cannot start: "%1"(%2)</source> <translation>Ausführung fehlgeschlagen: Konnte '%1' nicht starten. Fehlermeldung: %2</translation> </message> <message> @@ -1349,7 +1349,7 @@ Fehler beim Laden von %2</translation> <context> <name>QInstaller::ExtractArchiveOperation::Runnable</name> <message> - <source>Could not open %1 for reading: %2.</source> + <source>Cannot open %1 for reading: %2.</source> <translation>Konnte Datei %1 nicht zum Lesen öffnen. Fehlermeldung: %2</translation> </message> <message> @@ -1368,7 +1368,7 @@ Fehler beim Laden von %2</translation> <translation>Unpassende Anzahl Argumente: Genau eins wird verlangt</translation> </message> <message> - <source>Could not get package manager core.</source> + <source>Cannot get package manager core.</source> <translation>Konnte PackageManagerCore nicht erhalten.</translation> </message> <message> @@ -1496,7 +1496,7 @@ Fehler beim Laden von %2</translation> <translation>Ungültiges Argument: Quellordner darf nicht leer sein.</translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Konnte Datei %1 nicht sichern. Fehlermeldung: %2</translation> </message> <message> @@ -1508,7 +1508,7 @@ Fehler beim Laden von %2</translation> <translation>Konnte Datei nicht nach %1 kopieren. Fehlermeldung: %2</translation> </message> <message> - <source>Could not create folder at %1: %2</source> + <source>Cannot create folder at %1: %2</source> <translation>Konnte Ordner %1 nicht anlegen. Fehlermeldung: %2</translation> </message> </context> @@ -1687,7 +1687,7 @@ Fehler beim Laden von %2</translation> <translation>Beim Auspacken von %1 trat eine unbekannte Ausnahmebedingung auf.</translation> </message> <message> - <source>Could not open %1 for reading. Error: %2</source> + <source>Cannot open %1 for reading. Error: %2</source> <translation>Konnte Datei %1 nicht zum Lesen öffnen. Fehlermeldung: %2</translation> </message> </context> @@ -1775,7 +1775,7 @@ Lade Pakete herunter...</translation> <translation>Formatfehler</translation> </message> <message> - <source>Could not write installer configuration to %1: %2</source> + <source>Cannot write installer configuration to %1: %2</source> <translation>Konnte Einstellungen des Installers nicht nach %1 schreiben. Fehlermeldung: %2</translation> </message> <message> @@ -1859,19 +1859,19 @@ Aktualisierung abgebrochen!</translation> <translation>Verwaltungswerkzeug ist kein Bundle</translation> </message> <message> - <source>Could not write maintenance tool data to %1: %2</source> + <source>Cannot write maintenance tool data to %1: %2</source> <translation>Konnte Daten des Verwaltungswerkzeugs nicht nach %1 schreiben. Fehlermeldung: %2</translation> </message> <message> - <source>Could not remove data file '%1': %2</source> + <source>Cannot remove data file '%1': %2</source> <translation>Konnte Datei %1 nicht löschen. Fehlermeldung: %2</translation> </message> <message> - <source>Could not write maintenance tool to %1: %2</source> + <source>Cannot write maintenance tool to %1: %2</source> <translation>Konnte Verwaltungswerkzeug nicht nach %1 schreiben: %2</translation> </message> <message> - <source>Could not write maintenance tool binary data to %1: %2</source> + <source>Cannot write maintenance tool binary data to %1: %2</source> <translation>Konnte Binäre Datei des Verwaltungswerkzeugs nicht nach %1 schreiben: %2</translation> </message> <message> @@ -1921,7 +1921,7 @@ Installiere Komponente %1</translation> <translation>Unbekannter Fehler</translation> </message> <message> - <source>Could not retrieve remote tree: %1.</source> + <source>Cannot retrieve remote tree: %1.</source> <translation>Kann entfernten Baum nicht empfangen: %1</translation> </message> <message> @@ -1929,15 +1929,15 @@ Installiere Komponente %1</translation> <translation>Fehler beim Lesen der Pakete von %1</translation> </message> <message> - <source>Could not retrieve meta information: %1</source> + <source>Cannot retrieve meta information: %1</source> <translation>Konnte die Metainformationen nicht empfangen: %1</translation> </message> <message> - <source>Could not add temporary update source information.</source> + <source>Cannot add temporary update source information.</source> <translation>Konnte Informationen zu temporären Aktualisierungsquellen nicht hinzufügen.</translation> </message> <message> - <source>Could not find any update source information.</source> + <source>Cannot find any update source information.</source> <translation>Konnte keine Informationen zu Aktualisierungsquellen finden.</translation> </message> <message> @@ -2152,14 +2152,14 @@ Bitte kopieren Sie den Installer auf ein lokales Laufwerk</translation> <context> <name>QInstaller::RemoteObject</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>Konnte nicht alle Daten nach dem Senden des Kommandos '%1' lesen. Bytes erwartet: %2, Bytes erhalten: %3. Fehler: %4</translation> </message> </context> <context> <name>QInstaller::RemoteServerConnection</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>Konnte nicht alle Daten nach dem Senden des Kommandos '%1' lesen. Bytes erwartet: %2, Bytes erhalten: %3. Fehler: %4</translation> </message> </context> @@ -2185,7 +2185,7 @@ Bitte kopieren Sie den Installer auf ein lokales Laufwerk</translation> <context> <name>QInstaller::Resource</name> <message> - <source>Could not open Resource '%1' read-only.</source> + <source>Cannot open Resource '%1' read-only.</source> <translation>Konnte Ressourcendatei '%1' nicht zum Nur-Lesen öffnen.</translation> </message> <message> @@ -2207,7 +2207,7 @@ Bitte kopieren Sie den Installer auf ein lokales Laufwerk</translation> <context> <name>QInstaller::ScriptEngine</name> <message> - <source>Could not open the requested script file at %1: %2.</source> + <source>Cannot open the requested script file at %1: %2.</source> <translation>Konnte angeforderte Skriptdatei '%1' nicht öffnen. Fehlermeldung: %2</translation> </message> <message> @@ -2404,7 +2404,7 @@ Möchten Sie trotzdem fortsetzen?</translation> <translation>Erhielt Timeout beim Testen von: '%1'</translation> </message> <message> - <source>Could not parse Updates.xml! Error: %1.</source> + <source>Cannot parse Updates.xml! Error: %1.</source> <translation>Ungültiges Format der Updates.xml. Fehlermeldung: %1.</translation> </message> <message> @@ -2434,11 +2434,11 @@ Möchten Sie trotzdem fortsetzen?</translation> <context> <name>RemoteClient</name> <message> - <source>Could not get authorization.</source> + <source>Cannot get authorization.</source> <translation>Konnte Autorisierung nicht erhalten.</translation> </message> <message> - <source>Could not get authorization that is needed for continuing the installation. + <source>Cannot get authorization that is needed for continuing the installation. Either abort the installation or use the fallback solution by running %1 @@ -2453,14 +2453,14 @@ als root aufrufen und dann "Ok" auswählen. </translation> <context> <name>ResourceCollectionManager</name> <message> - <source>Could not open resource %1: %2</source> + <source>Cannot open resource %1: %2</source> <translation>Konnte Ressource %1 nicht öffnen: %2</translation> </message> </context> <context> <name>Settings</name> <message> - <source>Could not open settings file %1 for reading: %2</source> + <source>Cannot open settings file %1 for reading: %2</source> <translation>Konnte Einstellungsdatei %1 nicht zum Lesen öffnen. Fehlermeldung: %2</translation> </message> </context> @@ -2590,7 +2590,7 @@ als root aufrufen und dann "Ok" auswählen. </translation> <translation>Registrierungspfad %1 ist nicht beschreibbar</translation> </message> <message> - <source>Could not write to registry path %1</source> + <source>Cannot write to registry path %1</source> <translation>Konnte nicht in Registrierungspfad %1 schreiben</translation> </message> <message> diff --git a/src/sdk/translations/en.ts b/src/sdk/translations/en.ts index e14431ab0..653a91a81 100644 --- a/src/sdk/translations/en.ts +++ b/src/sdk/translations/en.ts @@ -4,7 +4,7 @@ <context> <name>Component</name> <message> - <source>Could not open archive %1: %2</source> + <source>Cannot open archive %1: %2</source> <translation type="unfinished"></translation> </message> </context> @@ -84,7 +84,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not backup existing file %1: %2</source> + <source>Cannot backup existing file %1: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -103,7 +103,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not open file %1 for writing: %2</source> + <source>Cannot open file %1 for writing: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -111,18 +111,18 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not restore backup file for %1.</source> + <source>Cannot restore backup file for %1.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not restore backup file for %1: %2</source> + <source>Cannot restore backup file for %1: %2</source> <translation type="unfinished"></translation> </message> </context> <context> <name>KDUpdater::CopyOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation type="unfinished"></translation> </message> <message> @@ -130,19 +130,19 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not delete file %1: %2</source> + <source>Cannot delete file %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not restore backup file into %1: %2</source> + <source>Cannot restore backup file into %1: %2</source> <translation type="unfinished"></translation> </message> </context> @@ -239,7 +239,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Cannot download %1: Could not create %2: %3</source> + <source>Cannot download %1: Cannot create %2: %3</source> <translation type="unfinished"></translation> </message> <message> @@ -273,7 +273,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not create folder %1: Unknown error.</source> + <source>Cannot create folder %1: Unknown error.</source> <translation type="unfinished"></translation> </message> <message> @@ -284,7 +284,7 @@ <context> <name>KDUpdater::MoveOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation type="unfinished"></translation> </message> <message> @@ -292,11 +292,11 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation type="unfinished"></translation> </message> <message> @@ -323,7 +323,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not open %1.</source> + <source>Cannot open %1.</source> <translation type="unfinished"></translation> </message> <message> @@ -346,11 +346,11 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not open file %1 for reading: %2</source> + <source>Cannot open file %1 for reading: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open file %1 for writing: %2</source> + <source>Cannot open file %1 for writing: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -369,7 +369,7 @@ <context> <name>KDUpdater::ResourceFileDownloader</name> <message> - <source>Could not read resource file "%1". Reason:</source> + <source>Cannot read resource file "%1". Reason:</source> <translation type="unfinished"></translation> </message> </context> @@ -380,11 +380,11 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not remove folder %1: The folder does not exist.</source> + <source>Cannot remove folder %1: The folder does not exist.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -426,11 +426,11 @@ <context> <name>KDUpdater::UpdateFinder</name> <message> - <source>Could not access the package information of this application.</source> + <source>Cannot access the package information of this application.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not access the update sources information of this application.</source> + <source>Cannot access the update sources information of this application.</source> <translation type="unfinished"></translation> </message> <message> @@ -442,7 +442,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not download updates from %1 ('%2')</source> + <source>Cannot download updates from %1 ('%2')</source> <translation type="unfinished"></translation> </message> <message> @@ -465,7 +465,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation type="unfinished"></translation> </message> <message> @@ -477,14 +477,14 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not save changes to "%1": %2</source> + <source>Cannot save changes to "%1": %2</source> <translation type="unfinished"></translation> </message> </context> <context> <name>KDUpdater::UpdatesInfoData</name> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation type="unfinished"></translation> </message> <message> @@ -523,14 +523,14 @@ <context> <name>Lib7z::ExtractItemJob</name> <message> - <source>Could not list archive: QIODevice not set or already destroyed.</source> + <source>Cannot list archive: QIODevice not set or already destroyed.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>Lib7z::ListArchiveJob</name> <message> - <source>Could not list archive: QIODevice already destroyed.</source> + <source>Cannot list archive: QIODevice already destroyed.</source> <translation type="unfinished"></translation> </message> </context> @@ -560,15 +560,15 @@ <context> <name>QInstaller::Component</name> <message> - <source>Could not open the requested translation file '%1'.</source> + <source>Cannot open the requested translation file '%1'.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open the requested UI file '%1'. Error: %2</source> + <source>Cannot open the requested UI file '%1'. Error: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not load the requested UI file '%1'. Error: %2</source> + <source>Cannot load the requested UI file '%1'. Error: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -576,7 +576,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not open the requested license file '%1'. Error: %2</source> + <source>Cannot open the requested license file '%1'. Error: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -732,7 +732,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not create %0</source> + <source>Cannot create %0</source> <translation type="unfinished"></translation> </message> <message> @@ -740,11 +740,11 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not copy %0 to %1, error was: %3</source> + <source>Cannot copy %0 to %1, error was: %3</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not remove %0</source> + <source>Cannot remove %0</source> <translation type="unfinished"></translation> </message> </context> @@ -763,7 +763,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not write Desktop Entry at %1</source> + <source>Cannot write Desktop Entry at %1</source> <translation type="unfinished"></translation> </message> </context> @@ -781,11 +781,11 @@ <context> <name>QInstaller::CreateLocalRepositoryOperation</name> <message> - <source>Could not set file permissions %1!</source> + <source>Cannot set file permissions %1!</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not move file %1 to %2. Error: %3</source> + <source>Cannot move file %1 to %2. Error: %3</source> <translation type="unfinished"></translation> </message> <message> @@ -801,19 +801,19 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not open file: %1</source> + <source>Cannot open file: %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not read: %1. Error: %2</source> + <source>Cannot read: %1. Error: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open file: %1. Error: %2</source> + <source>Cannot open file: %1. Error: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create target dir: %1.</source> + <source>Cannot create target dir: %1.</source> <translation type="unfinished"></translation> </message> <message> @@ -825,7 +825,7 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not remove %0.</source> + <source>Cannot remove %0.</source> <translation type="unfinished"></translation> </message> <message> @@ -848,11 +848,11 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not create folder %1: %2.</source> + <source>Cannot create folder %1: %2.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create link %1: %2</source> + <source>Cannot create link %1: %2</source> <translation type="unfinished"></translation> </message> </context> @@ -875,15 +875,15 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not verify Hash</source> + <source>Cannot verify Hash</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not download archive: %1 : %2</source> + <source>Cannot download archive: %1 : %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not fetch archives: %1 + <source>Cannot fetch archives: %1 Error while loading %2</source> <translation type="unfinished"></translation> </message> @@ -900,7 +900,7 @@ Error while loading %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not find component for: %1.</source> + <source>Cannot find component for: %1.</source> <translation type="unfinished"></translation> </message> </context> @@ -915,11 +915,11 @@ Error while loading %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Execution failed: Could not start detached: "%1"</source> + <source>Execution failed: Cannot start detached: "%1"</source> <translation type="unfinished"></translation> </message> <message> - <source>Execution failed: Could not start: "%1"(%2)</source> + <source>Execution failed: Cannot start: "%1"(%2)</source> <translation type="unfinished"></translation> </message> <message> @@ -956,7 +956,7 @@ Error while loading %2</source> <context> <name>QInstaller::ExtractArchiveOperation::Runnable</name> <message> - <source>Could not open %1 for reading: %2.</source> + <source>Cannot open %1 for reading: %2.</source> <translation type="unfinished"></translation> </message> <message> @@ -1014,15 +1014,15 @@ Error while loading %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not move Updates.xml to target location. Error: %1</source> + <source>Cannot move Updates.xml to target location. Error: %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open Updates.xml for reading. Error: %1</source> + <source>Cannot open Updates.xml for reading. Error: %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not fetch a valid version of Updates.xml from repository: %1. Error: %2</source> + <source>Cannot fetch a valid version of Updates.xml from repository: %1. Error: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -1042,7 +1042,7 @@ Error while loading %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not fetch Updates.xml from repository: %1. Error: %2</source> + <source>Cannot fetch Updates.xml from repository: %1. Error: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -1050,7 +1050,7 @@ Error while loading %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open meta info archive: %1. Error: %2</source> + <source>Cannot open meta info archive: %1. Error: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -1062,7 +1062,7 @@ Error while loading %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not download meta information for component: %1. Error: %2</source> + <source>Cannot download meta information for component: %1. Error: %2</source> <translation type="unfinished"></translation> </message> </context> @@ -1077,7 +1077,7 @@ Error while loading %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open %1 for reading. Error: %2</source> + <source>Cannot open %1 for reading. Error: %2</source> <translation type="unfinished"></translation> </message> </context> @@ -1311,7 +1311,7 @@ Downloading packages...</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not write installer configuration to %1: %2</source> + <source>Cannot write installer configuration to %1: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -1337,11 +1337,11 @@ Downloading packages...</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not write uninstaller data to %1: %2</source> + <source>Cannot write uninstaller data to %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not write uninstaller to %1: %2</source> + <source>Cannot write uninstaller to %1: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -1349,7 +1349,7 @@ Downloading packages...</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not write uninstaller binary data to %1: %2</source> + <source>Cannot write uninstaller binary data to %1: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -1446,7 +1446,7 @@ Installing component %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not retrieve remote tree: %1.</source> + <source>Cannot retrieve remote tree: %1.</source> <translation type="unfinished"></translation> </message> <message> @@ -1454,15 +1454,15 @@ Installing component %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not retrieve meta information: %1</source> + <source>Cannot retrieve meta information: %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not add temporary update source information.</source> + <source>Cannot add temporary update source information.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not find any update source information.</source> + <source>Cannot find any update source information.</source> <translation type="unfinished"></translation> </message> </context> @@ -1579,7 +1579,7 @@ Please copy the installer to a local drive</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not find the needed QmakeOutputInstallerKey(%1) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.</source> + <source>Cannot find the needed QmakeOutputInstallerKey(%1) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.</source> <translation type="unfinished"></translation> </message> <message> @@ -1808,7 +1808,7 @@ Sometimes it helps to restart the installer with a switched off antivirus softwa <context> <name>QInstaller::ScriptEngine</name> <message> - <source>Could not open the requested script file at %1: %2.</source> + <source>Cannot open the requested script file at %1: %2.</source> <translation type="unfinished"></translation> </message> <message> @@ -1816,7 +1816,7 @@ Sometimes it helps to restart the installer with a switched off antivirus softwa <translation type="unfinished"></translation> </message> <message> - <source>Could not load the component script inside a script context: '%1'</source> + <source>Cannot load the component script inside a script context: '%1'</source> <translation type="unfinished"></translation> </message> <message> @@ -2044,15 +2044,15 @@ needs to be less than 255 characters.</source> <context> <name>QInstallerCreator::Archive</name> <message> - <source>Could not create %1: %2</source> + <source>Cannot create %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open archive file %1 for reading.</source> + <source>Cannot open archive file %1 for reading.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create archive from %1: Not a file.</source> + <source>Cannot create archive from %1: Not a file.</source> <translation type="unfinished"></translation> </message> <message> @@ -2067,7 +2067,7 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not seek to %1 in file %2: %3</source> + <source>Cannot seek to %1 in file %2: %3</source> <translation type="unfinished"></translation> </message> <message> @@ -2083,35 +2083,35 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not seek to in-binary resource. (offset: %1, length: %2)</source> + <source>Cannot seek to in-binary resource. (offset: %1, length: %2)</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not register in-binary resource.</source> + <source>Cannot register in-binary resource.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open binary %1: %2</source> + <source>Cannot open binary %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not seek to binary layout section.</source> + <source>Cannot seek to binary layout section.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not seek to metadata index.</source> + <source>Cannot seek to metadata index.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not seek to operation list.</source> + <source>Cannot seek to operation list.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not seek to component index information.</source> + <source>Cannot seek to component index information.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not seek to component index.</source> + <source>Cannot seek to component index.</source> <translation type="unfinished"></translation> </message> <message> @@ -2131,55 +2131,55 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create folder %1</source> + <source>Cannot create folder %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not copy file from %1 to %2: %3</source> + <source>Cannot copy file from %1 to %2: %3</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not move file from %1 to %2: %3</source> + <source>Cannot move file from %1 to %2: %3</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create folder %1: %2</source> + <source>Cannot create folder %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open temporary file: %1</source> + <source>Cannot open temporary file: %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open temporary file for template %1: %2</source> + <source>Cannot open temporary file for template %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create temporary folder for template %1: %2</source> + <source>Cannot create temporary folder for template %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create lock file %1: %2</source> + <source>Cannot create lock file %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not write PID to lock file %1: %2</source> + <source>Cannot write PID to lock file %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not lock lock file %1: %2</source> + <source>Cannot lock lock file %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not unlock lock file %1: %2</source> + <source>Cannot unlock lock file %1: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -2187,15 +2187,15 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create folder: %1</source> + <source>Cannot create folder: %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create temporary file</source> + <source>Cannot create temporary file</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not retrieve property %1 for item %2</source> + <source>Cannot retrieve property %1 for item %2</source> <translation type="unfinished"></translation> </message> <message> @@ -2203,11 +2203,11 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not convert file time to local time</source> + <source>Cannot convert file time to local time</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not convert local file time to system time</source> + <source>Cannot convert local file time to system time</source> <translation type="unfinished"></translation> </message> <message> @@ -2215,15 +2215,15 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open archive</source> + <source>Cannot open archive</source> <translation type="unfinished"></translation> </message> <message> @@ -2231,11 +2231,11 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not retrieve number of items in archive</source> + <source>Cannot retrieve number of items in archive</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation type="unfinished"></translation> </message> <message> @@ -2247,23 +2247,23 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not remove already existing symlink. %1</source> + <source>Cannot remove already existing symlink. %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not open file: %1 (%2)</source> + <source>Cannot open file: %1 (%2)</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create symlink at '%1'. Another one is already existing.</source> + <source>Cannot create symlink at '%1'. Another one is already existing.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not read symlink target from file '%1'.</source> + <source>Cannot read symlink target from file '%1'.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create symlink at %1. %2</source> + <source>Cannot create symlink at %1. %2</source> <translation type="unfinished"></translation> </message> <message> @@ -2279,7 +2279,7 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create archive %1. %2</source> + <source>Cannot create archive %1. %2</source> <translation type="unfinished"></translation> </message> <message> @@ -2295,7 +2295,7 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create output file for writing: %1</source> + <source>Cannot create output file for writing: %1</source> <translation type="unfinished"></translation> </message> <message> @@ -2311,15 +2311,15 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not backup file %1</source> + <source>Cannot backup file %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not delete file %1</source> + <source>Cannot delete file %1</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not restore backup file into %1</source> + <source>Cannot restore backup file into %1</source> <translation type="unfinished"></translation> </message> <message> @@ -2331,7 +2331,7 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not write to registry path %1</source> + <source>Cannot write to registry path %1</source> <translation type="unfinished"></translation> </message> <message> @@ -2339,7 +2339,7 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -2347,7 +2347,7 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create folder at %1: %2</source> + <source>Cannot create folder at %1: %2</source> <translation type="unfinished"></translation> </message> <message> @@ -2379,11 +2379,11 @@ needs to be less than 255 characters.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not create link from %1 to %2.</source> + <source>Cannot create link from %1 to %2.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not remove link from %1 to %2.</source> + <source>Cannot remove link from %1 to %2.</source> <translation type="unfinished"></translation> </message> <message> @@ -2418,7 +2418,7 @@ as root and then clicking ok.</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not get package manager core.</source> + <source>Cannot get package manager core.</source> <translation type="unfinished"></translation> </message> <message> @@ -2433,7 +2433,7 @@ as root and then clicking ok.</source> <context> <name>Settings</name> <message> - <source>Could not open settings file %1 for reading: %2</source> + <source>Cannot open settings file %1 for reading: %2</source> <translation type="unfinished"></translation> </message> </context> @@ -2638,7 +2638,7 @@ Do you want to continue?</source> <translation type="unfinished"></translation> </message> <message> - <source>Could not parse Updates.xml! Error: %1.</source> + <source>Cannot parse Updates.xml! Error: %1.</source> <translation type="unfinished"></translation> </message> <message> diff --git a/src/sdk/translations/fr.ts b/src/sdk/translations/fr.ts index 72d27680d..615dcc5cf 100644 --- a/src/sdk/translations/fr.ts +++ b/src/sdk/translations/fr.ts @@ -15,26 +15,26 @@ <context> <name>BinaryContent</name> <message> - <source>Could not seek to %1 to read the operation data.</source> + <source>Cannot seek to %1 to read the operation data.</source> <translation>Impossible de rechercher dans %1 pour lire les données d'exploitation.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection block.</source> + <source>Cannot seek to %1 to read the resource collection block.</source> <translation>Impossible de rechercher dans %1 pour lire l'ensemble des ressources.</translation> </message> <message> - <source>Could not open meta resource. Error: %1</source> + <source>Cannot open meta resource. Error: %1</source> <translation>Impossible d'ouvrir les métadonnées des ressources. Erreur : %1</translation> </message> </context> <context> <name>BinaryLayout</name> <message> - <source>Could not seek to %1 to read the embedded meta data count.</source> + <source>Cannot seek to %1 to read the embedded meta data count.</source> <translation>Impossible de rechercher dans %1 pour lire le nombre de métadonnées.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection segment.</source> + <source>Cannot seek to %1 to read the resource collection segment.</source> <translation>Impossible de rechercher dans %1 pour lire le segment de l'ensemble des ressources.</translation> </message> <message> @@ -72,34 +72,34 @@ <translation>Le chemin existe mais n'est pas un dossier : %1</translation> </message> <message> - <source>Could not create folder: %1</source> + <source>Cannot create folder: %1</source> <translation>Impossible de créer le dossier : %1</translation> </message> </context> <context> <name>ExtractCallbackImpl</name> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Impossible de récupérer le chemin de l'élément %1</translation> </message> <message> - <source>Could not remove already existing symlink. %1</source> + <source>Cannot remove already existing symlink. %1</source> <translation>Impossible de supprimer le lien symbolique existant. %1</translation> </message> <message> - <source>Could not open file: %1 (%2)</source> + <source>Cannot open file: %1 (%2)</source> <translation>Impossible d'ouvrir le fichier %1 (%2)</translation> </message> <message> - <source>Could not create symlink at '%1'. Another one is already existing.</source> + <source>Cannot create symlink at '%1'. Another one is already existing.</source> <translation>Impossible de créer le lien symbolique à '%1'. Un autre existe déjà .</translation> </message> <message> - <source>Could not read symlink target from file '%1'.</source> + <source>Cannot read symlink target from file '%1'.</source> <translation>Impossible de récupérer la cible du lien symbolique du fichier '%1'.</translation> </message> <message> - <source>Could not create symlink at %1. %2</source> + <source>Cannot create symlink at %1. %2</source> <translation>Impossible de créer le lien symbolique à %1. %2</translation> </message> </context> @@ -140,19 +140,19 @@ <context> <name>KDLockFile</name> <message> - <source>Could not create lock file '%1': %2</source> + <source>Cannot create lock file '%1': %2</source> <translation>Impossible de poser un fichier de verrouillage '%1' : %2</translation> </message> <message> - <source>Could not write PID to lock file '%1': %2</source> + <source>Cannot write PID to lock file '%1': %2</source> <translation>Impossible d'écrire le PID pour le verrou de fichier '%1' : '%2'</translation> </message> <message> - <source>Could not obtain the lock for file '%1': %2</source> + <source>Cannot obtain the lock for file '%1': %2</source> <translation>Impossible d'obtenir le verrou pour le fichier '%1' : %2</translation> </message> <message> - <source>Could not release the lock for file '%1': %2</source> + <source>Cannot release the lock for file '%1': %2</source> <translation>Impossible de relâcher le verrou pour le fichier '%1' : %2</translation> </message> </context> @@ -171,7 +171,7 @@ <translation>exactement 2</translation> </message> <message> - <source>Could not open file '%1' for writing: %2</source> + <source>Cannot open file '%1' for writing: %2</source> <translation>Impossible d'ouvrir le fichier %1 en écriture : %2</translation> </message> <message> @@ -179,18 +179,18 @@ <translation>Impossible de trouver la sauvegarde du fichier %1.</translation> </message> <message> - <source>Could not restore backup file for %1.</source> + <source>Cannot restore backup file for %1.</source> <translation>Impossible de charger la sauvegarde du fichier %1.</translation> </message> <message> - <source>Could not restore backup file for %1: %2</source> + <source>Cannot restore backup file for %1: %2</source> <translation>Impossible de restaurer la sauvegarde du fichier %1 : %2</translation> </message> </context> <context> <name>KDUpdater::CopyOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Impossible de faire une sauvegarde du fichier %1.</translation> </message> <message> @@ -198,23 +198,23 @@ <translation>Arguments invalides : %1 arguments fournis, 2 attendus.</translation> </message> <message> - <source>Could not copy a non-existent file: %1</source> + <source>Cannot copy a non-existent file: %1</source> <translation>Impossible de copier un fichier non-existant : %1</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Impossible de supprimer le fichier de destination %1 : %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Impossible de copier %1 vers %2 : %3</translation> </message> <message> - <source>Could not delete file %1: %2</source> + <source>Cannot delete file %1: %2</source> <translation>Impossible de supprimer le fichier %1 : %2</translation> </message> <message> - <source>Could not restore backup file into %1: %2</source> + <source>Cannot restore backup file into %1: %2</source> <translation>Impossible de restaurer la sauvegarde du fichier vers %1 : %2</translation> </message> </context> @@ -303,7 +303,7 @@ <translation>Impossible de télécharger %1 : l'écriture du fichier '%2' à échoué : %3</translation> </message> <message> - <source>Cannot download %1: Could not create %2: %3</source> + <source>Cannot download %1: Cannot create %2: %3</source> <translation>Impossible de télécharger %1 : impossible de créer %2 : %3</translation> </message> <message> @@ -357,7 +357,7 @@ <translation>Arguments invalides : %1 arguments fournis, 1 seul attendu.</translation> </message> <message> - <source>Could not create folder %1: Unknown error.</source> + <source>Cannot create folder %1: Unknown error.</source> <translation>Impossible de créer le dossier %1 : erreur indéterminée.</translation> </message> <message> @@ -368,7 +368,7 @@ <context> <name>KDUpdater::MoveOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Impossible de sauvegarder le fichier %1.</translation> </message> <message> @@ -376,11 +376,11 @@ <translation>Arguments invalides : %1 arguments fournis, 2 attendus.</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Impossible de supprimer le fichier de destination %1 : %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Impossible de copier %1 vers %2 : %3</translation> </message> <message> @@ -407,7 +407,7 @@ <translation>Le fichier %1 n'existe pas.</translation> </message> <message> - <source>Could not open %1.</source> + <source>Cannot open %1.</source> <translation>Impossible d'ouvrir %1.</translation> </message> <message> @@ -430,11 +430,11 @@ <translation>Arguments invalides : %1 arguments fournis, 2 attendus.</translation> </message> <message> - <source>Could not open file %1 for reading: %2</source> + <source>Cannot open file %1 for reading: %2</source> <translation>Impossible d'ouvrir le fichier %1 en lecture : %2</translation> </message> <message> - <source>Could not open file %1 for writing: %2</source> + <source>Cannot open file %1 for writing: %2</source> <translation>Impossible d'ouvrir le fichier %1 en écriture : %2</translation> </message> <message> @@ -453,7 +453,7 @@ <context> <name>KDUpdater::ResourceFileDownloader</name> <message> - <source>Could not read resource file "%1". Reason:</source> + <source>Cannot read resource file "%1". Reason:</source> <translation>Impossible de lire le fichier de ressources "%1". Raison : </translation> </message> </context> @@ -464,11 +464,11 @@ <translation>Arguments invalides : %1 arguments fournis, 1 seul attendu.</translation> </message> <message> - <source>Could not remove folder %1: The folder does not exist.</source> + <source>Cannot remove folder %1: The folder does not exist.</source> <translation>Impossible de supprimer le dossier %1 : ce dossier n'existe pas.</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Impossible de supprimer le dossier %1 : %2</translation> </message> <message> @@ -510,11 +510,11 @@ <context> <name>KDUpdater::UpdateFinder</name> <message> - <source>Could not access the package information of this application.</source> + <source>Cannot access the package information of this application.</source> <translation>Impossible d'accéder aux informations contenues dans ce paquet pour cette application.</translation> </message> <message> - <source>Could not access the update sources information of this application.</source> + <source>Cannot access the update sources information of this application.</source> <translation>Impossible d'accéder aux informations de mise à jour pour cette application.</translation> </message> <message> @@ -529,7 +529,7 @@ </translation> </message> <message> - <source>Could not download update source %1 from ('%2')</source> + <source>Cannot download update source %1 from ('%2')</source> <translation>Impossible de télécharger l'emplacement des mises à jour pour %1 ('%2')</translation> </message> <message> @@ -552,7 +552,7 @@ <translation>%1 contient des informations invalides : %2</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Impossible de lire "%1"</translation> </message> <message> @@ -564,14 +564,14 @@ <translation>Élément racine %1 inattendu, il devrait se trouver dans "UpdateSources"</translation> </message> <message> - <source>Could not save changes to "%1": %2</source> + <source>Cannot save changes to "%1": %2</source> <translation>Impossible de sauvegarder les changements dans "%1" : %2</translation> </message> </context> <context> <name>KDUpdater::UpdatesInfoData</name> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Impossible de lire "%1"</translation> </message> <message> @@ -610,11 +610,11 @@ <context> <name>Lib7z</name> <message> - <source>Could not retrieve number of items in archive</source> + <source>Cannot retrieve number of items in archive</source> <translation>Impossible de récupérer le nombre d'éléments dans l'archive</translation> </message> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Impossible de récupérer le chemin de l'élément %1</translation> </message> <message> @@ -634,15 +634,15 @@ <translation>Erreur : %1</translation> </message> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Impossible de charger les codecs</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Impossible de récupérer le format par défaut</translation> </message> <message> - <source>Could not create archive %1. %2</source> + <source>Cannot create archive %1. %2</source> <translation>Impossible de créer l'archive %1. %2</translation> </message> <message> @@ -654,14 +654,14 @@ <translation>Index de l'élément %1 hors limites [0, %2]</translation> </message> <message> - <source>Could not create output file for writing: %1</source> + <source>Cannot create output file for writing: %1</source> <translation>Impossible de créer le fichier de sortie : %1</translation> </message> </context> <context> <name>Lib7z::ExtractItemJob</name> <message> - <source>Could not list archive: QIODevice not set or already destroyed.</source> + <source>Cannot list archive: QIODevice not set or already destroyed.</source> <translation>Impossible de lister l'archive : QIODevice n'est pas renseigné ou à déjà été détruit.</translation> </message> <message> @@ -680,7 +680,7 @@ <context> <name>Lib7z::ListArchiveJob</name> <message> - <source>Could not list archive: QIODevice already destroyed.</source> + <source>Cannot list archive: QIODevice already destroyed.</source> <translation>Impossible de lister l'archive : QIODevice n'est pas renseigné ou à déjà été détruit.</translation> </message> <message> @@ -695,15 +695,15 @@ <context> <name>OpenArchiveInfo</name> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Impossible de charger les codecs</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Impossible de récupérer le format par défaut</translation> </message> <message> - <source>Could not open archive</source> + <source>Cannot open archive</source> <translation>Impossible d'ouvrir l'archive</translation> </message> <message> @@ -781,43 +781,43 @@ <translation>YiB</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Impossible de supprimer le fichier %1 : %2</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Impossible de supprimer le dossier %1 : %2</translation> </message> <message> - <source>Could not create folder %1</source> + <source>Cannot create folder %1</source> <translation>Impossible de créer le dossier %1</translation> </message> <message> - <source>Could not copy file from %1 to %2: %3</source> + <source>Cannot copy file from %1 to %2: %3</source> <translation>Impossible de copier le fichier de %1 vers %2 : %3</translation> </message> <message> - <source>Could not move file from %1 to %2: %3</source> + <source>Cannot move file from %1 to %2: %3</source> <translation>Impossible de déplacer le fichier de %1 vers %2 : %3</translation> </message> <message> - <source>Could not create folder %1: %2</source> + <source>Cannot create folder %1: %2</source> <translation>Impossible de créer le dossier %1 : %2</translation> </message> <message> - <source>Could not open temporary file: %1</source> + <source>Cannot open temporary file: %1</source> <translation>Impossible d'ouvrir le fichier temporaire : %1</translation> </message> <message> - <source>Could not open temporary file for template %1: %2</source> + <source>Cannot open temporary file for template %1: %2</source> <translation>Impossible d'ouvrir le fichier temporaire pour le modèle %1 : %2</translation> </message> <message> - <source>Could not create temporary file</source> + <source>Cannot create temporary file</source> <translation>Impossible de créer le fichier temporaire</translation> </message> <message> - <source>Could not retrieve property %1 for item %2</source> + <source>Cannot retrieve property %1 for item %2</source> <translation>Impossible de récupérer la propriété %1 pour l'élément %2</translation> </message> <message> @@ -825,11 +825,11 @@ <translation>Propriété %1 pour l'élément %2 n'est pas de type VT_FILETIME mais %3</translation> </message> <message> - <source>Could not convert file time to local time</source> + <source>Cannot convert file time to local time</source> <translation>Impossible de convertir l'heure du fichier vers l'heure locale</translation> </message> <message> - <source>Could not convert local file time to system time</source> + <source>Cannot convert local file time to system time</source> <translation>Impossible de convertir l'heure du fichier vers l'heure du système</translation> </message> <message> @@ -852,15 +852,15 @@ <translation>Les composants ne peuvent avoir de composants fils en mode mise-à -jour.</translation> </message> <message> - <source>Could not open the requested translation file '%1'.</source> + <source>Cannot open the requested translation file '%1'.</source> <translation>Impossible d'ouvrir le fichier de traduction '%1'.</translation> </message> <message> - <source>Could not open the requested UI file '%1'. Error: %2</source> + <source>Cannot open the requested UI file '%1'. Error: %2</source> <translation>Impossible d'ouvir le fichier d'IHM '%1'. Erreur : %2</translation> </message> <message> - <source>Could not load the requested UI file '%1'. Error: %2</source> + <source>Cannot load the requested UI file '%1'. Error: %2</source> <translation>Impossible de charger le fichier d'IHM '%1'. Erreur : %2</translation> </message> <message> @@ -868,7 +868,7 @@ <translation>Impossible d'analyser 'isDefault' dans %1</translation> </message> <message> - <source>Could not open the requested license file '%1'. Error: %2</source> + <source>Cannot open the requested license file '%1'. Error: %2</source> <translation>Impossible d'ouvrir le fichier de licence '%1'. Erreur %2</translation> </message> <message> @@ -1044,7 +1044,7 @@ <translation>Arguments invalides dans %0 : les dossier sont invalides : %1 %2</translation> </message> <message> - <source>Could not create %0</source> + <source>Cannot create %0</source> <translation>Impossible de créer %0</translation> </message> <message> @@ -1052,11 +1052,11 @@ <translation>L'écrasement de %1 à échoué</translation> </message> <message> - <source>Could not copy %0 to %1, error was: %3</source> + <source>Cannot copy %0 to %1, error was: %3</source> <translation>Impossible de copier %0 vers %1, l'erreur rencontrée est : %3</translation> </message> <message> - <source>Could not remove %0</source> + <source>Cannot remove %0</source> <translation>Impossible de supprimer %0</translation> </message> </context> @@ -1067,11 +1067,11 @@ <translation>Nombre incorrect d'éléments de la tâche.</translation> </message> <message> - <source>Could not open source '%1' for read. Error: %2.</source> + <source>Cannot open source '%1' for read. Error: %2.</source> <translation>Impossible d'ouvrir le fichier source '%1' en lecture. Erreur : %2.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <translation>Impossible d'ouvrir le fichier source '%1' en écriture. Erreur : %2.</translation> </message> <message> @@ -1082,7 +1082,7 @@ <context> <name>QInstaller::CreateDesktopEntryOperation</name> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Impossible de faire une sauvegarde du fichier %1 : %2</translation> </message> <message> @@ -1098,7 +1098,7 @@ <translation>L'écrasement de %1 à échoué</translation> </message> <message> - <source>Could not write Desktop Entry at %1</source> + <source>Cannot write Desktop Entry at %1</source> <translation>Impossible d'écrire un élément 'Desktop Entry' vers %1</translation> </message> </context> @@ -1113,26 +1113,26 @@ <translation>exactement 2</translation> </message> <message> - <source>Could not create link from %1 to %2.</source> + <source>Cannot create link from %1 to %2.</source> <translation>Impossible de créer le lien symbolique de %1 vers %2.</translation> </message> <message> - <source>Could not remove link from %1 to %2.</source> + <source>Cannot remove link from %1 to %2.</source> <translation>Impossible de supprimer le lien de %1 vers %2.</translation> </message> </context> <context> <name>QInstaller::CreateLocalRepositoryOperation</name> <message> - <source>Could not set file permissions %1!</source> + <source>Cannot set file permissions %1!</source> <translation>Impossible d'attribuer les autorisations du fichier %1 !</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Impossible de supprimer le fichier %1 : %2</translation> </message> <message> - <source>Could not move file %1 to %2. Error: %3</source> + <source>Cannot move file %1 to %2. Error: %3</source> <translation>Impossible de déplacer le fichier %1 vers %2. Erreur : %3</translation> </message> <message> @@ -1148,19 +1148,19 @@ <translation>L'installeur devrait être une version hors ligne : %1.</translation> </message> <message> - <source>Could not open file: %1</source> + <source>Cannot open file: %1</source> <translation>Impossible d'ouvrir le fichier %1</translation> </message> <message> - <source>Could not read: %1. Error: %2</source> + <source>Cannot read: %1. Error: %2</source> <translation>Impossible de lire : %1. Erreur : %2</translation> </message> <message> - <source>Could not open file: %1. Error: %2</source> + <source>Cannot open file: %1. Error: %2</source> <translation>Impossible d'ouvrir le fichier %1. Erreur : %2</translation> </message> <message> - <source>Could not create target dir: %1.</source> + <source>Cannot create target dir: %1.</source> <translation>Impossible de créer le dossier cible : %1.</translation> </message> <message> @@ -1172,7 +1172,7 @@ <translation>Suppression du fichier : %0</translation> </message> <message> - <source>Could not remove %0.</source> + <source>Cannot remove %0.</source> <translation>Impossible de supprimer %0.</translation> </message> <message> @@ -1195,7 +1195,7 @@ <translation>(optionnel : 'workingDirectory=...', 'iconPath=...', 'iconId=...')</translation> </message> <message> - <source>Could not create folder %1: %2.</source> + <source>Cannot create folder %1: %2.</source> <translation>Impossible de créer le dossier %1 : %2.</translation> </message> <message> @@ -1203,7 +1203,7 @@ <translation>L'écrasement de %1 à échoué : %2</translation> </message> <message> - <source>Could not create link %1: %2</source> + <source>Cannot create link %1: %2</source> <translation>Impossible de créer le raccourci %1 : %2</translation> </message> </context> @@ -1226,15 +1226,15 @@ <translation>La vérification de l'empreinte pendant le téléchargement à échoué. C'est une erreur temporaire, veuillez réessayer.</translation> </message> <message> - <source>Could not verify Hash</source> + <source>Cannot verify Hash</source> <translation>Impossible de vérifier l'empreinte</translation> </message> <message> - <source>Could not download archive: %1 : %2</source> + <source>Cannot download archive: %1 : %2</source> <translation>Impossible de télécharger l'archive : %1 : %2</translation> </message> <message> - <source>Could not fetch archives: %1 + <source>Cannot fetch archives: %1 Error while loading %2</source> <translation>Impossible de charger les archives : %1 Erreur pendant le chargement %2</translation> @@ -1248,7 +1248,7 @@ Erreur pendant le chargement %2</translation> <translation>Schéma non supporté : %1 (%2)</translation> </message> <message> - <source>Could not find component for: %1.</source> + <source>Cannot find component for: %1.</source> <translation>Impossible de trouver le composant pour : %1.</translation> </message> </context> @@ -1296,7 +1296,7 @@ Erreur pendant le chargement %2</translation> <translation>Le fichier cible '%1' existe déjà mais il n'est pas de type fichier.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <extracomment>%2 is a sentence describing the error</extracomment> <translation>Impossible d'ouvrir le fichier cible '%1' en écriture. Erreur : %2.</translation> </message> @@ -1312,11 +1312,11 @@ Erreur pendant le chargement %2</translation> <translation>au moins 1</translation> </message> <message> - <source>Execution failed: Could not start detached: "%1"</source> + <source>Execution failed: Cannot start detached: "%1"</source> <translation>L'exécution à échouée : impossible de démarrer en mode arrière plan : "%1"</translation> </message> <message> - <source>Execution failed: Could not start: "%1"(%2)</source> + <source>Execution failed: Cannot start: "%1"(%2)</source> <translation>L'exécution à échouée : impossible de démarrer "%1" (%2)</translation> </message> <message> @@ -1353,7 +1353,7 @@ Erreur pendant le chargement %2</translation> <context> <name>QInstaller::ExtractArchiveOperation::Runnable</name> <message> - <source>Could not open %1 for reading: %2.</source> + <source>Cannot open %1 for reading: %2.</source> <translation>Impossible d'ouvrir %1 en lecture : %2.</translation> </message> <message> @@ -1372,7 +1372,7 @@ Erreur pendant le chargement %2</translation> <translation>Le nombre d'arguments ne correspond pas : un seul est requis</translation> </message> <message> - <source>Could not get package manager core.</source> + <source>Cannot get package manager core.</source> <translation>Impossible de récupérer le noyau du gestionnaire de paquets.</translation> </message> <message> @@ -1500,7 +1500,7 @@ Erreur pendant le chargement %2</translation> <translation>Argument invalide : le dossier source ne peut être vide.</translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Impossible de faire une sauvegarde du fichier %1 : %2</translation> </message> <message> @@ -1512,7 +1512,7 @@ Erreur pendant le chargement %2</translation> <translation>La copie du fichier %1 à échoué : %2</translation> </message> <message> - <source>Could not create folder at %1: %2</source> + <source>Cannot create folder at %1: %2</source> <translation>Impossible de créer le dossier %1 : %2</translation> </message> </context> @@ -1691,7 +1691,7 @@ Erreur pendant le chargement %2</translation> <translation>Une exception non spécifiée a été attrapée pendant l'extraction de %1.</translation> </message> <message> - <source>Could not open %1 for reading. Error: %2</source> + <source>Cannot open %1 for reading. Error: %2</source> <translation>Impossible d'ouvrir %1 en lecture : %2</translation> </message> </context> @@ -1779,7 +1779,7 @@ Téléchargement des paquets...</translation> <translation>Erreur de formatage</translation> </message> <message> - <source>Could not write installer configuration to %1: %2</source> + <source>Cannot write installer configuration to %1: %2</source> <translation>Impossible d'écrire la configuration de l'installeur vers %1 : %2</translation> </message> <message> @@ -1863,19 +1863,19 @@ Mise à jour annulée !</translation> <translation>L'Outil de Maintenance n'est pas un Bundle</translation> </message> <message> - <source>Could not write maintenance tool data to %1: %2</source> + <source>Cannot write maintenance tool data to %1: %2</source> <translation>Impossible d'écrire les données de l'Outil de Maintenance vers %1 : %2</translation> </message> <message> - <source>Could not remove data file '%1': %2</source> + <source>Cannot remove data file '%1': %2</source> <translation>Impossible de supprimer le fichier '%1' : %2</translation> </message> <message> - <source>Could not write maintenance tool to %1: %2</source> + <source>Cannot write maintenance tool to %1: %2</source> <translation>Impossible d'écrire l'Outil de Maintenance vers %1 : %2</translation> </message> <message> - <source>Could not write maintenance tool binary data to %1: %2</source> + <source>Cannot write maintenance tool binary data to %1: %2</source> <translation>Impossible d'écrire les données de l'Outil de Maintenance vers %1 : %2</translation> </message> <message> @@ -1925,7 +1925,7 @@ Installation du composant %1</translation> <translation>Erreur non déterminée</translation> </message> <message> - <source>Could not retrieve remote tree: %1.</source> + <source>Cannot retrieve remote tree: %1.</source> <translation>Impossible de récupérer l'arborescence distante : %1.</translation> </message> <message> @@ -1933,15 +1933,15 @@ Installation du composant %1</translation> <translation>Impossible de lire les paquets à partir de : %1.</translation> </message> <message> - <source>Could not retrieve meta information: %1</source> + <source>Cannot retrieve meta information: %1</source> <translation>Impossible de récupérer les métadonnées : %1</translation> </message> <message> - <source>Could not add temporary update source information.</source> + <source>Cannot add temporary update source information.</source> <translation>Impossible d'ajouter des information de source de mise à jour temporaire.</translation> </message> <message> - <source>Could not find any update source information.</source> + <source>Cannot find any update source information.</source> <translation>Impossible de trouver des informations de source de mise à jour.</translation> </message> <message> @@ -2156,14 +2156,14 @@ Veuillez copier cet installateur sur un disque local</translation> <context> <name>QInstaller::RemoteObject</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>Impossible de lire les données après envoi de la commande : %1. Octets attendus : %2, reçus : %3. Erreur : %4</translation> </message> </context> <context> <name>QInstaller::RemoteServerConnection</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>Impossible de lire les données après envoi de la commande : %1. Octets attendus : %2, reçus : %3. Erreur : %4</translation> </message> </context> @@ -2189,7 +2189,7 @@ Veuillez copier cet installateur sur un disque local</translation> <context> <name>QInstaller::Resource</name> <message> - <source>Could not open Resource '%1' read-only.</source> + <source>Cannot open Resource '%1' read-only.</source> <translation>Le fichier de ressource '%1' ne peut être ouvert en lecture seule.</translation> </message> <message> @@ -2211,7 +2211,7 @@ Veuillez copier cet installateur sur un disque local</translation> <context> <name>QInstaller::ScriptEngine</name> <message> - <source>Could not open the requested script file at %1: %2.</source> + <source>Cannot open the requested script file at %1: %2.</source> <translation>Impossible d'ouvrir le fichier de script requis à %1 : %2.</translation> </message> <message> @@ -2408,7 +2408,7 @@ Il est déconseillé d'installer dans ce dossier dans le cas où l'ins <translation>Délai d'attente dépassé pendant le test de : '%1'</translation> </message> <message> - <source>Could not parse Updates.xml! Error: %1.</source> + <source>Cannot parse Updates.xml! Error: %1.</source> <translation>Impossible d'analyser 'Updates.xml'. Erreur : %1.</translation> </message> <message> @@ -2438,11 +2438,11 @@ Il est déconseillé d'installer dans ce dossier dans le cas où l'ins <context> <name>RemoteClient</name> <message> - <source>Could not get authorization.</source> + <source>Cannot get authorization.</source> <translation>Impossible d'obtenir les autorisations nécessaires.</translation> </message> <message> - <source>Could not get authorization that is needed for continuing the installation. + <source>Cannot get authorization that is needed for continuing the installation. Either abort the installation or use the fallback solution by running %1 @@ -2459,14 +2459,14 @@ en tant que root et en cliquant sur OK.</translation> <context> <name>ResourceCollectionManager</name> <message> - <source>Could not open resource %1: %2</source> + <source>Cannot open resource %1: %2</source> <translation>Impossible d'ouvrir la ressource %1 : %2</translation> </message> </context> <context> <name>Settings</name> <message> - <source>Could not open settings file %1 for reading: %2</source> + <source>Cannot open settings file %1 for reading: %2</source> <translation>Impossible d'ouvrir le fichier de préférences %1 en lecture : %2</translation> </message> </context> @@ -2596,7 +2596,7 @@ en tant que root et en cliquant sur OK.</translation> <translation>Le chemin du registre %1 n'est pas accessible en écriture</translation> </message> <message> - <source>Could not write to registry path %1</source> + <source>Cannot write to registry path %1</source> <translation>Impossible d'écrire dans le registre le chemin %1</translation> </message> <message> diff --git a/src/sdk/translations/it.ts b/src/sdk/translations/it.ts index 8aa0f1245..17ec711f1 100644 --- a/src/sdk/translations/it.ts +++ b/src/sdk/translations/it.ts @@ -15,26 +15,26 @@ <context> <name>BinaryContent</name> <message> - <source>Could not seek to %1 to read the operation data.</source> + <source>Cannot seek to %1 to read the operation data.</source> <translation>Impossibile spostarsi alla posizione %1 per leggere i dati di funzionamento.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection block.</source> + <source>Cannot seek to %1 to read the resource collection block.</source> <translation>Impossibile spostarsi alla posizione %1 per leggere il blocco con le risorse.</translation> </message> <message> - <source>Could not open meta resource. Error: %1</source> + <source>Cannot open meta resource. Error: %1</source> <translation>Impossibile aprire i meta pacchetti.Errore: %1</translation> </message> </context> <context> <name>BinaryLayout</name> <message> - <source>Could not seek to %1 to read the embedded meta data count.</source> + <source>Cannot seek to %1 to read the embedded meta data count.</source> <translation>Impossibile eseguire il seek a %1 per leggere il conteggio dei meta dati embedded.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection segment.</source> + <source>Cannot seek to %1 to read the resource collection segment.</source> <translation></translation> </message> <message> @@ -72,34 +72,34 @@ <translation>Il percorso esiste ma non è una cartella: %1</translation> </message> <message> - <source>Could not create folder: %1</source> + <source>Cannot create folder: %1</source> <translation>Impossibile creare la cartella: %1</translation> </message> </context> <context> <name>ExtractCallbackImpl</name> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Impossibile recuperare il path dell'elemento dell'archivio %1</translation> </message> <message> - <source>Could not remove already existing symlink. %1</source> + <source>Cannot remove already existing symlink. %1</source> <translation>Impossibile rimuovere il collegamento già esistente. %1</translation> </message> <message> - <source>Could not open file: %1 (%2)</source> + <source>Cannot open file: %1 (%2)</source> <translation>Impossibile aprire il file: %1 (%2)</translation> </message> <message> - <source>Could not create symlink at '%1'. Another one is already existing.</source> + <source>Cannot create symlink at '%1'. Another one is already existing.</source> <translation>Impossibile creare il collegamento a '%1'. Un altro collegamento è già esistente.</translation> </message> <message> - <source>Could not read symlink target from file '%1'.</source> + <source>Cannot read symlink target from file '%1'.</source> <translation>Impossibile leggere dal file %1 puntato dal collegamento.</translation> </message> <message> - <source>Could not create symlink at %1. %2</source> + <source>Cannot create symlink at %1. %2</source> <translation>Impossibile creare il collegamento a %1. %2</translation> </message> </context> @@ -140,19 +140,19 @@ <context> <name>KDLockFile</name> <message> - <source>Could not create lock file '%1': %2</source> + <source>Cannot create lock file '%1': %2</source> <translation>Impossibile creare il file '%1': %2</translation> </message> <message> - <source>Could not write PID to lock file '%1': %2</source> + <source>Cannot write PID to lock file '%1': %2</source> <translation>Impossibile scrivere il PID nel file lockkato '%1': %2</translation> </message> <message> - <source>Could not obtain the lock for file '%1': %2</source> + <source>Cannot obtain the lock for file '%1': %2</source> <translation>Impossibile ottenere il lock del file '%1': %2</translation> </message> <message> - <source>Could not release the lock for file '%1': %2</source> + <source>Cannot release the lock for file '%1': %2</source> <translation>Impossibile rilasciare il lock del file '%1': %2</translation> </message> </context> @@ -171,7 +171,7 @@ <translation>esattamente 2</translation> </message> <message> - <source>Could not open file '%1' for writing: %2</source> + <source>Cannot open file '%1' for writing: %2</source> <translation>Impossibile aprire il file %1 in scrittura: %2</translation> </message> <message> @@ -179,18 +179,18 @@ <translation>Impossibile trovare il file di backup per %1.</translation> </message> <message> - <source>Could not restore backup file for %1.</source> + <source>Cannot restore backup file for %1.</source> <translation>Impossibile ripristinare il file di backup per %1.</translation> </message> <message> - <source>Could not restore backup file for %1: %2</source> + <source>Cannot restore backup file for %1: %2</source> <translation>Impossibile ripristinare il file di backup per %1: %2</translation> </message> </context> <context> <name>KDUpdater::CopyOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Impossibile eseguire il backup del file %1.</translation> </message> <message> @@ -198,23 +198,23 @@ <translation>Argomenti invalidi: argomenti forniti %1, richiesti 2.</translation> </message> <message> - <source>Could not copy a non-existent file: %1</source> + <source>Cannot copy a non-existent file: %1</source> <translation>Impossibile copiare un file non esistente: %1</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Impossibile rimuovere il file di destinazione %1: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Impossibile copiare %1 in %2: %3</translation> </message> <message> - <source>Could not delete file %1: %2</source> + <source>Cannot delete file %1: %2</source> <translation>Impossibile eliminare il file %1: %2</translation> </message> <message> - <source>Could not restore backup file into %1: %2</source> + <source>Cannot restore backup file into %1: %2</source> <translation>Impossibile ripristinare il file di backup in %1: %2</translation> </message> </context> @@ -303,7 +303,7 @@ <translation>Impossibile scaricare %1: Scrittura nel file '%2' fallita: %3</translation> </message> <message> - <source>Cannot download %1: Could not create %2: %3</source> + <source>Cannot download %1: Cannot create %2: %3</source> <translation>Impossibile scaricare %1: Impossibile creare %2: %3</translation> </message> <message> @@ -357,7 +357,7 @@ <translation>Argomenti invalidi: argomenti forniti %1, richiesti 1.</translation> </message> <message> - <source>Could not create folder %1: Unknown error.</source> + <source>Cannot create folder %1: Unknown error.</source> <translation>Impossibile creare la cartella %1: Errore sconosciuto.</translation> </message> <message> @@ -368,7 +368,7 @@ <context> <name>KDUpdater::MoveOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Impossibile eseguire il backup del file %1.</translation> </message> <message> @@ -376,11 +376,11 @@ <translation>Argomenti invalidi: argomenti forniti %1, richiesti 2.</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Impossibile rimuovere il file di destinazione %1: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Impossibile copiare %1 in %2: %3</translation> </message> <message> @@ -407,7 +407,7 @@ <translation>Il file %1 non esiste.</translation> </message> <message> - <source>Could not open %1.</source> + <source>Cannot open %1.</source> <translation>Impossibile aprire %1.</translation> </message> <message> @@ -430,11 +430,11 @@ <translation>Argomenti invalidi: argomenti forniti %1, richiesti 2.</translation> </message> <message> - <source>Could not open file %1 for reading: %2</source> + <source>Cannot open file %1 for reading: %2</source> <translation>Impossibile aprire %1 in lettura: %2</translation> </message> <message> - <source>Could not open file %1 for writing: %2</source> + <source>Cannot open file %1 for writing: %2</source> <translation>Impossibile aprire il file %1 in scrittura: %2</translation> </message> <message> @@ -453,7 +453,7 @@ <context> <name>KDUpdater::ResourceFileDownloader</name> <message> - <source>Could not read resource file "%1". Reason:</source> + <source>Cannot read resource file "%1". Reason:</source> <translation>Impossibile leggere il file di risorse "%1". Motivo:</translation> </message> </context> @@ -464,11 +464,11 @@ <translation>Argomenti invalidi: argomenti forniti %1, richiesti 1.</translation> </message> <message> - <source>Could not remove folder %1: The folder does not exist.</source> + <source>Cannot remove folder %1: The folder does not exist.</source> <translation>Impossibile rimuovere la cartella %1: La cartella non esiste.</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Impossibile rimuovere la cartella %1: %2</translation> </message> <message> @@ -510,11 +510,11 @@ <context> <name>KDUpdater::UpdateFinder</name> <message> - <source>Could not access the package information of this application.</source> + <source>Cannot access the package information of this application.</source> <translation>Impossibile accedere alle informazioni del pacchetto si questa applicazione.</translation> </message> <message> - <source>Could not access the update sources information of this application.</source> + <source>Cannot access the update sources information of this application.</source> <translation>Impossibile accedere alle informazioni degli aggiornamenti di questa applicazione.</translation> </message> <message> @@ -529,7 +529,7 @@ </translation> </message> <message> - <source>Could not download update source %1 from ('%2')</source> + <source>Cannot download update source %1 from ('%2')</source> <translation>Impossibile scaricare l'aggiornamento %1 da ('%2')</translation> </message> <message> @@ -552,7 +552,7 @@ <translation>%1 contiene dati invalidi: %2</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Impossibile leggere "%1"</translation> </message> <message> @@ -564,14 +564,14 @@ <translation>Elemento di Root %1 inaspettato, dovrebbe essere "UpdateSources"</translation> </message> <message> - <source>Could not save changes to "%1": %2</source> + <source>Cannot save changes to "%1": %2</source> <translation>Impossibile salvare i cambiamenti in "%1": %2</translation> </message> </context> <context> <name>KDUpdater::UpdatesInfoData</name> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Impossibile leggere "%1"</translation> </message> <message> @@ -610,11 +610,11 @@ <context> <name>Lib7z</name> <message> - <source>Could not retrieve number of items in archive</source> + <source>Cannot retrieve number of items in archive</source> <translation>Impossibile recuperare il numero di oggetti in archivio</translation> </message> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Impossibile recuperare il path dell'oggetto in archivio %1</translation> </message> <message> @@ -634,15 +634,15 @@ <translation>Errore: %1</translation> </message> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Impossibile caricare i codec</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Impossibile recuperare il formato di default</translation> </message> <message> - <source>Could not create archive %1. %2</source> + <source>Cannot create archive %1. %2</source> <translation>Impossibile creare l'archivio %1. %2</translation> </message> <message> @@ -654,14 +654,14 @@ <translation>L'indice dell'oggetto %1 è fuori dai limiti [0, %2]</translation> </message> <message> - <source>Could not create output file for writing: %1</source> + <source>Cannot create output file for writing: %1</source> <translation>Impossibile creare il file di output aperto in scrittura: %1</translation> </message> </context> <context> <name>Lib7z::ExtractItemJob</name> <message> - <source>Could not list archive: QIODevice not set or already destroyed.</source> + <source>Cannot list archive: QIODevice not set or already destroyed.</source> <translation>Impossibile accedere al contenuto dell'archivio: QIODevice non configurato o già distrutto.</translation> </message> <message> @@ -680,7 +680,7 @@ <context> <name>Lib7z::ListArchiveJob</name> <message> - <source>Could not list archive: QIODevice already destroyed.</source> + <source>Cannot list archive: QIODevice already destroyed.</source> <translation>Impossibile accedere all'archivio: QIODevice già distrutto.</translation> </message> <message> @@ -695,15 +695,15 @@ <context> <name>OpenArchiveInfo</name> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Impossibile caricare i codec</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Impossibile recuperare il formato di default</translation> </message> <message> - <source>Could not open archive</source> + <source>Cannot open archive</source> <translation>Impossibile aprire l'archivio</translation> </message> <message> @@ -781,43 +781,43 @@ <translation></translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Impossibile rimuovere il file %1: %2</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Impossibile rimuovere la cartella %1: %2</translation> </message> <message> - <source>Could not create folder %1</source> + <source>Cannot create folder %1</source> <translation>Impossibile creare la cartella %1</translation> </message> <message> - <source>Could not copy file from %1 to %2: %3</source> + <source>Cannot copy file from %1 to %2: %3</source> <translation>Impossibile copiare il file da %1 a %2: %3</translation> </message> <message> - <source>Could not move file from %1 to %2: %3</source> + <source>Cannot move file from %1 to %2: %3</source> <translation>Impossibile muovere il file da %1 a %2: %3</translation> </message> <message> - <source>Could not create folder %1: %2</source> + <source>Cannot create folder %1: %2</source> <translation>Impossibile creare la cartella %1: %2</translation> </message> <message> - <source>Could not open temporary file: %1</source> + <source>Cannot open temporary file: %1</source> <translation>Impossibile aprire il file temporaneo: %1</translation> </message> <message> - <source>Could not open temporary file for template %1: %2</source> + <source>Cannot open temporary file for template %1: %2</source> <translation>Impossibile aprire il file temporaneo per template %1: %2</translation> </message> <message> - <source>Could not create temporary file</source> + <source>Cannot create temporary file</source> <translation>Impossibile creare il file temporaneo</translation> </message> <message> - <source>Could not retrieve property %1 for item %2</source> + <source>Cannot retrieve property %1 for item %2</source> <translation>Impossibile recuperare la proprietà %1 per l'oggetto %2</translation> </message> <message> @@ -825,11 +825,11 @@ <translation>La propietà %1 per l'oggetto %2 non è di tipo VT_FILETIME ma %3</translation> </message> <message> - <source>Could not convert file time to local time</source> + <source>Cannot convert file time to local time</source> <translation>Impossibile convertire l'orario del file in ora locale</translation> </message> <message> - <source>Could not convert local file time to system time</source> + <source>Cannot convert local file time to system time</source> <translation>Impossible convertire l'ora del file in orario di sistema</translation> </message> <message> @@ -852,15 +852,15 @@ <translation>Componenti non possono avere figli nella modalità di aggiornamento.</translation> </message> <message> - <source>Could not open the requested translation file '%1'.</source> + <source>Cannot open the requested translation file '%1'.</source> <translation>Impossibile aprire il file di traduzioni richiesto '%1'.</translation> </message> <message> - <source>Could not open the requested UI file '%1'. Error: %2</source> + <source>Cannot open the requested UI file '%1'. Error: %2</source> <translation>Impossibile aprire il file UI '%1'. Errore: %2</translation> </message> <message> - <source>Could not load the requested UI file '%1'. Error: %2</source> + <source>Cannot load the requested UI file '%1'. Error: %2</source> <translation>Impossibile caricare il file UI '%1'. Errore: %2</translation> </message> <message> @@ -868,7 +868,7 @@ <translation>Impossibile risolvere isDefault in %1</translation> </message> <message> - <source>Could not open the requested license file '%1'. Error: %2</source> + <source>Cannot open the requested license file '%1'. Error: %2</source> <translation>Impossibile aprire il file di licenza richiesto '%1'. Errore: %2</translation> </message> <message> @@ -1040,7 +1040,7 @@ <translation>Argomenti invalidi in %0: Le cartelle sono invalide: %1 %2</translation> </message> <message> - <source>Could not create %0</source> + <source>Cannot create %0</source> <translation>Impossibile creare %0</translation> </message> <message> @@ -1048,11 +1048,11 @@ <translation>Impossibile sovrascrivere %1</translation> </message> <message> - <source>Could not copy %0 to %1, error was: %3</source> + <source>Cannot copy %0 to %1, error was: %3</source> <translation>Impossibile copiare il file da %0 a %1, errore: %3</translation> </message> <message> - <source>Could not remove %0</source> + <source>Cannot remove %0</source> <translation>Impossibile rimuovere %0</translation> </message> </context> @@ -1063,11 +1063,11 @@ <translation type="unfinished"></translation> </message> <message> - <source>Could not open source '%1' for read. Error: %2.</source> + <source>Cannot open source '%1' for read. Error: %2.</source> <translation>Impossibile aprire il file sorgente '%1' in lettura. Errore: %2.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <translation>Impossibile aprire il file di destinazione '%1' in scrittura. Errore: %2.</translation> </message> <message> @@ -1078,7 +1078,7 @@ <context> <name>QInstaller::CreateDesktopEntryOperation</name> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Impossibile eseguire il backup del file %1: %2</translation> </message> <message> @@ -1094,7 +1094,7 @@ <translation>Impossibile sovrascrivere %1</translation> </message> <message> - <source>Could not write Desktop Entry at %1</source> + <source>Cannot write Desktop Entry at %1</source> <translation></translation> </message> </context> @@ -1109,26 +1109,26 @@ <translation>esattamente 2</translation> </message> <message> - <source>Could not create link from %1 to %2.</source> + <source>Cannot create link from %1 to %2.</source> <translation>Impossibile creare il link per %1 a %2.</translation> </message> <message> - <source>Could not remove link from %1 to %2.</source> + <source>Cannot remove link from %1 to %2.</source> <translation>Impossibile rimuovere il link per %1 a %2.</translation> </message> </context> <context> <name>QInstaller::CreateLocalRepositoryOperation</name> <message> - <source>Could not set file permissions %1!</source> + <source>Cannot set file permissions %1!</source> <translation>Impossibile settare i permessi del file %1!</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Impossibile rimuovere il file %1: %2</translation> </message> <message> - <source>Could not move file %1 to %2. Error: %3</source> + <source>Cannot move file %1 to %2. Error: %3</source> <translation>Impossibile muovere il file da %1 a %2: Errore %3</translation> </message> <message> @@ -1144,19 +1144,19 @@ <translation>Installer deve essere una versione offline: %1.</translation> </message> <message> - <source>Could not open file: %1</source> + <source>Cannot open file: %1</source> <translation>Impossibile aprire il file: %1</translation> </message> <message> - <source>Could not read: %1. Error: %2</source> + <source>Cannot read: %1. Error: %2</source> <translation>Impossibile leggere: %1. Errore: %2</translation> </message> <message> - <source>Could not open file: %1. Error: %2</source> + <source>Cannot open file: %1. Error: %2</source> <translation>Impossibile aprire il file: %1. Errore %2</translation> </message> <message> - <source>Could not create target dir: %1.</source> + <source>Cannot create target dir: %1.</source> <translation>Impossibile creare la cartella di destinazione: %1.</translation> </message> <message> @@ -1168,7 +1168,7 @@ <translation>Rimozione file: %0</translation> </message> <message> - <source>Could not remove %0.</source> + <source>Cannot remove %0.</source> <translation>Impossibile rimuovere %0.</translation> </message> <message> @@ -1191,7 +1191,7 @@ <translation> (opzionale: 'workingDirectory=...', 'iconPath=...', 'iconId=...')</translation> </message> <message> - <source>Could not create folder %1: %2.</source> + <source>Cannot create folder %1: %2.</source> <translation>Impossibile creare la cartella %1: %2.</translation> </message> <message> @@ -1199,7 +1199,7 @@ <translation>Impossibile sovrascrivere %1: %2</translation> </message> <message> - <source>Could not create link %1: %2</source> + <source>Cannot create link %1: %2</source> <translation>Impossibile creare il link %1: %2</translation> </message> </context> @@ -1222,15 +1222,15 @@ <translation>Verifica Hash durante il download fallita. Questo è un errore temporaneo, riprovare.</translation> </message> <message> - <source>Could not verify Hash</source> + <source>Cannot verify Hash</source> <translation>Impossibile verificare l'hash</translation> </message> <message> - <source>Could not download archive: %1 : %2</source> + <source>Cannot download archive: %1 : %2</source> <translation>Impossibile scaricare l'archivio %1. %2</translation> </message> <message> - <source>Could not fetch archives: %1 + <source>Cannot fetch archives: %1 Error while loading %2</source> <translation>Impossibile eseguire il fetch dell'archivio: %1 Errore durante lo scaricamento %2</translation> @@ -1244,7 +1244,7 @@ Errore durante lo scaricamento %2</translation> <translation>Schema non supportato: %1 (%2)</translation> </message> <message> - <source>Could not find component for: %1.</source> + <source>Cannot find component for: %1.</source> <translation>Impossibile trovare il componente per : %1.</translation> </message> </context> @@ -1292,7 +1292,7 @@ Errore durante lo scaricamento %2</translation> <translation>Il file di destinazione '%1' è gia esistente ma non è un file.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <extracomment>%2 is a sentence describing the error</extracomment> <translation>Impossibile aprire il file di destinazione '%1' in scrittura. Errore: %2.</translation> </message> @@ -1308,11 +1308,11 @@ Errore durante lo scaricamento %2</translation> <translation>almeno 1</translation> </message> <message> - <source>Execution failed: Could not start detached: "%1"</source> + <source>Execution failed: Cannot start detached: "%1"</source> <translation>Esecuzione fallita:Impossibile iniziare: "%1"</translation> </message> <message> - <source>Execution failed: Could not start: "%1"(%2)</source> + <source>Execution failed: Cannot start: "%1"(%2)</source> <translation>Esecuzione fallita:Impossibile iniziare: "%1"(%2)</translation> </message> <message> @@ -1349,7 +1349,7 @@ Errore durante lo scaricamento %2</translation> <context> <name>QInstaller::ExtractArchiveOperation::Runnable</name> <message> - <source>Could not open %1 for reading: %2.</source> + <source>Cannot open %1 for reading: %2.</source> <translation>Impossibile aprire %1 in lettura: %2.</translation> </message> <message> @@ -1368,7 +1368,7 @@ Errore durante lo scaricamento %2</translation> <translation>Il numero di argomenti non corrisponde: solo uno è richiesto</translation> </message> <message> - <source>Could not get package manager core.</source> + <source>Cannot get package manager core.</source> <translation>Impossibile prendere il cuore del gestore pacchetti.</translation> </message> <message> @@ -1496,7 +1496,7 @@ Errore durante lo scaricamento %2</translation> <translation>Argomenti invalidi: la cartella sorgente non deve essere vuota.</translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Impossibile eseguire il backup del file %1: %2</translation> </message> <message> @@ -1508,7 +1508,7 @@ Errore durante lo scaricamento %2</translation> <translation>Impossibile copiare %1: %2</translation> </message> <message> - <source>Could not create folder at %1: %2</source> + <source>Cannot create folder at %1: %2</source> <translation>Impossibile creare la cartella %1: %2</translation> </message> </context> @@ -1685,7 +1685,7 @@ Errore durante lo scaricamento %2</translation> <translation>Eccezzione sconosciuta durante l'estrazione %1.</translation> </message> <message> - <source>Could not open %1 for reading. Error: %2</source> + <source>Cannot open %1 for reading. Error: %2</source> <translation>Impossibile aprire %1 in lettura. Errore: %2</translation> </message> </context> @@ -1773,7 +1773,7 @@ Scaricamento pacchetti...</translation> <translation>Errore di formato</translation> </message> <message> - <source>Could not write installer configuration to %1: %2</source> + <source>Cannot write installer configuration to %1: %2</source> <translation>Impossibile scrivere la configurazione dell'installer in %1: %2</translation> </message> <message> @@ -1856,19 +1856,19 @@ Update aborted!</source> <translation></translation> </message> <message> - <source>Could not write maintenance tool data to %1: %2</source> + <source>Cannot write maintenance tool data to %1: %2</source> <translation>Impossibile scrivere i dati del tool di mantenimento in %1: %2</translation> </message> <message> - <source>Could not remove data file '%1': %2</source> + <source>Cannot remove data file '%1': %2</source> <translation>Impossibile rimuovere i dati del file '%1': %2</translation> </message> <message> - <source>Could not write maintenance tool to %1: %2</source> + <source>Cannot write maintenance tool to %1: %2</source> <translation>Impossibile scrivere il tool di mantenimento in %1: %2</translation> </message> <message> - <source>Could not write maintenance tool binary data to %1: %2</source> + <source>Cannot write maintenance tool binary data to %1: %2</source> <translation>Impossibile scrivere i dati del tool di mantenimento in %1: %2</translation> </message> <message> @@ -1918,7 +1918,7 @@ Installazione componenti %1</translation> <translation>Errore sconosciuto</translation> </message> <message> - <source>Could not retrieve remote tree: %1.</source> + <source>Cannot retrieve remote tree: %1.</source> <translation></translation> </message> <message> @@ -1926,15 +1926,15 @@ Installazione componenti %1</translation> <translation>Fallita la lettura del pacchetto da: %1.</translation> </message> <message> - <source>Could not retrieve meta information: %1</source> + <source>Cannot retrieve meta information: %1</source> <translation>Impossibile recuperare i meta dati: %1</translation> </message> <message> - <source>Could not add temporary update source information.</source> + <source>Cannot add temporary update source information.</source> <translation></translation> </message> <message> - <source>Could not find any update source information.</source> + <source>Cannot find any update source information.</source> <translation>Impossibile trovare le informazioni per l'aggiornamento.</translation> </message> <message> @@ -2149,14 +2149,14 @@ Copiare l'installer in locale</translation> <context> <name>QInstaller::RemoteObject</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>Impossibile leggere tutti i dati dopo l'invio del comando: %1. Bytes aspettati: %2, Bytes ricevuti: %3. Errori: %4</translation> </message> </context> <context> <name>QInstaller::RemoteServerConnection</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation type="vanished">Impossibile leggere tutti i dati dopo l'invio del comando: %1. Bytes aspettati: %2, Bytes ricevuti: %3. Errori: %4</translation> </message> </context> @@ -2182,7 +2182,7 @@ Copiare l'installer in locale</translation> <context> <name>QInstaller::Resource</name> <message> - <source>Could not open Resource '%1' read-only.</source> + <source>Cannot open Resource '%1' read-only.</source> <translation>Impossibile aprire la Risorsa '%1' in sola lettura.</translation> </message> <message> @@ -2204,7 +2204,7 @@ Copiare l'installer in locale</translation> <context> <name>QInstaller::ScriptEngine</name> <message> - <source>Could not open the requested script file at %1: %2.</source> + <source>Cannot open the requested script file at %1: %2.</source> <translation>Impossibile aprire lo script %1: %2.</translation> </message> <message> @@ -2400,7 +2400,7 @@ Vuoi continuare?</translation> <translation>E' scaduto un timeout durante il test: '%1'</translation> </message> <message> - <source>Could not parse Updates.xml! Error: %1.</source> + <source>Cannot parse Updates.xml! Error: %1.</source> <translation>Impossibile analizzare Updates.xml! Errore: %1.</translation> </message> <message> @@ -2430,11 +2430,11 @@ Vuoi continuare?</translation> <context> <name>RemoteClient</name> <message> - <source>Could not get authorization.</source> + <source>Cannot get authorization.</source> <translation>Impossibile ottenere l'autorizzazione.</translation> </message> <message> - <source>Could not get authorization that is needed for continuing the installation. + <source>Cannot get authorization that is needed for continuing the installation. Either abort the installation or use the fallback solution by running %1 @@ -2451,14 +2451,14 @@ come root e premere ok.</translation> <context> <name>ResourceCollectionManager</name> <message> - <source>Could not open resource %1: %2</source> + <source>Cannot open resource %1: %2</source> <translation>Impossibile aprire la risorsa %1: %2</translation> </message> </context> <context> <name>Settings</name> <message> - <source>Could not open settings file %1 for reading: %2</source> + <source>Cannot open settings file %1 for reading: %2</source> <translation>Impossibile aprire il file di configurazione %1 in lettura: %2</translation> </message> </context> @@ -2588,7 +2588,7 @@ come root e premere ok.</translation> <translation>La chiave di registro %1 non può essere scritta</translation> </message> <message> - <source>Could not write to registry path %1</source> + <source>Cannot write to registry path %1</source> <translation>Impossibile scrivere la chiave di registro %1</translation> </message> <message> diff --git a/src/sdk/translations/ja.ts b/src/sdk/translations/ja.ts index 3f14998b6..f4d7e102b 100644 --- a/src/sdk/translations/ja.ts +++ b/src/sdk/translations/ja.ts @@ -46,7 +46,7 @@ <translation>2個</translation> </message> <message> - <source>Could not open file '%1' for writing: %2</source> + <source>Cannot open file '%1' for writing: %2</source> <translation>書ãè¾¼ã¿ç”¨ã«ãƒ•ã‚¡ã‚¤ãƒ« '%1' ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -54,18 +54,18 @@ <translation>%1 用ã®ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—ファイルãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“。</translation> </message> <message> - <source>Could not restore backup file for %1.</source> + <source>Cannot restore backup file for %1.</source> <translation>%1 用ã®ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—ファイルを復元ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not restore backup file for %1: %2</source> + <source>Cannot restore backup file for %1: %2</source> <translation>%1 用ã®ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—ファイルを復元ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> </context> <context> <name>KDUpdater::CopyOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>ファイル %1 ã‚’ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> @@ -73,23 +73,23 @@ <translation>無効ãªå¼•æ•°: %1個ã®å¼•æ•°ãŒæ¸¡ã•ã‚Œã¾ã—ãŸãŒã€å¿…è¦ãªã®ã¯2個ã§ã™ã€‚</translation> </message> <message> - <source>Could not copy a non-existent file: %1</source> + <source>Cannot copy a non-existent file: %1</source> <translation>å˜åœ¨ã—ãªã„ファイルã¯ã‚³ãƒ”ーã§ãã¾ã›ã‚“: %1</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>対象ファイル %1 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>%1 ã‚’ %2 ã«ã‚³ãƒ”ーã§ãã¾ã›ã‚“ã§ã—ãŸ: %3</translation> </message> <message> - <source>Could not delete file %1: %2</source> + <source>Cannot delete file %1: %2</source> <translation>ファイル %1 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not restore backup file into %1: %2</source> + <source>Cannot restore backup file into %1: %2</source> <translation>ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—ファイルを %1 ã¸å¾©å…ƒã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> </context> @@ -174,7 +174,7 @@ <translation>%1 をダウンãƒãƒ¼ãƒ‰ã§ãã¾ã›ã‚“: ファイル '%2' ã¸ã®æ›¸ãè¾¼ã¿ã«å¤±æ•—ã—ã¾ã—ãŸ: %3</translation> </message> <message> - <source>Cannot download %1: Could not create %2: %3</source> + <source>Cannot download %1: Cannot create %2: %3</source> <translation>%1 をダウンãƒãƒ¼ãƒ‰ã§ãã¾ã›ã‚“: %2 を作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %3</translation> </message> <message> @@ -228,7 +228,7 @@ <translation>無効ãªå¼•æ•°: %1個ã®å¼•æ•°ãŒæ¸¡ã•ã‚Œã¾ã—ãŸãŒã€å¿…è¦ãªã®ã¯1個ã§ã™ã€‚</translation> </message> <message> - <source>Could not create folder %1: Unknown error.</source> + <source>Cannot create folder %1: Unknown error.</source> <translation>フォルダ %1 を作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: 未知ã®ã‚¨ãƒ©ãƒ¼ã§ã™ã€‚</translation> </message> <message> @@ -239,7 +239,7 @@ <context> <name>KDUpdater::MoveOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>ファイル %1 ã‚’ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> @@ -247,11 +247,11 @@ <translation>無効ãªå¼•æ•°: %1個ã®å¼•æ•°ãŒæ¸¡ã•ã‚Œã¾ã—ãŸãŒã€å¿…è¦ãªã®ã¯2個ã§ã™ã€‚</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>対象ファイル %1 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>%1 ã‚’ %2 ã«ã‚³ãƒ”ーã§ãã¾ã›ã‚“ã§ã—ãŸ: %3</translation> </message> <message> @@ -278,7 +278,7 @@ <translation>ファイル %1 ãŒå˜åœ¨ã—ã¾ã›ã‚“。</translation> </message> <message> - <source>Could not open %1.</source> + <source>Cannot open %1.</source> <translation>%1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> @@ -301,11 +301,11 @@ <translation>無効ãªå¼•æ•°: %1個ã®å¼•æ•°ãŒæ¸¡ã•ã‚Œã¾ã—ãŸãŒã€å¿…è¦ãªã®ã¯2個ã§ã™ã€‚</translation> </message> <message> - <source>Could not open file %1 for reading: %2</source> + <source>Cannot open file %1 for reading: %2</source> <translation>èªã¿è¾¼ã¿ç”¨ã«ãƒ•ã‚¡ã‚¤ãƒ« %1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not open file %1 for writing: %2</source> + <source>Cannot open file %1 for writing: %2</source> <translation>書ãè¾¼ã¿ç”¨ã«ãƒ•ã‚¡ã‚¤ãƒ« %1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -324,7 +324,7 @@ <context> <name>KDUpdater::ResourceFileDownloader</name> <message> - <source>Could not read resource file "%1". Reason:</source> + <source>Cannot read resource file "%1". Reason:</source> <translation>リソースファイル "%1" ã‚’èªã¿è¾¼ã¿ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚ç†ç”±:</translation> </message> </context> @@ -335,11 +335,11 @@ <translation>無効ãªå¼•æ•°: %1個ã®å¼•æ•°ãŒæ¸¡ã•ã‚Œã¾ã—ãŸãŒã€å¿…è¦ãªã®ã¯1個ã§ã™ã€‚</translation> </message> <message> - <source>Could not remove folder %1: The folder does not exist.</source> + <source>Cannot remove folder %1: The folder does not exist.</source> <translation>フォルダ %1 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ: フォルダãŒå˜åœ¨ã—ã¾ã›ã‚“。</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>フォルダ %1 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -381,11 +381,11 @@ <context> <name>KDUpdater::UpdateFinder</name> <message> - <source>Could not access the package information of this application.</source> + <source>Cannot access the package information of this application.</source> <translation>ã“ã®ã‚¢ãƒ—リケーションã®ãƒ‘ãƒƒã‚±ãƒ¼ã‚¸æƒ…å ±ã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not access the update sources information of this application.</source> + <source>Cannot access the update sources information of this application.</source> <translation>ã“ã®ã‚¢ãƒ—リケーションã®æ›´æ–°å…ƒæƒ…å ±ã«ã‚¢ã‚¯ã‚»ã‚¹ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> @@ -411,7 +411,7 @@ </translation> </message> <message> - <source>Could not download update source %1 from ('%2')</source> + <source>Cannot download update source %1 from ('%2')</source> <translation>('%2') ã‹ã‚‰æ›´æ–°å…ƒ %1 をダウンãƒãƒ¼ãƒ‰ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> </context> @@ -422,7 +422,7 @@ <translation>%1 ã«ç„¡åŠ¹ãªã‚³ãƒ³ãƒ†ãƒ³ãƒ„ãŒå«ã¾ã‚Œã¦ã„ã¾ã™: %2</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>"%1" ã‚’èªã¿è¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> @@ -434,14 +434,14 @@ <translation>ルートエレメント㫠%1 ã¯ä½¿ç”¨ã§ãã¾ã›ã‚“。"UpdateSources"を使用ã—ã¦ãã ã•ã„</translation> </message> <message> - <source>Could not save changes to "%1": %2</source> + <source>Cannot save changes to "%1": %2</source> <translation>"%1" ã¸ã®å¤‰æ›´ã‚’ä¿å˜ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> </context> <context> <name>KDUpdater::UpdatesInfoData</name> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>"%1" ã‚’èªã¿è¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> @@ -480,7 +480,7 @@ <context> <name>Lib7z::ExtractItemJob</name> <message> - <source>Could not list archive: QIODevice not set or already destroyed.</source> + <source>Cannot list archive: QIODevice not set or already destroyed.</source> <translation>アーカイブã‹ã‚‰ãƒªã‚¹ãƒˆã‚’å–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ: QIODevice ãŒè¨å®šã•ã‚Œã¦ã„ãªã„ã‹ã€æ—¢ã«ç ´æ£„ã•ã‚Œã¦ã„ã¾ã™ã€‚</translation> </message> <message> @@ -499,7 +499,7 @@ <context> <name>Lib7z::ListArchiveJob</name> <message> - <source>Could not list archive: QIODevice already destroyed.</source> + <source>Cannot list archive: QIODevice already destroyed.</source> <translation>アーカイブã‹ã‚‰ãƒªã‚¹ãƒˆã‚’å–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ: QIODevice ãŒæ—¢ã«ç ´æ£„ã•ã‚Œã¦ã„ã¾ã™ã€‚</translation> </message> <message> @@ -574,43 +574,43 @@ <translation>%1 ãƒã‚¤ãƒˆã®æ›¸ãè¾¼ã¿å¾Œã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ: %2</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>ファイル %1 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>フォルダ %1 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not create folder %1</source> + <source>Cannot create folder %1</source> <translation>フォルダ %1 を作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not copy file from %1 to %2: %3</source> + <source>Cannot copy file from %1 to %2: %3</source> <translation>ファイル %1 ã‚’ %2 ã«ã‚³ãƒ”ーã§ãã¾ã›ã‚“ã§ã—ãŸ: %3</translation> </message> <message> - <source>Could not move file from %1 to %2: %3</source> + <source>Cannot move file from %1 to %2: %3</source> <translation>ファイル %1 ã‚’ %2 ã¸ç§»å‹•ã§ãã¾ã›ã‚“ã§ã—ãŸ: %3</translation> </message> <message> - <source>Could not create folder %1: %2</source> + <source>Cannot create folder %1: %2</source> <translation>フォルダ %1 を作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not open temporary file: %1</source> + <source>Cannot open temporary file: %1</source> <translation>一時ファイルを開ã‘ã¾ã›ã‚“ã§ã—ãŸ: %1</translation> </message> <message> - <source>Could not open temporary file for template %1: %2</source> + <source>Cannot open temporary file for template %1: %2</source> <translation>テンプレート %1 用ã®ä¸€æ™‚ファイルを開ã‘ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not create temporary file</source> + <source>Cannot create temporary file</source> <translation>一時ファイルを作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not retrieve property %1 for item %2</source> + <source>Cannot retrieve property %1 for item %2</source> <translation>アイテム%2 ã‹ã‚‰ãƒ—ãƒãƒ‘ティ %1 ã‚’å–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> @@ -618,11 +618,11 @@ <translation>アイテム%2 ã®ãƒ—ãƒãƒ‘ティ %1 ã®åž‹ãŒ VT_FILETIME ã§ã¯ãªã %3 ã«ãªã£ã¦ã„ã¾ã™</translation> </message> <message> - <source>Could not convert file time to local time</source> + <source>Cannot convert file time to local time</source> <translation>ファイルã®æ™‚刻をãƒãƒ¼ã‚«ãƒ«ã‚¿ã‚¤ãƒ ã«å¤‰æ›ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not convert local file time to system time</source> + <source>Cannot convert local file time to system time</source> <translation>ãƒãƒ¼ã‚«ãƒ«ãƒ•ã‚¡ã‚¤ãƒ«ã®æ™‚刻をシステムã®æ™‚刻ã¸å¤‰æ›ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> @@ -641,19 +641,19 @@ <context> <name>QInstaller::Component</name> <message> - <source>Could not open the requested translation file '%1'.</source> + <source>Cannot open the requested translation file '%1'.</source> <translation>è¦æ±‚ã•ã‚ŒãŸç¿»è¨³ãƒ•ã‚¡ã‚¤ãƒ« '%1' ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not open the requested UI file '%1'. Error: %2</source> + <source>Cannot open the requested UI file '%1'. Error: %2</source> <translation>è¦æ±‚ã•ã‚ŒãŸ UI ファイル '%1' ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %2</translation> </message> <message> - <source>Could not load the requested UI file '%1'. Error: %2</source> + <source>Cannot load the requested UI file '%1'. Error: %2</source> <translation>è¦æ±‚ã•ã‚ŒãŸ UI ファイル '%1' ã‚’ãƒãƒ¼ãƒ‰ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %2</translation> </message> <message> - <source>Could not open the requested license file '%1'. Error: %2</source> + <source>Cannot open the requested license file '%1'. Error: %2</source> <translation>è¦æ±‚ã•ã‚ŒãŸãƒ©ã‚¤ã‚»ãƒ³ã‚¹ãƒ•ã‚¡ã‚¤ãƒ« '%1' ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %2</translation> </message> <message> @@ -833,7 +833,7 @@ <translation>%0 ã«ç„¡åŠ¹ãªå¼•æ•°: ディレクトリãŒç„¡åŠ¹ã§ã™: %1 %2</translation> </message> <message> - <source>Could not create %0</source> + <source>Cannot create %0</source> <translation>%0 を作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> @@ -841,11 +841,11 @@ <translation>%1 を上書ãã§ãã¾ã›ã‚“</translation> </message> <message> - <source>Could not copy %0 to %1, error was: %3</source> + <source>Cannot copy %0 to %1, error was: %3</source> <translation>%0 ã‚’ %1 ã«ã‚³ãƒ”ーã§ãã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %3</translation> </message> <message> - <source>Could not remove %0</source> + <source>Cannot remove %0</source> <translation>%0 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> </context> @@ -864,11 +864,11 @@ <translation>%1 ã«ä¸Šæ›¸ãã§ãã¾ã›ã‚“</translation> </message> <message> - <source>Could not write Desktop Entry at %1</source> + <source>Cannot write Desktop Entry at %1</source> <translation>%1 ã¸ãƒ‡ã‚¹ã‚¯ãƒˆãƒƒãƒ—エントリーを書ã込むã“ã¨ãŒã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>ファイル %1 ã‚’ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> </context> @@ -883,22 +883,22 @@ <translation>2個</translation> </message> <message> - <source>Could not create link from %1 to %2.</source> + <source>Cannot create link from %1 to %2.</source> <translation>%1 ã‹ã‚‰ %2 ã¸ã®ãƒªãƒ³ã‚¯ã‚’作æˆã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not remove link from %1 to %2.</source> + <source>Cannot remove link from %1 to %2.</source> <translation>%1 ã‹ã‚‰ %2 ã¸ã®ãƒªãƒ³ã‚¯ã‚’削除ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> </context> <context> <name>QInstaller::CreateLocalRepositoryOperation</name> <message> - <source>Could not set file permissions %1!</source> + <source>Cannot set file permissions %1!</source> <translation>ファイル %1 ã«ã‚¢ã‚¯ã‚»ã‚¹æ¨©é™ã‚’è¨å®šã§ãã¾ã›ã‚“ã§ã—ãŸ!</translation> </message> <message> - <source>Could not move file %1 to %2. Error: %3</source> + <source>Cannot move file %1 to %2. Error: %3</source> <translation>ファイル %1 ã‚’ %2 ã¸ç§»å‹•ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %3</translation> </message> <message> @@ -914,19 +914,19 @@ <translation>インストーラã¯ã‚ªãƒ•ãƒ©ã‚¤ãƒ³ãƒãƒ¼ã‚¸ãƒ§ãƒ³ã§ã‚ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™: %1</translation> </message> <message> - <source>Could not open file: %1</source> + <source>Cannot open file: %1</source> <translation>ファイルを開ã‘ã¾ã›ã‚“ã§ã—ãŸ: %1</translation> </message> <message> - <source>Could not read: %1. Error: %2</source> + <source>Cannot read: %1. Error: %2</source> <translation>%1 ã‚’èªã¿è¾¼ã¿ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %2</translation> </message> <message> - <source>Could not open file: %1. Error: %2</source> + <source>Cannot open file: %1. Error: %2</source> <translation>ファイル %1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %2</translation> </message> <message> - <source>Could not create target dir: %1.</source> + <source>Cannot create target dir: %1.</source> <translation>ターゲットディレクトリを作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %1</translation> </message> <message> @@ -938,7 +938,7 @@ <translation>ファイルを削除ã—ã¦ã„ã¾ã™: %0</translation> </message> <message> - <source>Could not remove %0.</source> + <source>Cannot remove %0.</source> <translation>%0 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> @@ -946,7 +946,7 @@ <translation>ディレクトリ %1 を削除ã§ãã¾ã›ã‚“: %2</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>ファイル %1 を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> </context> @@ -965,11 +965,11 @@ <translation> (オプション: 'workingDirectory=...', 'iconPath=...', 'iconId=...') </translation> </message> <message> - <source>Could not create folder %1: %2.</source> + <source>Cannot create folder %1: %2.</source> <translation>フォルダ %1 を作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not create link %1: %2</source> + <source>Cannot create link %1: %2</source> <translation>リンク %1 を作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -996,15 +996,15 @@ <translation>ダウンãƒãƒ¼ãƒ‰ä¸ã®ãƒãƒƒã‚·ãƒ¥å€¤ã®ç…§åˆã«å¤±æ•—ã—ã¾ã—ãŸã€‚ã“ã‚Œã¯ä¸€æ™‚çš„ãªã‚¨ãƒ©ãƒ¼ã§ã™ã®ã§ã€å†è©¦è¡Œã—ã¦ãã ã•ã„。</translation> </message> <message> - <source>Could not verify Hash</source> + <source>Cannot verify Hash</source> <translation>ãƒãƒƒã‚·ãƒ¥å€¤ã®ç…§åˆãŒã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not download archive: %1 : %2</source> + <source>Cannot download archive: %1 : %2</source> <translation>アーカイブ %1 をダウンãƒãƒ¼ãƒ‰ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not fetch archives: %1 + <source>Cannot fetch archives: %1 Error while loading %2</source> <translation>アーカイブをå–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ: %1 %2 ã®èªã¿è¾¼ã¿ä¸ã«ã‚¨ãƒ©ãƒ¼ãŒç™ºç”Ÿã—ã¾ã—ãŸ</translation> @@ -1014,7 +1014,7 @@ Error while loading %2</source> <translation>ã“ã®ã‚¹ã‚ームã¯ã‚µãƒãƒ¼ãƒˆã—ã¦ã¾ã›ã‚“: %1 (%2)</translation> </message> <message> - <source>Could not find component for: %1.</source> + <source>Cannot find component for: %1.</source> <translation>コンãƒãƒ¼ãƒãƒ³ãƒˆ %1 を見ã¤ã‘ã‚‹ã“ã¨ãŒã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> @@ -1033,11 +1033,11 @@ Error while loading %2</source> <translation>å°‘ãªãã¨ã‚‚1個</translation> </message> <message> - <source>Execution failed: Could not start detached: "%1"</source> + <source>Execution failed: Cannot start detached: "%1"</source> <translation>実行ã«å¤±æ•—ã—ã¾ã—ãŸ: "%1" をデタッãƒã—ã¦èµ·å‹•ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Execution failed: Could not start: "%1"(%2)</source> + <source>Execution failed: Cannot start: "%1"(%2)</source> <translation>実行ã«å¤±æ•—ã—ã¾ã—ãŸ: "%1" ã‚’èµ·å‹•ã§ãã¾ã›ã‚“ã§ã—㟠(%2)</translation> </message> <message> @@ -1074,7 +1074,7 @@ Error while loading %2</source> <context> <name>QInstaller::ExtractArchiveOperation::Runnable</name> <message> - <source>Could not open %1 for reading: %2.</source> + <source>Cannot open %1 for reading: %2.</source> <translation>èªã¿è¾¼ã¿ç”¨ã« %1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -1151,7 +1151,7 @@ Error while loading %2</source> <translation>無効ãªå¼•æ•°: 空ã®ãƒ•ã‚©ãƒ«ãƒ€ã‚’ソースã«æŒ‡å®šã§ãã¾ã›ã‚“。</translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>ファイル %1 ã‚’ãƒãƒƒã‚¯ã‚¢ãƒƒãƒ—ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -1163,7 +1163,7 @@ Error while loading %2</source> <translation>ファイル %1 ã¸ã®ã‚³ãƒ”ーã«å¤±æ•—ã—ã¾ã—ãŸ: %2</translation> </message> <message> - <source>Could not create folder at %1: %2</source> + <source>Cannot create folder at %1: %2</source> <translation>%1 ã«ãƒ•ã‚©ãƒ«ãƒ€ã‚’作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> </context> @@ -1373,7 +1373,7 @@ Downloading packages...</source> <translation>フォーマットエラー</translation> </message> <message> - <source>Could not write installer configuration to %1: %2</source> + <source>Cannot write installer configuration to %1: %2</source> <translation>インストーラã®è¨å®šã‚’ %1 ã«æ›¸ãè¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -1473,7 +1473,7 @@ Installing component %1</source> <translation>未知ã®ã‚¨ãƒ©ãƒ¼</translation> </message> <message> - <source>Could not retrieve remote tree: %1.</source> + <source>Cannot retrieve remote tree: %1.</source> <translation>リモートã®ãƒ„リーをå–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ: %1</translation> </message> <message> @@ -1481,15 +1481,15 @@ Installing component %1</source> <translation>å³è¨˜ã‹ã‚‰ã®ãƒ‘ッケージã®èªã¿è¾¼ã¿ã«å¤±æ•—ã—ã¾ã—ãŸ: %1</translation> </message> <message> - <source>Could not retrieve meta information: %1</source> + <source>Cannot retrieve meta information: %1</source> <translation>ãƒ¡ã‚¿æƒ…å ±ã‚’å–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ: %1</translation> </message> <message> - <source>Could not add temporary update source information.</source> + <source>Cannot add temporary update source information.</source> <translation>一時的ãªæ›´æ–°å…ƒæƒ…å ±ã‚’è¿½åŠ ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not find any update source information.</source> + <source>Cannot find any update source information.</source> <translation>æ›´æ–°å…ƒæƒ…å ±ãŒè¦‹ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> @@ -1509,19 +1509,19 @@ Installing component %1</source> <translation>メンテナンスツールã¯ãƒãƒ³ãƒ‰ãƒ«ã•ã‚Œã¦ã„ã¾ã›ã‚“</translation> </message> <message> - <source>Could not write maintenance tool data to %1: %2</source> + <source>Cannot write maintenance tool data to %1: %2</source> <translation>メンテナンスツールã®ãƒ‡ãƒ¼ã‚¿ã‚’ %1 ã«æ›¸ãè¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not remove data file '%1': %2</source> + <source>Cannot remove data file '%1': %2</source> <translation>データファイル '%1' を削除ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not write maintenance tool to %1: %2</source> + <source>Cannot write maintenance tool to %1: %2</source> <translation>メンテナンスツールを %1 ã«æ›¸ãè¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not write maintenance tool binary data to %1: %2</source> + <source>Cannot write maintenance tool binary data to %1: %2</source> <translation>メンテナンスツールã®ãƒã‚¤ãƒŠãƒªãƒ‡ãƒ¼ã‚¿ã‚’ %1 ã«æ›¸ãè¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -1747,7 +1747,7 @@ Please copy the installer to a local drive</source> <context> <name>QInstaller::ScriptEngine</name> <message> - <source>Could not open the requested script file at %1: %2.</source> + <source>Cannot open the requested script file at %1: %2.</source> <translation>è¦æ±‚ã•ã‚ŒãŸã‚¹ã‚¯ãƒªãƒ—トファイル %1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -1920,7 +1920,7 @@ Do you want to continue?</source> <translation>テストä¸ã«ã‚¿ã‚¤ãƒ アウトãŒç™ºç”Ÿã—ã¾ã—ãŸ: '%1'</translation> </message> <message> - <source>Could not parse Updates.xml! Error: %1.</source> + <source>Cannot parse Updates.xml! Error: %1.</source> <translation>Updates.xml を解æžã§ãã¾ã›ã‚“ã§ã—ãŸ! エラー: %1</translation> </message> <message> @@ -1950,7 +1950,7 @@ Do you want to continue?</source> <context> <name>Settings</name> <message> - <source>Could not open settings file %1 for reading: %2</source> + <source>Cannot open settings file %1 for reading: %2</source> <translation>èªã¿è¾¼ã¿ç”¨ã«è¨å®šãƒ•ã‚¡ã‚¤ãƒ« %1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> </context> @@ -2126,11 +2126,11 @@ Do you want to continue?</source> <context> <name>BinaryLayout</name> <message> - <source>Could not seek to %1 to read the embedded meta data count.</source> + <source>Cannot seek to %1 to read the embedded meta data count.</source> <translation>埋ã‚è¾¼ã¾ã‚ŒãŸãƒ¡ã‚¿ãƒ‡ãƒ¼ã‚¿æ•°ã‚’èªã¿è¾¼ã‚€ãŸã‚ã« %1 ã«ã‚·ãƒ¼ã‚¯å‡ºæ¥ã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection segment.</source> + <source>Cannot seek to %1 to read the resource collection segment.</source> <translation>リソースコレクションセグメントをèªã¿è¾¼ã‚€ãŸã‚ã« %1 ã«ã‚·ãƒ¼ã‚¯å‡ºæ¥ã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> @@ -2141,22 +2141,22 @@ Do you want to continue?</source> <context> <name>BinaryContent</name> <message> - <source>Could not seek to %1 to read the operation data.</source> + <source>Cannot seek to %1 to read the operation data.</source> <translation>æ“作データをèªã¿è¾¼ã‚€ãŸã‚ã« %1 ã«ã‚·ãƒ¼ã‚¯å‡ºæ¥ã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection block.</source> + <source>Cannot seek to %1 to read the resource collection block.</source> <translation>リソースコレクションブãƒãƒƒã‚¯ã‚’èªã¿è¾¼ã‚€ãŸã‚ã« %1 ã«ã‚·ãƒ¼ã‚¯å‡ºæ¥ã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not open meta resource. Error: %1</source> + <source>Cannot open meta resource. Error: %1</source> <translation>メタリソースを開ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %1</translation> </message> </context> <context> <name>QInstaller::Resource</name> <message> - <source>Could not open Resource '%1' read-only.</source> + <source>Cannot open Resource '%1' read-only.</source> <translation>èªã¿è¾¼ã¿å°‚用ã§ãƒªã‚½ãƒ¼ã‚¹ %1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> @@ -2171,7 +2171,7 @@ Do you want to continue?</source> <context> <name>ResourceCollectionManager</name> <message> - <source>Could not open resource %1: %2</source> + <source>Cannot open resource %1: %2</source> <translation>リソース %1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> </context> @@ -2182,11 +2182,11 @@ Do you want to continue?</source> <translation>タスクアイテム数ãŒç„¡åŠ¹ã§ã™ã€‚</translation> </message> <message> - <source>Could not open source '%1' for read. Error: %2.</source> + <source>Cannot open source '%1' for read. Error: %2.</source> <translation>èªã¿è¾¼ã¿ç”¨ã«ã‚½ãƒ¼ã‚¹ '%1' ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %2。</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <translation>書ãè¾¼ã¿ç”¨ã«å¯¾è±¡ '%1' ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %2</translation> </message> <message> @@ -2238,7 +2238,7 @@ Do you want to continue?</source> <translation>対象ファイル '%1' ã¯æ—¢ã«å˜åœ¨ã—ã¾ã™ãŒã€ãƒ•ã‚¡ã‚¤ãƒ«ã§ã¯ã‚ã‚Šã¾ã›ã‚“。</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <extracomment>%2 is a sentence describing the error</extracomment> <translation>対象 '%1' ã¯æ›¸ãè¾¼ã¿ç”¨ã«é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %2。</translation> </message> @@ -2261,7 +2261,7 @@ Do you want to continue?</source> <translation>レジストリã®ãƒ‘ス %1 ã«æ›¸ãè¾¼ã¿ã§ãã¾ã›ã‚“</translation> </message> <message> - <source>Could not write to registry path %1</source> + <source>Cannot write to registry path %1</source> <translation>レジストリã®ãƒ‘ス %1 ã¸æ›¸ãè¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> @@ -2276,7 +2276,7 @@ Do you want to continue?</source> <translation>引数ã®æ•°ãŒä¸€è‡´ã—ã¾ã›ã‚“: 一ã¤ã®ã¿æŒ‡å®šã—ã¦ãã ã•ã„</translation> </message> <message> - <source>Could not get package manager core.</source> + <source>Cannot get package manager core.</source> <translation>パッケージマãƒãƒ¼ã‚¸ãƒ£ã®ã‚³ã‚¢ã‚’å–å¾—ã§ãã¾ã›ã‚“。</translation> </message> <message> @@ -2322,7 +2322,7 @@ Do you want to continue?</source> <translation>パスãŒå˜åœ¨ã—ã¦ã„ã¾ã™ãŒã€ãƒ•ã‚©ãƒ«ãƒ€ã§ã¯ã‚ã‚Šã¾ã›ã‚“: %1</translation> </message> <message> - <source>Could not create folder: %1</source> + <source>Cannot create folder: %1</source> <translation>フォルダを作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %1</translation> </message> </context> @@ -2336,15 +2336,15 @@ Do you want to continue?</source> <context> <name>OpenArchiveInfo</name> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>コーデックをãƒãƒ¼ãƒ‰ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>デフォルトフォーマットをå–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not open archive</source> + <source>Cannot open archive</source> <translation>アーカイブを開ã‘ã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> @@ -2355,11 +2355,11 @@ Do you want to continue?</source> <context> <name>Lib7z</name> <message> - <source>Could not retrieve number of items in archive</source> + <source>Cannot retrieve number of items in archive</source> <translation>アーカイブ内ã®ã‚¢ã‚¤ãƒ†ãƒ æ•°ãŒå–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>アーカイブアイテム%1 ã®ãƒ‘スãŒå–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> @@ -2379,15 +2379,15 @@ Do you want to continue?</source> <translation>エラー: %1</translation> </message> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>コーデックをãƒãƒ¼ãƒ‰ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>デフォルトフォーマットをå–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not create archive %1. %2</source> + <source>Cannot create archive %1. %2</source> <translation>アーカイブ %1 ãŒä½œæˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> @@ -2399,34 +2399,34 @@ Do you want to continue?</source> <translation>アイテムã®ã‚¤ãƒ³ãƒ‡ãƒƒã‚¯ã‚¹ %1 ãŒç¯„囲外ã§ã™ [0, %2]</translation> </message> <message> - <source>Could not create output file for writing: %1</source> + <source>Cannot create output file for writing: %1</source> <translation>書ãè¾¼ã¿ç”¨ã«å‡ºåŠ›ãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %1</translation> </message> </context> <context> <name>ExtractCallbackImpl</name> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>アーカイブアイテム%1 ã®ãƒ‘スãŒå–å¾—ã§ãã¾ã›ã‚“ã§ã—ãŸ</translation> </message> <message> - <source>Could not remove already existing symlink. %1</source> + <source>Cannot remove already existing symlink. %1</source> <translation>ã™ã§ã«å˜åœ¨ã™ã‚‹ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ã¯å‰Šé™¤ã§ãã¾ã›ã‚“: %1</translation> </message> <message> - <source>Could not open file: %1 (%2)</source> + <source>Cannot open file: %1 (%2)</source> <translation>ファイルãŒé–‹ã‘ã¾ã›ã‚“: %1 (%2)</translation> </message> <message> - <source>Could not create symlink at '%1'. Another one is already existing.</source> + <source>Cannot create symlink at '%1'. Another one is already existing.</source> <translation>'%1' ã«ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ã‚’作æˆã§ãã¾ã›ã‚“ã§ã—ãŸã€‚ä»–ã®ãƒªãƒ³ã‚¯ãŒã™ã§ã«å˜åœ¨ã—ã¾ã™ã€‚</translation> </message> <message> - <source>Could not read symlink target from file '%1'.</source> + <source>Cannot read symlink target from file '%1'.</source> <translation>シンボリックリンクã®å‚照先ã®ãƒ•ã‚¡ã‚¤ãƒ« '%1' ã‚’èªã¿è¾¼ã¿ç”¨ã«é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not create symlink at %1. %2</source> + <source>Cannot create symlink at %1. %2</source> <translation>%1 ã«ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ã‚’作æˆã§ãã¾ã›ã‚“ã§ã—ãŸã€‚ %2</translation> </message> </context> @@ -2481,7 +2481,7 @@ Do you want to continue?</source> <translation>%1 ã®å±•é–‹ä¸ã«æœªçŸ¥ã®ä¾‹å¤–ãŒç™ºç”Ÿã—ã¾ã—ãŸã€‚</translation> </message> <message> - <source>Could not open %1 for reading. Error: %2</source> + <source>Cannot open %1 for reading. Error: %2</source> <translation>èªã¿è¾¼ã¿ç”¨ã« %1 ã‚’é–‹ã‘ã¾ã›ã‚“ã§ã—ãŸã€‚エラー: %2</translation> </message> </context> @@ -2551,7 +2551,7 @@ Do you want to continue?</source> <translation>最åˆã®å¼•æ•°ã¯ 'linux', 'mac', 'windows' ã®ã„ãšã‚Œã‹ã‚’指定ã—ã¦ãã ã•ã„。ãれ以外ã¯ã‚µãƒãƒ¼ãƒˆã—ã¦ã„ã¾ã›ã‚“。</translation> </message> <message> - <source>Could not find the needed QmakeOutputInstallerKey(%1) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.</source> + <source>Cannot find the needed QmakeOutputInstallerKey(%1) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.</source> <translation>インストーラã«å¿…è¦ãª QmakeOutputInstallerKey(%1) ã®å€¤ã‚’見ã¤ã‘ã‚‹ã“ã¨ãŒã§ãã¾ã›ã‚“ã§ã—ãŸã€‚é©åˆ‡ãª qmake 㧠ConsumeOutput æ“作を最åˆã«å®Ÿè¡Œã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™ã€‚</translation> </message> <message> @@ -2595,11 +2595,11 @@ Qt ã®ãƒã‚¤ãƒŠãƒªã«ãƒ‘ッãƒã‚’é©ç”¨ã—よã†ã¨ã—ã¾ã—ãŸãŒã€Qt ã®ä»–ã <context> <name>RemoteClient</name> <message> - <source>Could not get authorization.</source> + <source>Cannot get authorization.</source> <translation>èªè¨¼ã§ãã¾ã›ã‚“ã§ã—ãŸã€‚</translation> </message> <message> - <source>Could not get authorization that is needed for continuing the installation. + <source>Cannot get authorization that is needed for continuing the installation. Either abort the installation or use the fallback solution by running %1 @@ -2614,33 +2614,33 @@ as root and then clicking OK.</source> <context> <name>QInstaller::RemoteObject</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>コマンドをé€ä¿¡ã—ãŸå¾Œã€ã™ã¹ã¦ã®ãƒ‡ãƒ¼ã‚¿ã‚’èªã¿è¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ: %1。想定ãƒã‚¤ãƒˆæ•°: %2 ã€å—ä¿¡ãƒã‚¤ãƒˆæ•°: %3。エラー: %4</translation> </message> </context> <context> <name>QInstaller::RemoteServerConnection</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>コマンドをé€ä¿¡ã—ãŸå¾Œã€ã™ã¹ã¦ã®ãƒ‡ãƒ¼ã‚¿ã‚’èªã¿è¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ: %1。想定ãƒã‚¤ãƒˆæ•°: %2 ã€å—ä¿¡ãƒã‚¤ãƒˆæ•°: %3。エラー: %4</translation> </message> </context> <context> <name>KDLockFile</name> <message> - <source>Could not create lock file '%1': %2</source> + <source>Cannot create lock file '%1': %2</source> <translation>ãƒãƒƒã‚¯ãƒ•ã‚¡ã‚¤ãƒ« '%1' を作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not write PID to lock file '%1': %2</source> + <source>Cannot write PID to lock file '%1': %2</source> <translation>ãƒãƒƒã‚¯ãƒ•ã‚¡ã‚¤ãƒ« '%1' ã« PID を書ãè¾¼ã‚ã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not obtain the lock for file '%1': %2</source> + <source>Cannot obtain the lock for file '%1': %2</source> <translation>ファイル '%1' ã‚’ãƒãƒƒã‚¯ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> <message> - <source>Could not release the lock for file '%1': %2</source> + <source>Cannot release the lock for file '%1': %2</source> <translation>ファイル '%1' ã®ãƒãƒƒã‚¯ã‚’解除ã§ãã¾ã›ã‚“ã§ã—ãŸ: %2</translation> </message> </context> diff --git a/src/sdk/translations/pl.ts b/src/sdk/translations/pl.ts index 46b173d28..3de7f4678 100644 --- a/src/sdk/translations/pl.ts +++ b/src/sdk/translations/pl.ts @@ -15,26 +15,26 @@ <context> <name>BinaryContent</name> <message> - <source>Could not seek to %1 to read the operation data.</source> + <source>Cannot seek to %1 to read the operation data.</source> <translation>Nie można przesunąć wskaźnika pozycji pliku do %1 w celu odczytania danych operacji.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection block.</source> + <source>Cannot seek to %1 to read the resource collection block.</source> <translation>Nie można przesunąć wskaźnika pozycji pliku do %1 w celu odczytania bloku kolekcji zasobów.</translation> </message> <message> - <source>Could not open meta resource. Error: %1</source> + <source>Cannot open meta resource. Error: %1</source> <translation>Nie można otworzyć metazasobów. BÅ‚Ä…d: %1</translation> </message> </context> <context> <name>BinaryLayout</name> <message> - <source>Could not seek to %1 to read the embedded meta data count.</source> + <source>Cannot seek to %1 to read the embedded meta data count.</source> <translation>Nie można przesunąć wskaźnika pozycji pliku do %1 w celu odczytania iloÅ›ci danych wbudowanych.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection segment.</source> + <source>Cannot seek to %1 to read the resource collection segment.</source> <translation>Nie można przesunąć wskaźnika pozycji pliku do %1 w celu odczytania segmentu z kolekcjÄ… zasobów.</translation> </message> <message> @@ -72,34 +72,34 @@ <translation>IsniejÄ…ca Å›cieżka %1 nie jest katalogiem</translation> </message> <message> - <source>Could not create folder: %1</source> + <source>Cannot create folder: %1</source> <translation>Nie można utworzyć katalogu: %1</translation> </message> </context> <context> <name>ExtractCallbackImpl</name> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Nie można odczytać Å›cieżki elementu archiwum %1</translation> </message> <message> - <source>Could not remove already existing symlink. %1</source> + <source>Cannot remove already existing symlink. %1</source> <translation>Nie można usunÄ…c istniejÄ…cego dowiÄ…zania symbolicznego %1</translation> </message> <message> - <source>Could not open file: %1 (%2)</source> + <source>Cannot open file: %1 (%2)</source> <translation>Nie można otworzyć pliku %1: %2</translation> </message> <message> - <source>Could not create symlink at '%1'. Another one is already existing.</source> + <source>Cannot create symlink at '%1'. Another one is already existing.</source> <translation>Nie można utworzyć dowiÄ…zania symbolicznego "%1". Istnieje już dowiÄ…zanie do innego pliku.</translation> </message> <message> - <source>Could not read symlink target from file '%1'.</source> + <source>Cannot read symlink target from file '%1'.</source> <translation>Nie można odczytać docelowego pliku "%1" wynikajÄ…cego z dowiÄ…zania.</translation> </message> <message> - <source>Could not create symlink at %1. %2</source> + <source>Cannot create symlink at %1. %2</source> <translation>Nie można utworzyć dowiÄ…zania symbolicznego "%1": %2</translation> </message> </context> @@ -140,19 +140,19 @@ <context> <name>KDLockFile</name> <message> - <source>Could not create lock file '%1': %2</source> + <source>Cannot create lock file '%1': %2</source> <translation>Nie można zablokować pliku "%1": %2</translation> </message> <message> - <source>Could not write PID to lock file '%1': %2</source> + <source>Cannot write PID to lock file '%1': %2</source> <translation>Nie można zapisać PID w celu zablokowania pliku "%1": %2</translation> </message> <message> - <source>Could not obtain the lock for file '%1': %2</source> + <source>Cannot obtain the lock for file '%1': %2</source> <translation>Nie można uzyskać wyÅ‚Ä…cznoÅ›ci dostÄ™pu do pliku "%1": %2</translation> </message> <message> - <source>Could not release the lock for file '%1': %2</source> + <source>Cannot release the lock for file '%1': %2</source> <translation>Nie można odblokować pliku "%1": %2</translation> </message> </context> @@ -171,7 +171,7 @@ <translation>dokÅ‚adnie 2</translation> </message> <message> - <source>Could not open file '%1' for writing: %2</source> + <source>Cannot open file '%1' for writing: %2</source> <translation>Nie można otworzyć pliku "%1" do zapisu: %2</translation> </message> <message> @@ -179,18 +179,18 @@ <translation>Nie można odnaleźć kopii zapasowej pliku %1.</translation> </message> <message> - <source>Could not restore backup file for %1.</source> + <source>Cannot restore backup file for %1.</source> <translation>Nie można przywrócić kopii zapasowej pliku %1.</translation> </message> <message> - <source>Could not restore backup file for %1: %2</source> + <source>Cannot restore backup file for %1: %2</source> <translation>Nie można przywrócić kopii zapasowej pliku %1: %2</translation> </message> </context> <context> <name>KDUpdater::CopyOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Nie można utworzyć kopii zapasowej pliku %1.</translation> </message> <message> @@ -198,23 +198,23 @@ <translation>NiewÅ‚aÅ›ciwe argumenty: ilość przekazanych argumentów %1, oczekiwano 2.</translation> </message> <message> - <source>Could not copy a non-existent file: %1</source> + <source>Cannot copy a non-existent file: %1</source> <translation>Nie można skopiować nieistniejÄ…cego pliku: %1</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Nie można usunąć pliku docelowego %1: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Nie można skopiować pliku z %1 do %2: %3</translation> </message> <message> - <source>Could not delete file %1: %2</source> + <source>Cannot delete file %1: %2</source> <translation>Nie można usunąć pliku %1: %2</translation> </message> <message> - <source>Could not restore backup file into %1: %2</source> + <source>Cannot restore backup file into %1: %2</source> <translation>Nie można przywrócić kopii zapasowej pliku %1: %2</translation> </message> </context> @@ -307,7 +307,7 @@ <translation>Nie można pobrać %1: bÅ‚Ä…d zapisu do %2: %3</translation> </message> <message> - <source>Cannot download %1: Could not create %2: %3</source> + <source>Cannot download %1: Cannot create %2: %3</source> <translation>Nie można pobrać %1: bÅ‚Ä…d tworzenia %2: %3</translation> </message> <message> @@ -361,7 +361,7 @@ <translation>NiewÅ‚aÅ›ciwe argumenty: ilość przekazanych argumentów %1, oczekiwano 1.</translation> </message> <message> - <source>Could not create folder %1: Unknown error.</source> + <source>Cannot create folder %1: Unknown error.</source> <translation>Nie można utworzyć katalogu %1: Nieznany bÅ‚Ä…d.</translation> </message> <message> @@ -372,7 +372,7 @@ <context> <name>KDUpdater::MoveOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Nie można utworzyć kopii zapasowej pliku %1.</translation> </message> <message> @@ -380,11 +380,11 @@ <translation>NiewÅ‚aÅ›ciwe argumenty: ilość przekazanych argumentów %1, oczekiwano 2.</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Nie można usunÄ…c pliku docelowego %1: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Nie można skopiować pliku z %1 do %2: %3</translation> </message> <message> @@ -411,7 +411,7 @@ <translation>Plik %1 nie istnieje.</translation> </message> <message> - <source>Could not open %1.</source> + <source>Cannot open %1.</source> <translation>Nie można otworzyć %1.</translation> </message> <message> @@ -434,11 +434,11 @@ <translation>NiewÅ‚aÅ›ciwe argumenty: ilość przekazanych argumentów %1, oczekiwano 2.</translation> </message> <message> - <source>Could not open file %1 for reading: %2</source> + <source>Cannot open file %1 for reading: %2</source> <translation>Nie można otworzyć pliku %1 do odczytu: %2</translation> </message> <message> - <source>Could not open file %1 for writing: %2</source> + <source>Cannot open file %1 for writing: %2</source> <translation>Nie można otworzyć pliku %1 do zapisu: %2</translation> </message> <message> @@ -457,7 +457,7 @@ <context> <name>KDUpdater::ResourceFileDownloader</name> <message> - <source>Could not read resource file "%1". Reason:</source> + <source>Cannot read resource file "%1". Reason:</source> <translation>Nie można odczytać pliku z zasobami "%1". Powód:</translation> </message> </context> @@ -468,11 +468,11 @@ <translation>NiewÅ‚aÅ›ciwe argumenty: ilość przekazanych argumentów %1, oczekiwano 1.</translation> </message> <message> - <source>Could not remove folder %1: The folder does not exist.</source> + <source>Cannot remove folder %1: The folder does not exist.</source> <translation>Nie można usunąć katalogu %1: Katalog nie istnieje.</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Nie można usunąć katalogu %1: %2</translation> </message> <message> @@ -514,11 +514,11 @@ <context> <name>KDUpdater::UpdateFinder</name> <message> - <source>Could not access the package information of this application.</source> + <source>Cannot access the package information of this application.</source> <translation>Brak dostÄ™pu do informacji o pakiecie dla tej aplikacji.</translation> </message> <message> - <source>Could not access the update sources information of this application.</source> + <source>Cannot access the update sources information of this application.</source> <translation>Brak dostÄ™pu do informacji o źródÅ‚ach aktualizacji dla tej aplikacji.</translation> </message> <message numerus="yes"> @@ -534,7 +534,7 @@ <translation>Pobieranie Updates.xml ze źródeÅ‚ uaktualnieÅ„.</translation> </message> <message> - <source>Could not download update source %1 from ('%2')</source> + <source>Cannot download update source %1 from ('%2')</source> <translation>Nie można pobrać źródÅ‚a uaktualnienia %1 z ("%2")</translation> </message> <message> @@ -557,7 +557,7 @@ <translation>Niepoprawna zawartość %1: %2</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Nie można odczytać "%1"</translation> </message> <message> @@ -569,7 +569,7 @@ <translation>Nieoczekiwany główny element %1, oczekiwano <UpdateSources></translation> </message> <message> - <source>Could not save changes to "%1": %2</source> + <source>Cannot save changes to "%1": %2</source> <translation>Nie można zachować zmian w "%1": %2</translation> </message> </context> @@ -580,7 +580,7 @@ <translation>Niepoprawna zawartość Updates.xml: %1</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Nie można odczytać "%1"</translation> </message> <message> @@ -615,11 +615,11 @@ <context> <name>Lib7z</name> <message> - <source>Could not retrieve number of items in archive</source> + <source>Cannot retrieve number of items in archive</source> <translation>Nie można odczytać liczby elementów w archiwum</translation> </message> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Nie można odczytać Å›cieżki elementu archiwum %1</translation> </message> <message> @@ -639,15 +639,15 @@ <translation>BÅ‚Ä…d: %1</translation> </message> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Nie można zaÅ‚adować kodeków</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Nie można odczytać domyÅ›lnego formatu</translation> </message> <message> - <source>Could not create archive %1. %2</source> + <source>Cannot create archive %1. %2</source> <translation>Nie można utworzyć archiwum %1. %2</translation> </message> <message> @@ -659,14 +659,14 @@ <translation>Indeks elementu %1 poza zakresem [0, %2]</translation> </message> <message> - <source>Could not create output file for writing: %1</source> + <source>Cannot create output file for writing: %1</source> <translation>Nie można otworzyć pliku wyjÅ›ciowego do zapisu: %1</translation> </message> </context> <context> <name>Lib7z::ExtractItemJob</name> <message> - <source>Could not list archive: QIODevice not set or already destroyed.</source> + <source>Cannot list archive: QIODevice not set or already destroyed.</source> <translation>Nie można uzyskać listy zawartoÅ›ci archiwum: nie ustawiono QIODevice lub zostaÅ‚ on już zlikwidowany.</translation> </message> <message> @@ -685,7 +685,7 @@ <context> <name>Lib7z::ListArchiveJob</name> <message> - <source>Could not list archive: QIODevice already destroyed.</source> + <source>Cannot list archive: QIODevice already destroyed.</source> <translation>Nie można uzyskać listy zawartoÅ›ci archiwum: QIODevice zostaÅ‚ już zlikwidowany.</translation> </message> <message> @@ -700,15 +700,15 @@ <context> <name>OpenArchiveInfo</name> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Nie można zaÅ‚adować kodeków</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Nie można odczytać domyÅ›lnego formatu</translation> </message> <message> - <source>Could not open archive</source> + <source>Cannot open archive</source> <translation>Nie można otworzyć archiwum</translation> </message> <message> @@ -786,43 +786,43 @@ <translation>YiB</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Nie można usunąć pliku %1: %2</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Nie można usunąć katalogu %1: %2</translation> </message> <message> - <source>Could not create folder %1</source> + <source>Cannot create folder %1</source> <translation>Nie można utworzyć katalogu %1</translation> </message> <message> - <source>Could not copy file from %1 to %2: %3</source> + <source>Cannot copy file from %1 to %2: %3</source> <translation>Nie można skopiować pliku z %1 do %2: %3</translation> </message> <message> - <source>Could not move file from %1 to %2: %3</source> + <source>Cannot move file from %1 to %2: %3</source> <translation>Nie można przenieść pliku z %1 do %2: %3</translation> </message> <message> - <source>Could not create folder %1: %2</source> + <source>Cannot create folder %1: %2</source> <translation>Nie można utworzyć katalogu %1: %2</translation> </message> <message> - <source>Could not open temporary file: %1</source> + <source>Cannot open temporary file: %1</source> <translation>Nie można otworzyć pliku tymczasowego: %1</translation> </message> <message> - <source>Could not open temporary file for template %1: %2</source> + <source>Cannot open temporary file for template %1: %2</source> <translation>Nie można otworzyć pliku tymczasowego dla szablonu %1: %2</translation> </message> <message> - <source>Could not create temporary file</source> + <source>Cannot create temporary file</source> <translation>Nie można utworzyć pliku tymczasowego</translation> </message> <message> - <source>Could not retrieve property %1 for item %2</source> + <source>Cannot retrieve property %1 for item %2</source> <translation>Nie można pobrać wÅ‚aÅ›ciwoÅ›ci %1 z elementu %2</translation> </message> <message> @@ -830,11 +830,11 @@ <translation>WÅ‚aÅ›ciwość %1 elementu %2 nie jest typu VT_FILETIME, tylko %3</translation> </message> <message> - <source>Could not convert file time to local time</source> + <source>Cannot convert file time to local time</source> <translation>Nie można skonwertować czasu zapisu pliku do czasu lokalnego</translation> </message> <message> - <source>Could not convert local file time to system time</source> + <source>Cannot convert local file time to system time</source> <translation>Nie można skonwertować lokalnego czasu do czasu systemowego</translation> </message> <message> @@ -857,19 +857,19 @@ <translation>Komponenty nie mogÄ… posiadać dzieci w trybie aktualizacji.</translation> </message> <message> - <source>Could not open the requested translation file '%1'.</source> + <source>Cannot open the requested translation file '%1'.</source> <translation>Nie można otworzyć wymaganego pliku z tÅ‚umaczeniami "%1".</translation> </message> <message> - <source>Could not open the requested UI file '%1'. Error: %2</source> + <source>Cannot open the requested UI file '%1'. Error: %2</source> <translation>Nie można otworzyć wymaganego pliku UI "%1". BÅ‚Ä…d: %2</translation> </message> <message> - <source>Could not load the requested UI file '%1'. Error: %2</source> + <source>Cannot load the requested UI file '%1'. Error: %2</source> <translation>Nie można zaÅ‚adować wymaganego pliku UI "%1". BÅ‚Ä…d: %2</translation> </message> <message> - <source>Could not open the requested license file '%1'. Error: %2</source> + <source>Cannot open the requested license file '%1'. Error: %2</source> <translation>Nie można otworzyć wymaganego pliku z licencjÄ… "%1". BÅ‚Ä…d: %2</translation> </message> <message> @@ -1045,7 +1045,7 @@ <translation>NiewÅ‚aÅ›ciwe argumenty w %0: katalogi sÄ… niewÅ‚aÅ›ciwe: %1, %2</translation> </message> <message> - <source>Could not create %0</source> + <source>Cannot create %0</source> <translation>Nie można utworzyć %0</translation> </message> <message> @@ -1053,11 +1053,11 @@ <translation>Nie można nadpisać %1</translation> </message> <message> - <source>Could not copy %0 to %1, error was: %3</source> + <source>Cannot copy %0 to %1, error was: %3</source> <translation>Nie można skopiować pliku z %0 do %1: %3</translation> </message> <message> - <source>Could not remove %0</source> + <source>Cannot remove %0</source> <translation>Nie można usunąć %0</translation> </message> </context> @@ -1068,11 +1068,11 @@ <translation>Niepoprawna ilość zadaÅ„.</translation> </message> <message> - <source>Could not open source '%1' for read. Error: %2.</source> + <source>Cannot open source '%1' for read. Error: %2.</source> <translation>Nie można otworzyć źródÅ‚a "%1" do odczytu. BÅ‚Ä…d: %2.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <translation>Nie można otworzyć "%1" do zapisu. BÅ‚Ä…d: %2.</translation> </message> <message> @@ -1083,7 +1083,7 @@ <context> <name>QInstaller::CreateDesktopEntryOperation</name> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Nie można utworzyć kopii zapasowej pliku %1: %2</translation> </message> <message> @@ -1099,7 +1099,7 @@ <translation>Nie można nadpisać %1</translation> </message> <message> - <source>Could not write Desktop Entry at %1</source> + <source>Cannot write Desktop Entry at %1</source> <translation>Nie można zapisać Desktop Entry w %1</translation> </message> </context> @@ -1114,26 +1114,26 @@ <translation>dokÅ‚adnie 2</translation> </message> <message> - <source>Could not create link from %1 to %2.</source> + <source>Cannot create link from %1 to %2.</source> <translation>Nie można utworzyć dowiÄ…zania z %1 do %2.</translation> </message> <message> - <source>Could not remove link from %1 to %2.</source> + <source>Cannot remove link from %1 to %2.</source> <translation>Nie można usunąć dowiÄ…zania z %1 do %2.</translation> </message> </context> <context> <name>QInstaller::CreateLocalRepositoryOperation</name> <message> - <source>Could not set file permissions %1!</source> + <source>Cannot set file permissions %1!</source> <translation>Nie można ustawić praw dostÄ™pu %1.</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Nie można usunąć pliku %1: %2</translation> </message> <message> - <source>Could not move file %1 to %2. Error: %3</source> + <source>Cannot move file %1 to %2. Error: %3</source> <translation>Nie można przenieść pliku z %1 do %2: %3</translation> </message> <message> @@ -1149,19 +1149,19 @@ <translation>Instalator musi być w wersji offline: %1.</translation> </message> <message> - <source>Could not open file: %1</source> + <source>Cannot open file: %1</source> <translation>Nie można otworzyć pliku %1</translation> </message> <message> - <source>Could not read: %1. Error: %2</source> + <source>Cannot read: %1. Error: %2</source> <translation>BÅ‚Ä…d odczytu %1: %2</translation> </message> <message> - <source>Could not open file: %1. Error: %2</source> + <source>Cannot open file: %1. Error: %2</source> <translation>Nie można otworzyć pliku %1: %2</translation> </message> <message> - <source>Could not create target dir: %1.</source> + <source>Cannot create target dir: %1.</source> <translation>Nie można utworzyć katalogu docelowego %1.</translation> </message> <message> @@ -1173,7 +1173,7 @@ <translation>Usuwanie pliku %0</translation> </message> <message> - <source>Could not remove %0.</source> + <source>Cannot remove %0.</source> <translation>Nie można usunąć %0.</translation> </message> <message> @@ -1196,7 +1196,7 @@ <translation> (opcjonalnie: 'workingDirectory=...', 'iconPath=...', 'iconId=...')</translation> </message> <message> - <source>Could not create folder %1: %2.</source> + <source>Cannot create folder %1: %2.</source> <translation>Nie można utworzyć katalogu %1: %2.</translation> </message> <message> @@ -1204,7 +1204,7 @@ <translation>Nie można nadpisać %1: %2</translation> </message> <message> - <source>Could not create link %1: %2</source> + <source>Cannot create link %1: %2</source> <translation>Nie można utworzyć dowiÄ…zania %1: %2</translation> </message> </context> @@ -1227,15 +1227,15 @@ <translation>Weryfikacja hasha podczas pobierania nie powiodÅ‚a siÄ™. Jest to tymczasowy bÅ‚Ä…d, spróbuj ponownie.</translation> </message> <message> - <source>Could not verify Hash</source> + <source>Cannot verify Hash</source> <translation>Nie można zweryfikować hasha</translation> </message> <message> - <source>Could not download archive: %1 : %2</source> + <source>Cannot download archive: %1 : %2</source> <translation>Nie można pobrać archiwum %1: %2</translation> </message> <message> - <source>Could not fetch archives: %1 + <source>Cannot fetch archives: %1 Error while loading %2</source> <translation>Nie można pobrać archiwów: %1 BÅ‚Ä…d podczas Å‚adowania %2</translation> @@ -1249,7 +1249,7 @@ BÅ‚Ä…d podczas Å‚adowania %2</translation> <translation>NieobsÅ‚ugiwany schemat %1 (%2)</translation> </message> <message> - <source>Could not find component for: %1.</source> + <source>Cannot find component for: %1.</source> <translation>Brak komponentu dla %1.</translation> </message> </context> @@ -1297,7 +1297,7 @@ BÅ‚Ä…d podczas Å‚adowania %2</translation> <translation>Åšcieżka docelowa "%1" już istnieje, lecz nie jest ona plikiem.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <extracomment>%2 is a sentence describing the error</extracomment> <translation>Nie można otworzyć pliku docelowego "%1" do zapisu. BÅ‚Ä…d: %2.</translation> </message> @@ -1313,11 +1313,11 @@ BÅ‚Ä…d podczas Å‚adowania %2</translation> <translation>przynajmniej 1</translation> </message> <message> - <source>Execution failed: Could not start detached: "%1"</source> + <source>Execution failed: Cannot start detached: "%1"</source> <translation>BÅ‚Ä…d wykonywania. Nie można odrÄ™bnie uruchomić "%1"</translation> </message> <message> - <source>Execution failed: Could not start: "%1"(%2)</source> + <source>Execution failed: Cannot start: "%1"(%2)</source> <translation>BÅ‚Ä…d wykonywania. Nie można uruchomić "%1": %2</translation> </message> <message> @@ -1354,7 +1354,7 @@ BÅ‚Ä…d podczas Å‚adowania %2</translation> <context> <name>QInstaller::ExtractArchiveOperation::Runnable</name> <message> - <source>Could not open %1 for reading: %2.</source> + <source>Cannot open %1 for reading: %2.</source> <translation>Nie można otworzyć pliku %1 do odczytu: %2.</translation> </message> <message> @@ -1373,7 +1373,7 @@ BÅ‚Ä…d podczas Å‚adowania %2</translation> <translation>Nieoczekiwana liczba argumentów, wymagany jest tylko jeden</translation> </message> <message> - <source>Could not get package manager core.</source> + <source>Cannot get package manager core.</source> <translation>Brak dostÄ™pu do "package manager core".</translation> </message> <message> @@ -1505,7 +1505,7 @@ BÅ‚Ä…d podczas Å‚adowania %2</translation> <translation>Niepoprawny argument: nazwa katalogu źródÅ‚owego nie może być pusta.</translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Nie można utworzyć kopii zapasowej pliku %1: %2</translation> </message> <message> @@ -1517,7 +1517,7 @@ BÅ‚Ä…d podczas Å‚adowania %2</translation> <translation>Nie można nadpisać %1: %2</translation> </message> <message> - <source>Could not create folder at %1: %2</source> + <source>Cannot create folder at %1: %2</source> <translation>Nie można utworzyć katalogu %1: %2</translation> </message> </context> @@ -1694,7 +1694,7 @@ BÅ‚Ä…d podczas Å‚adowania %2</translation> <translation>ZÅ‚apano nieznany wyjÄ…tek podczas rozpakowywania %1.</translation> </message> <message> - <source>Could not open %1 for reading. Error: %2</source> + <source>Cannot open %1 for reading. Error: %2</source> <translation>Nie można otworzyć pliku %1 do odczytu: %2</translation> </message> </context> @@ -1786,7 +1786,7 @@ Pobieranie pakietów...</translation> <translation>BÅ‚Ä™dny format</translation> </message> <message> - <source>Could not write installer configuration to %1: %2</source> + <source>Cannot write installer configuration to %1: %2</source> <translation>Nie można zapisać konfiguracji instalatora do %1: %2</translation> </message> <message> @@ -1818,19 +1818,19 @@ Pobieranie pakietów...</translation> <translation>NarzÄ™dzie konserwacji nie jest pakietem</translation> </message> <message> - <source>Could not write maintenance tool data to %1: %2</source> + <source>Cannot write maintenance tool data to %1: %2</source> <translation>Nie można zapisać danych narzÄ™dzia konserwacji do %1: %2</translation> </message> <message> - <source>Could not remove data file '%1': %2</source> + <source>Cannot remove data file '%1': %2</source> <translation>Nie można usunąć pliku z danymi "%1": %2</translation> </message> <message> - <source>Could not write maintenance tool to %1: %2</source> + <source>Cannot write maintenance tool to %1: %2</source> <translation>Nie można zapisać narzÄ™dzia konserwacji do %1: %2</translation> </message> <message> - <source>Could not write maintenance tool binary data to %1: %2</source> + <source>Cannot write maintenance tool binary data to %1: %2</source> <translation>Nie można zapisać binarnych danych narzÄ™dzia konserwacji do %1: %2</translation> </message> <message> @@ -1928,7 +1928,7 @@ Instalacja komponentu %1</translation> <translation>Nieznany bÅ‚Ä…d</translation> </message> <message> - <source>Could not retrieve remote tree: %1.</source> + <source>Cannot retrieve remote tree: %1.</source> <translation>Nie można odczytać zdalnego drzewa: %1.</translation> </message> <message> @@ -1936,15 +1936,15 @@ Instalacja komponentu %1</translation> <translation>Nie można odczytać pakietów z: %1.</translation> </message> <message> - <source>Could not retrieve meta information: %1</source> + <source>Cannot retrieve meta information: %1</source> <translation>Nie można odczytać metainformacji: %1</translation> </message> <message> - <source>Could not add temporary update source information.</source> + <source>Cannot add temporary update source information.</source> <translation>Nie można dodać tymczasowej informacji o źródÅ‚ach aktualizacji.</translation> </message> <message> - <source>Could not find any update source information.</source> + <source>Cannot find any update source information.</source> <translation>Brak informacji o źródÅ‚ach aktualizacji.</translation> </message> <message> @@ -2159,14 +2159,14 @@ Skopiuj instalator na lokalny dysk.</translation> <context> <name>QInstaller::RemoteObject</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>Nie można odczytać wszystkich danych po wysÅ‚aniu komendy: %1. Oczekiwano %2 bajtów, otrzymano %3 bajtów. BÅ‚Ä…d: %4</translation> </message> </context> <context> <name>QInstaller::RemoteServerConnection</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>Nie można odczytać wszystkich danych po wysÅ‚aniu komendy: %1. Oczekiwano %2 bajtów, otrzymano %3 bajtów. BÅ‚Ä…d: %4</translation> </message> </context> @@ -2192,7 +2192,7 @@ Skopiuj instalator na lokalny dysk.</translation> <context> <name>QInstaller::Resource</name> <message> - <source>Could not open Resource '%1' read-only.</source> + <source>Cannot open Resource '%1' read-only.</source> <translation>Nie można otworzyć zasobu "%1" do odczytu.</translation> </message> <message> @@ -2214,7 +2214,7 @@ Skopiuj instalator na lokalny dysk.</translation> <context> <name>QInstaller::ScriptEngine</name> <message> - <source>Could not open the requested script file at %1: %2.</source> + <source>Cannot open the requested script file at %1: %2.</source> <translation>Nie można otworzyć wymaganego pliku ze skryptem "%1": %2.</translation> </message> <message> @@ -2411,7 +2411,7 @@ Czy kontynuować?</translation> <translation>Przekroczono maksymalny czas oczekiwania na zakoÅ„czenie testowania: "%1"</translation> </message> <message> - <source>Could not parse Updates.xml! Error: %1.</source> + <source>Cannot parse Updates.xml! Error: %1.</source> <translation>Nie można sparsować Updates.xml. BÅ‚Ä…d: %1.</translation> </message> <message> @@ -2441,11 +2441,11 @@ Czy kontynuować?</translation> <context> <name>RemoteClient</name> <message> - <source>Could not get authorization.</source> + <source>Cannot get authorization.</source> <translation>Nie można uzyskać autoryzacji.</translation> </message> <message> - <source>Could not get authorization that is needed for continuing the installation. + <source>Cannot get authorization that is needed for continuing the installation. Either abort the installation or use the fallback solution by running %1 @@ -2461,14 +2461,14 @@ jako administrator, po czym naciÅ›nij OK.</translation> <context> <name>ResourceCollectionManager</name> <message> - <source>Could not open resource %1: %2</source> + <source>Cannot open resource %1: %2</source> <translation>Nie można otworzyć pliku z zasobami %1: %2</translation> </message> </context> <context> <name>Settings</name> <message> - <source>Could not open settings file %1 for reading: %2</source> + <source>Cannot open settings file %1 for reading: %2</source> <translation>Nie można otworzyć pliku z ustawieniami %1 do odczytu: %2</translation> </message> </context> @@ -2598,7 +2598,7 @@ jako administrator, po czym naciÅ›nij OK.</translation> <translation>Åšcieżka %1 rejestru jest tylko do odczytu</translation> </message> <message> - <source>Could not write to registry path %1</source> + <source>Cannot write to registry path %1</source> <translation>Nie można zapisać do Å›cieżki rejestru %1</translation> </message> <message> diff --git a/src/sdk/translations/ru.ts b/src/sdk/translations/ru.ts index 6485407d4..57f2c9ba4 100644 --- a/src/sdk/translations/ru.ts +++ b/src/sdk/translations/ru.ts @@ -15,26 +15,26 @@ <context> <name>BinaryContent</name> <message> - <source>Could not seek to %1 to read the operation data.</source> + <source>Cannot seek to %1 to read the operation data.</source> <translation>Ðе удалоÑÑŒ перейти в позицию %1 Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð´Ð°Ð½Ð½Ñ‹Ñ… операций.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection block.</source> + <source>Cannot seek to %1 to read the resource collection block.</source> <translation>Ðе удалоÑÑŒ перейти в позицию %1 Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ð±Ð»Ð¾ÐºÐ° набора реÑурÑов.</translation> </message> <message> - <source>Could not open meta resource. Error: %1</source> + <source>Cannot open meta resource. Error: %1</source> <translation>Ðе удалоÑÑŒ открыть метареÑурÑÑ‹. Ошибка: %1</translation> </message> </context> <context> <name>BinaryLayout</name> <message> - <source>Could not seek to %1 to read the embedded meta data count.</source> + <source>Cannot seek to %1 to read the embedded meta data count.</source> <translation>Ðе удалоÑÑŒ перейти в позицию %1 Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ñчётчика вÑтроенных метаданных.</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection segment.</source> + <source>Cannot seek to %1 to read the resource collection segment.</source> <translation>Ðе удалоÑÑŒ перейти в позицию %1 Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ Ñегмента набора реÑурÑов.</translation> </message> <message> @@ -72,34 +72,34 @@ <translation>Путь ÑущеÑтвует, но не ÑвлÑетÑÑ ÐºÐ°Ñ‚Ð°Ð»Ð¾Ð³Ð¾Ð¼: %1</translation> </message> <message> - <source>Could not create folder: %1</source> + <source>Cannot create folder: %1</source> <translation>Ðе удалоÑÑŒ Ñоздать каталог: %1</translation> </message> </context> <context> <name>ExtractCallbackImpl</name> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Ðе удалоÑÑŒ определить путь файла %1 в архиве</translation> </message> <message> - <source>Could not remove already existing symlink. %1</source> + <source>Cannot remove already existing symlink. %1</source> <translation>Ðе удалоÑÑŒ удалить ÑущеÑтвующую Ñимвольную ÑÑылку. %1</translation> </message> <message> - <source>Could not open file: %1 (%2)</source> + <source>Cannot open file: %1 (%2)</source> <translation>Ðе удалоÑÑŒ открыть файл: %1 (%2)</translation> </message> <message> - <source>Could not create symlink at '%1'. Another one is already existing.</source> + <source>Cannot create symlink at '%1'. Another one is already existing.</source> <translation>Ðе удалоÑÑŒ Ñоздать Ñимвольную ÑÑылку «%1», потому что ÑÑылка уже ÑущеÑтвует.</translation> </message> <message> - <source>Could not read symlink target from file '%1'.</source> + <source>Cannot read symlink target from file '%1'.</source> <translation>Ðе удалоÑÑŒ прочитать цель Ñимвольной ÑÑылки из файла «%1».</translation> </message> <message> - <source>Could not create symlink at %1. %2</source> + <source>Cannot create symlink at %1. %2</source> <translation>Ðе удалоÑÑŒ Ñоздать Ñимвольную ÑÑылку %1. %2</translation> </message> </context> @@ -140,19 +140,19 @@ <context> <name>KDLockFile</name> <message> - <source>Could not create lock file '%1': %2</source> + <source>Cannot create lock file '%1': %2</source> <translation>Ðе удалоÑÑŒ Ñоздать файл блокировки «%1»: %2</translation> </message> <message> - <source>Could not write PID to lock file '%1': %2</source> + <source>Cannot write PID to lock file '%1': %2</source> <translation>Ðе удалоÑÑŒ запиÑать PID в файл блокировки «%1»: %2</translation> </message> <message> - <source>Could not obtain the lock for file '%1': %2</source> + <source>Cannot obtain the lock for file '%1': %2</source> <translation>Ðе удалоÑÑŒ заблокировать файл «%1»: %2</translation> </message> <message> - <source>Could not release the lock for file '%1': %2</source> + <source>Cannot release the lock for file '%1': %2</source> <translation>Ðе удалоÑÑŒ разблокировать файл «%1»: %2</translation> </message> </context> @@ -171,7 +171,7 @@ <translation>ровно 2</translation> </message> <message> - <source>Could not open file '%1' for writing: %2</source> + <source>Cannot open file '%1' for writing: %2</source> <translation>Ðевозможно открыть файл «%1» на запиÑÑŒ: %2</translation> </message> <message> @@ -179,18 +179,18 @@ <translation>Ðевозможно найти резервную копию %1.</translation> </message> <message> - <source>Could not restore backup file for %1.</source> + <source>Cannot restore backup file for %1.</source> <translation>Ðевозможно воÑÑтановить резервную копию %1.</translation> </message> <message> - <source>Could not restore backup file for %1: %2</source> + <source>Cannot restore backup file for %1: %2</source> <translation>Ðевозможно воÑÑтановить резервную копию %1: %2</translation> </message> </context> <context> <name>KDUpdater::CopyOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Ðевозможно Ñоздать резервную копию файла %1.</translation> </message> <message> @@ -198,23 +198,23 @@ <translation>ÐедопуÑтимое количеÑтво параметров: передано %1, требуетÑÑ 2.</translation> </message> <message> - <source>Could not copy a non-existent file: %1</source> + <source>Cannot copy a non-existent file: %1</source> <translation>Ðе удалоÑÑŒ Ñкопировать отÑутÑтвующий файл: %1</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Ðевозможно удалить файл %1: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Ðевозможно Ñкопировать %1 в %2: %3</translation> </message> <message> - <source>Could not delete file %1: %2</source> + <source>Cannot delete file %1: %2</source> <translation>Ðевозможно удалить файл %1: %2</translation> </message> <message> - <source>Could not restore backup file into %1: %2</source> + <source>Cannot restore backup file into %1: %2</source> <translation>Ðевозможно воÑÑтановить файл %1 из резервной копии: %2</translation> </message> </context> @@ -307,7 +307,7 @@ <translation>Ðевозможно загрузить %1: Сбой запиÑи в файл «%2» - %3</translation> </message> <message> - <source>Cannot download %1: Could not create %2: %3</source> + <source>Cannot download %1: Cannot create %2: %3</source> <translation>Ðевозможно загрузить %1: Ðевозможно Ñоздать %2: %3</translation> </message> <message> @@ -361,7 +361,7 @@ <translation>ÐедопуÑтимое количеÑтво параметров: передано %1, требуетÑÑ 1.</translation> </message> <message> - <source>Could not create folder %1: Unknown error.</source> + <source>Cannot create folder %1: Unknown error.</source> <translation>Ðевозможно Ñоздать каталог %1: ÐеизвеÑÑ‚Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°.</translation> </message> <message> @@ -372,7 +372,7 @@ <context> <name>KDUpdater::MoveOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>Ðевозможно Ñоздать резервную копию файла %1.</translation> </message> <message> @@ -380,11 +380,11 @@ <translation>ÐедопуÑтимое количеÑтво параметров: передано %1, требуетÑÑ 2.</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>Ðевозможно удалить файл Ð½Ð°Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ %1: %2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>Ðевозможно Ñкопировать %1 в %2: %3</translation> </message> <message> @@ -411,7 +411,7 @@ <translation>Файл %1 не ÑущеÑтвует.</translation> </message> <message> - <source>Could not open %1.</source> + <source>Cannot open %1.</source> <translation>Ðевозможно открыть %1.</translation> </message> <message> @@ -434,11 +434,11 @@ <translation>ÐедопуÑтимое количеÑтво параметров: передано %1, требуетÑÑ 2.</translation> </message> <message> - <source>Could not open file %1 for reading: %2</source> + <source>Cannot open file %1 for reading: %2</source> <translation>Ðевозможно открыть файл %1 на чтение: %2</translation> </message> <message> - <source>Could not open file %1 for writing: %2</source> + <source>Cannot open file %1 for writing: %2</source> <translation>Ðевозможно открыть файл %1 на запиÑÑŒ: %2</translation> </message> <message> @@ -457,7 +457,7 @@ <context> <name>KDUpdater::ResourceFileDownloader</name> <message> - <source>Could not read resource file "%1". Reason:</source> + <source>Cannot read resource file "%1". Reason:</source> <translation>Ðевозможно прочитать файл реÑурÑов «%1». Причина:</translation> </message> </context> @@ -468,11 +468,11 @@ <translation>ÐедопуÑтимое количеÑтво параметров: передано %1, требуетÑÑ 1.</translation> </message> <message> - <source>Could not remove folder %1: The folder does not exist.</source> + <source>Cannot remove folder %1: The folder does not exist.</source> <translation>Ðевозможно удалить каталог %1: каталог Ñ Ñ‚Ð°ÐºÐ¸Ð¼ именем не ÑущеÑтвует.</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Ðевозможно удалить каталог %1: %2</translation> </message> <message> @@ -514,11 +514,11 @@ <context> <name>KDUpdater::UpdateFinder</name> <message> - <source>Could not access the package information of this application.</source> + <source>Cannot access the package information of this application.</source> <translation>Приложение не может получить доÑтуп к информации о пакетах.</translation> </message> <message> - <source>Could not access the update sources information of this application.</source> + <source>Cannot access the update sources information of this application.</source> <translation>Приложение не может получить доÑтуп к Ñерверам обновлений.</translation> </message> <message numerus="yes"> @@ -534,7 +534,7 @@ <translation>ЗагружаетÑÑ Ñ„Ð°Ð¹Ð» Updates.xml Ñ Ñервера обновлений.</translation> </message> <message> - <source>Could not download update source %1 from ('%2')</source> + <source>Cannot download update source %1 from ('%2')</source> <translation>Ðе удалоÑÑŒ загрузить иÑточник обновлений %1 Ñ («%2»)</translation> </message> <message> @@ -557,7 +557,7 @@ <translation>%1 Ñодержит недопуÑтимые данные: %2</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Ðевозможно прочитать «%1»</translation> </message> <message> @@ -569,7 +569,7 @@ <translation>Ðепредвиденный корневой Ñлемент %1, требуетÑÑ Â«UpdateSources»</translation> </message> <message> - <source>Could not save changes to "%1": %2</source> + <source>Cannot save changes to "%1": %2</source> <translation>Ðевозможно Ñохранить Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð² «%1»: %2</translation> </message> </context> @@ -580,7 +580,7 @@ <translation>Файл Updates.xml Ñодержит недопуÑтимые данные: %1</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>Ðевозможно прочитать «%1»</translation> </message> <message> @@ -615,11 +615,11 @@ <context> <name>Lib7z</name> <message> - <source>Could not retrieve number of items in archive</source> + <source>Cannot retrieve number of items in archive</source> <translation>Ðе удалоÑÑŒ определить количеÑтво файлов в архиве</translation> </message> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>Ðе удалоÑÑŒ определить путь файла %1 в архиве</translation> </message> <message> @@ -639,15 +639,15 @@ <translation>Ошибка: %1</translation> </message> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Ðе удалоÑÑŒ загрузить кодеки</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Ðе удалоÑÑŒ определить формат по умолчанию</translation> </message> <message> - <source>Could not create archive %1. %2</source> + <source>Cannot create archive %1. %2</source> <translation>Ðе удалоÑÑŒ Ñоздать архив %1. %2</translation> </message> <message> @@ -659,14 +659,14 @@ <translation>Ð˜Ð½Ð´ÐµÐºÑ Ñ„Ð°Ð¹Ð»Ð° %1 вне лимитов [0, %2]</translation> </message> <message> - <source>Could not create output file for writing: %1</source> + <source>Cannot create output file for writing: %1</source> <translation>Ðе удалоÑÑŒ Ñоздать выходной файл Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи: %1</translation> </message> </context> <context> <name>Lib7z::ExtractItemJob</name> <message> - <source>Could not list archive: QIODevice not set or already destroyed.</source> + <source>Cannot list archive: QIODevice not set or already destroyed.</source> <translation>Ðевозможно Ñоздать архив: QIODevice не уÑтановлен или уже разрушен.</translation> </message> <message> @@ -685,7 +685,7 @@ <context> <name>Lib7z::ListArchiveJob</name> <message> - <source>Could not list archive: QIODevice already destroyed.</source> + <source>Cannot list archive: QIODevice already destroyed.</source> <translation>Ðевозможно Ñоздать архив: QIODevice уже разрушен.</translation> </message> <message> @@ -700,15 +700,15 @@ <context> <name>OpenArchiveInfo</name> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>Ðе удалоÑÑŒ загрузить кодеки</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>Ðе удалоÑÑŒ определить формат по умолчанию</translation> </message> <message> - <source>Could not open archive</source> + <source>Cannot open archive</source> <translation>Ðе удалоÑÑŒ открыть архив</translation> </message> <message> @@ -762,35 +762,35 @@ <translation>ИБ</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Ðе удалоÑÑŒ удалить файл %1: %2</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>Ðе удалоÑÑŒ удалить каталог %1: %2</translation> </message> <message> - <source>Could not create folder %1</source> + <source>Cannot create folder %1</source> <translation>Ðе удалоÑÑŒ Ñоздать каталог %1</translation> </message> <message> - <source>Could not copy file from %1 to %2: %3</source> + <source>Cannot copy file from %1 to %2: %3</source> <translation>Ðе удалоÑÑŒ Ñкопировать файл из %1 в %2: %3</translation> </message> <message> - <source>Could not move file from %1 to %2: %3</source> + <source>Cannot move file from %1 to %2: %3</source> <translation>Ðе удалоÑÑŒ перемеÑтить файл из %1 в %2: %3</translation> </message> <message> - <source>Could not create folder %1: %2</source> + <source>Cannot create folder %1: %2</source> <translation>Ðе удалоÑÑŒ Ñоздать каталог %1: %2</translation> </message> <message> - <source>Could not open temporary file: %1</source> + <source>Cannot open temporary file: %1</source> <translation>Ðе удалоÑÑŒ открыть временный файл %1</translation> </message> <message> - <source>Could not open temporary file for template %1: %2</source> + <source>Cannot open temporary file for template %1: %2</source> <translation>Ðе удалоÑÑŒ открыть временный файл Ð´Ð»Ñ ÑˆÐ°Ð±Ð»Ð¾Ð½Ð° %1: %2</translation> </message> <message> @@ -826,11 +826,11 @@ <translation>Сбой запиÑи Ñ %1 байта: %2</translation> </message> <message> - <source>Could not create temporary file</source> + <source>Cannot create temporary file</source> <translation>Ðе удалоÑÑŒ Ñоздать временный файл</translation> </message> <message> - <source>Could not retrieve property %1 for item %2</source> + <source>Cannot retrieve property %1 for item %2</source> <translation>Ðе удалоÑÑŒ определить ÑвойÑтво %1 Ð´Ð»Ñ Ñлемента %2</translation> </message> <message> @@ -838,11 +838,11 @@ <translation>СвойÑтво %1 Ñлемента %2 отноÑитÑÑ Ð½Ðµ к типу VT_FILETIME, а к %3</translation> </message> <message> - <source>Could not convert file time to local time</source> + <source>Cannot convert file time to local time</source> <translation>Ðе удалоÑÑŒ преобразовать Ð²Ñ€ÐµÐ¼Ñ Ñ„Ð°Ð¹Ð»Ð° в локальное времÑ</translation> </message> <message> - <source>Could not convert local file time to system time</source> + <source>Cannot convert local file time to system time</source> <translation>Ðе удалоÑÑŒ преобразовать Ð²Ñ€ÐµÐ¼Ñ Ñ„Ð°Ð¹Ð»Ð° в ÑиÑтемное времÑ</translation> </message> <message> @@ -857,19 +857,19 @@ <translation>У компонентов не может быть потомков в режиме обновлениÑ.</translation> </message> <message> - <source>Could not open the requested translation file '%1'.</source> + <source>Cannot open the requested translation file '%1'.</source> <translation>Ðевозможно открыть файл перевода «%1».</translation> </message> <message> - <source>Could not open the requested UI file '%1'. Error: %2</source> + <source>Cannot open the requested UI file '%1'. Error: %2</source> <translation>Ðевозможно открыть UI файл «%1». Ошибка: %2</translation> </message> <message> - <source>Could not load the requested UI file '%1'. Error: %2</source> + <source>Cannot load the requested UI file '%1'. Error: %2</source> <translation>Ðевозможно загрузить UI файл «%1». Ошибка: %2</translation> </message> <message> - <source>Could not open the requested license file '%1'. Error: %2</source> + <source>Cannot open the requested license file '%1'. Error: %2</source> <translation>Ðевозможно открыть файл лицензии «%1». Ошибка: %2</translation> </message> <message> @@ -1049,7 +1049,7 @@ <translation>ÐедопуÑтимые параметры в %0: ÐедопуÑтимые имена папок: %1 %2</translation> </message> <message> - <source>Could not create %0</source> + <source>Cannot create %0</source> <translation>Ðевозможно Ñоздать %0</translation> </message> <message> @@ -1057,11 +1057,11 @@ <translation>Ðе удалоÑÑŒ перезапиÑать %1</translation> </message> <message> - <source>Could not copy %0 to %1, error was: %3</source> + <source>Cannot copy %0 to %1, error was: %3</source> <translation>Ðевозможно Ñкопировать %0 в %1. Ошибка: %3</translation> </message> <message> - <source>Could not remove %0</source> + <source>Cannot remove %0</source> <translation>Ðевозможно удалить %0</translation> </message> </context> @@ -1072,11 +1072,11 @@ <translation type="unfinished">Ðеверное чиÑло Ñлементов task.</translation> </message> <message> - <source>Could not open source '%1' for read. Error: %2.</source> + <source>Cannot open source '%1' for read. Error: %2.</source> <translation>Ðе удалоÑÑŒ открыть иÑточник «%1» Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ. Ошибка: %2.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <translation>Ðе удалоÑÑŒ открыть «%1» Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи. Ошибка: %2.</translation> </message> <message> @@ -1087,7 +1087,7 @@ <context> <name>QInstaller::CreateDesktopEntryOperation</name> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Ðе удалоÑÑŒ Ñоздать резервную копию файла %1: %2</translation> </message> <message> @@ -1103,7 +1103,7 @@ <translation>Ðе удалоÑÑŒ перезапиÑать %1</translation> </message> <message> - <source>Could not write Desktop Entry at %1</source> + <source>Cannot write Desktop Entry at %1</source> <translation>Ðевозможно запиÑать Desktop Entry в %1</translation> </message> </context> @@ -1118,26 +1118,26 @@ <translation>ровно 2</translation> </message> <message> - <source>Could not create link from %1 to %2.</source> + <source>Cannot create link from %1 to %2.</source> <translation>Ðе удалоÑÑŒ Ñоздать ÑÑылку Ñ %1 на %2.</translation> </message> <message> - <source>Could not remove link from %1 to %2.</source> + <source>Cannot remove link from %1 to %2.</source> <translation>Ðе удалоÑÑŒ Ñоздать ÑÑылку Ñ %1 на %2.</translation> </message> </context> <context> <name>QInstaller::CreateLocalRepositoryOperation</name> <message> - <source>Could not set file permissions %1!</source> + <source>Cannot set file permissions %1!</source> <translation>Ðевозможно уÑтановить права доÑтупа Ð´Ð»Ñ Ñ„Ð°Ð¹Ð»Ð° %1!</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>Ðе удалоÑÑŒ удалить файл %1: %2</translation> </message> <message> - <source>Could not move file %1 to %2. Error: %3</source> + <source>Cannot move file %1 to %2. Error: %3</source> <translation>Ðевозможно перемеÑтить файл %1 в %2. Ошибка: %3</translation> </message> <message> @@ -1153,19 +1153,19 @@ <translation>Ðеобходима Ð¾Ñ„Ð»Ð°Ð¹Ð½Ð¾Ð²Ð°Ñ Ð²ÐµÑ€ÑÐ¸Ñ Ð¿Ñ€Ð¾Ð³Ñ€Ð°Ð¼Ð¼Ñ‹ уÑтановки: %1.</translation> </message> <message> - <source>Could not open file: %1</source> + <source>Cannot open file: %1</source> <translation>Ðевозможно открыть файл: %1</translation> </message> <message> - <source>Could not read: %1. Error: %2</source> + <source>Cannot read: %1. Error: %2</source> <translation>Ðевозможно прочитать: %1. Ошибка: %2</translation> </message> <message> - <source>Could not open file: %1. Error: %2</source> + <source>Cannot open file: %1. Error: %2</source> <translation>Ðевозможно открыть файл: %1. Ошибка: %2</translation> </message> <message> - <source>Could not create target dir: %1.</source> + <source>Cannot create target dir: %1.</source> <translation>Ðевозможно Ñоздать каталог назначениÑ: %1.</translation> </message> <message> @@ -1177,7 +1177,7 @@ <translation>Удаление файла: %0</translation> </message> <message> - <source>Could not remove %0.</source> + <source>Cannot remove %0.</source> <translation>Ðевозможно удалить %0.</translation> </message> <message> @@ -1200,7 +1200,7 @@ <translation> (необÑзательно: 'workingDirectory=...', 'iconPath=...', 'iconId=...')</translation> </message> <message> - <source>Could not create folder %1: %2.</source> + <source>Cannot create folder %1: %2.</source> <translation>Ðе удалоÑÑŒ Ñоздать каталог: %1: %2.</translation> </message> <message> @@ -1208,7 +1208,7 @@ <translation>Ðе удалоÑÑŒ перезапиÑать %1: %2</translation> </message> <message> - <source>Could not create link %1: %2</source> + <source>Cannot create link %1: %2</source> <translation>Ðе удалоÑÑŒ Ñоздать ÑÑылку %1: %2</translation> </message> </context> @@ -1231,15 +1231,15 @@ <translation>Ðе удалоÑÑŒ проверить целоÑтноÑÑ‚ÑŒ хеша в процеÑÑе загрузки. ПожалуйÑта, повторите операцию.</translation> </message> <message> - <source>Could not verify Hash</source> + <source>Cannot verify Hash</source> <translation>Ðевозможно проверить хеш</translation> </message> <message> - <source>Could not download archive: %1 : %2</source> + <source>Cannot download archive: %1 : %2</source> <translation>Ðевозможно загрузить архив: %1: %2</translation> </message> <message> - <source>Could not fetch archives: %1 + <source>Cannot fetch archives: %1 Error while loading %2</source> <translation>Ðевозможно получить архивы :%1 Ошибка в процеÑÑе загрузки %2</translation> @@ -1253,7 +1253,7 @@ Error while loading %2</source> <translation>Схема не поддерживаетÑÑ: %1 (%2)</translation> </message> <message> - <source>Could not find component for: %1.</source> + <source>Cannot find component for: %1.</source> <translation>Ðевозможно найти компонент длÑ: %1.</translation> </message> </context> @@ -1301,7 +1301,7 @@ Error while loading %2</source> <translation>«%1» уже ÑущеÑтвует, но не ÑвлÑетÑÑ Ñ„Ð°Ð¹Ð»Ð¾Ð¼.</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <extracomment>%2 is a sentence describing the error</extracomment> <translation>Ðе удалоÑÑŒ открыть «%1» Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи. Ошибка: %2.</translation> </message> @@ -1317,11 +1317,11 @@ Error while loading %2</source> <translation>по крайней мере 1</translation> </message> <message> - <source>Execution failed: Could not start detached: "%1"</source> + <source>Execution failed: Cannot start detached: "%1"</source> <translation>Ðе удалоÑÑŒ выполнить: невозможно запуÑтить фоновый процеÑÑ: «%1»</translation> </message> <message> - <source>Execution failed: Could not start: "%1"(%2)</source> + <source>Execution failed: Cannot start: "%1"(%2)</source> <translation>Ðе удалоÑÑŒ иÑполнить: невозможно запуÑтить: «%1»(%2)</translation> </message> <message> @@ -1358,7 +1358,7 @@ Error while loading %2</source> <context> <name>QInstaller::ExtractArchiveOperation::Runnable</name> <message> - <source>Could not open %1 for reading: %2.</source> + <source>Cannot open %1 for reading: %2.</source> <translation>Ðевозможно открыть файл %1 на чтение: %2.</translation> </message> <message> @@ -1377,7 +1377,7 @@ Error while loading %2</source> <translation>КоличеÑтво аргументов не Ñовпадает: требуетÑÑ 1</translation> </message> <message> - <source>Could not get package manager core.</source> + <source>Cannot get package manager core.</source> <translation>Ðевозможно получить Ñдро менеджера пакетов.</translation> </message> <message> @@ -1509,7 +1509,7 @@ Error while loading %2</source> <translation>ÐедопуÑтимый параметр: иÑходный каталог не может быть пуÑтым.</translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>Ðе удалоÑÑŒ Ñоздать резервную копию файла %1: %2</translation> </message> <message> @@ -1521,7 +1521,7 @@ Error while loading %2</source> <translation>Ðе удалоÑÑŒ Ñкопировать %1: %2</translation> </message> <message> - <source>Could not create folder at %1: %2</source> + <source>Cannot create folder at %1: %2</source> <translation>Ðе удалоÑÑŒ Ñоздать каталог в %1: %2</translation> </message> </context> @@ -1698,7 +1698,7 @@ Error while loading %2</source> <translation>Ð’ процеÑÑе Ð¸Ð·Ð²Ð»ÐµÑ‡ÐµÐ½Ð¸Ñ %1 возникло неизвеÑтное иÑключение.</translation> </message> <message> - <source>Could not open %1 for reading. Error: %2</source> + <source>Cannot open %1 for reading. Error: %2</source> <translation>Ðевозможно открыть файл %1 на чтение: %2</translation> </message> </context> @@ -1786,7 +1786,7 @@ Downloading packages...</source> <translation>Ошибка форматированиÑ</translation> </message> <message> - <source>Could not write installer configuration to %1: %2</source> + <source>Cannot write installer configuration to %1: %2</source> <translation>Ðевозможно запиÑать файл конфигурации программы уÑтановки в %1: %2</translation> </message> <message> @@ -1870,19 +1870,19 @@ Update aborted!</source> <translation>Maintenance Tool не ÑвлÑетÑÑ Ð¿Ð°ÐºÐµÑ‚Ð¾Ð¼</translation> </message> <message> - <source>Could not write maintenance tool data to %1: %2</source> + <source>Cannot write maintenance tool data to %1: %2</source> <translation>Ðе удалоÑÑŒ запиÑать данные Maintenance Tool в %1: %2</translation> </message> <message> - <source>Could not remove data file '%1': %2</source> + <source>Cannot remove data file '%1': %2</source> <translation>Ðе удалоÑÑŒ удалить файл данных «%1»: %2</translation> </message> <message> - <source>Could not write maintenance tool to %1: %2</source> + <source>Cannot write maintenance tool to %1: %2</source> <translation>Ðе удалоÑÑŒ запиÑать Maintenance Tool в %1: %2</translation> </message> <message> - <source>Could not write maintenance tool binary data to %1: %2</source> + <source>Cannot write maintenance tool binary data to %1: %2</source> <translation>Ðе удалоÑÑŒ запиÑать двоичные данные Maintenance Tool в %1: %2</translation> </message> <message> @@ -1931,7 +1931,7 @@ Installing component %1</source> <translation>ÐеизвеÑÑ‚Ð½Ð°Ñ Ð¾ÑˆÐ¸Ð±ÐºÐ°</translation> </message> <message> - <source>Could not retrieve remote tree: %1.</source> + <source>Cannot retrieve remote tree: %1.</source> <translation>Ðевозможно загрузить удалённую Ñтруктуру: %1.</translation> </message> <message> @@ -1939,15 +1939,15 @@ Installing component %1</source> <translation>Ðе удалоÑÑŒ прочитать пакеты из: %1.</translation> </message> <message> - <source>Could not retrieve meta information: %1</source> + <source>Cannot retrieve meta information: %1</source> <translation>Ðевозможно загрузить метаданные: %1</translation> </message> <message> - <source>Could not add temporary update source information.</source> + <source>Cannot add temporary update source information.</source> <translation>Ðевозможно добавить информацию о временном Ñервере обновлениÑ.</translation> </message> <message> - <source>Could not find any update source information.</source> + <source>Cannot find any update source information.</source> <translation>Ðевозможно найти информацию об иÑточниках обновлениÑ.</translation> </message> <message> @@ -2161,14 +2161,14 @@ Please copy the installer to a local drive</source> <context> <name>QInstaller::RemoteObject</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>Ðе удалоÑÑŒ прочитать вÑе данные поÑле отправки команды: %1. ОжидалоÑÑŒ байт: %2; получено байт: %3. Ошибка: %4</translation> </message> </context> <context> <name>QInstaller::RemoteServerConnection</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>Ðе удалоÑÑŒ прочитать вÑе данные поÑле отправки команды: %1. ОжидалоÑÑŒ байт: %2; получено байт: %3. Ошибка: %4</translation> </message> </context> @@ -2194,7 +2194,7 @@ Please copy the installer to a local drive</source> <context> <name>QInstaller::Resource</name> <message> - <source>Could not open Resource '%1' read-only.</source> + <source>Cannot open Resource '%1' read-only.</source> <translation>Ðе удалоÑÑŒ открыть на чтение реÑÑƒÑ€Ñ Â«%1».</translation> </message> <message> @@ -2216,7 +2216,7 @@ Please copy the installer to a local drive</source> <context> <name>QInstaller::ScriptEngine</name> <message> - <source>Could not open the requested script file at %1: %2.</source> + <source>Cannot open the requested script file at %1: %2.</source> <translation>Ðе удалоÑÑŒ открыть файл ÑÑ†ÐµÐ½Ð°Ñ€Ð¸Ñ %1: %2.</translation> </message> <message> @@ -2413,7 +2413,7 @@ Do you want to continue?</source> <translation>Таймаут во Ð²Ñ€ÐµÐ¼Ñ Ñ‚ÐµÑта «%1»</translation> </message> <message> - <source>Could not parse Updates.xml! Error: %1.</source> + <source>Cannot parse Updates.xml! Error: %1.</source> <translation>Ðевозможно разобрать Updates.xml! Ошибка: %1.</translation> </message> <message> @@ -2459,7 +2459,7 @@ Do you want to continue?</source> <translation>Первым Ñлементом должен быть «linux», «mac» или «windows». Другие типы в наÑтоÑщий момент не поддерживаютÑÑ.</translation> </message> <message> - <source>Could not find the needed QmakeOutputInstallerKey(%1) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.</source> + <source>Cannot find the needed QmakeOutputInstallerKey(%1) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.</source> <translation>Ðе удалоÑÑŒ найти значение QmakeOutputInstallerKey(%1) в объекте уÑтановщика. Сначала должна быть выполнена Ð¾Ð¿ÐµÑ€Ð°Ñ†Ð¸Ñ ConsumeOutput Ð´Ð»Ñ Ñ€Ð°Ð±Ð¾Ñ‡ÐµÐ³Ð¾ qmake'а.</translation> </message> <message> @@ -2503,11 +2503,11 @@ Sometimes it helps to restart the installer with a switched off antivirus softwa <context> <name>RemoteClient</name> <message> - <source>Could not get authorization.</source> + <source>Cannot get authorization.</source> <translation>Ðе удалоÑÑŒ авторизоватьÑÑ.</translation> </message> <message> - <source>Could not get authorization that is needed for continuing the installation. + <source>Cannot get authorization that is needed for continuing the installation. Either abort the installation or use the fallback solution by running %1 @@ -2522,14 +2522,14 @@ as root and then clicking OK.</source> <context> <name>ResourceCollectionManager</name> <message> - <source>Could not open resource %1: %2</source> + <source>Cannot open resource %1: %2</source> <translation>Ðе удалоÑÑŒ открыть реÑÑƒÑ€Ñ %1: %2</translation> </message> </context> <context> <name>Settings</name> <message> - <source>Could not open settings file %1 for reading: %2</source> + <source>Cannot open settings file %1 for reading: %2</source> <translation>Ðевозможно открыть файл наÑтроек %1 на чтение: %2</translation> </message> </context> @@ -2659,7 +2659,7 @@ as root and then clicking OK.</source> <translation>Ðевозможно запиÑать ключ %1 в рееÑÑ‚Ñ€</translation> </message> <message> - <source>Could not write to registry path %1</source> + <source>Cannot write to registry path %1</source> <translation>Ðе удалоÑÑŒ запиÑать ключ %1 в рееÑÑ‚Ñ€</translation> </message> <message> diff --git a/src/sdk/translations/zh_cn.ts b/src/sdk/translations/zh_cn.ts index 95c262fc6..f3f4d0565 100644 --- a/src/sdk/translations/zh_cn.ts +++ b/src/sdk/translations/zh_cn.ts @@ -15,26 +15,26 @@ <context> <name>BinaryContent</name> <message> - <source>Could not seek to %1 to read the operation data.</source> + <source>Cannot seek to %1 to read the operation data.</source> <translation>æ— æ³•æ‰¾åˆ° %1 以读å–æ“作数æ®ã€‚</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection block.</source> + <source>Cannot seek to %1 to read the resource collection block.</source> <translation>æ— æ³•æ‰¾åˆ° %1 以读å–资æºé›†åˆå—。</translation> </message> <message> - <source>Could not open meta resource. Error: %1</source> + <source>Cannot open meta resource. Error: %1</source> <translation>æ— æ³•æ‰“å¼€å…ƒèµ„æºã€‚错误:%1</translation> </message> </context> <context> <name>BinaryLayout</name> <message> - <source>Could not seek to %1 to read the embedded meta data count.</source> + <source>Cannot seek to %1 to read the embedded meta data count.</source> <translation>æ— æ³•æ‰¾åˆ° %1 以读å–嵌入元信æ¯æ•°æ®æ€»é‡ã€‚</translation> </message> <message> - <source>Could not seek to %1 to read the resource collection segment.</source> + <source>Cannot seek to %1 to read the resource collection segment.</source> <translation>æ— æ³•æ‰¾åˆ° %1 以读å–资æºé›†ç‰‡æ®µã€‚</translation> </message> <message> @@ -72,34 +72,34 @@ <translation>路径å˜åœ¨ï¼Œä½†ä¸æ˜¯æ–‡ä»¶å¤¹ï¼š%1</translation> </message> <message> - <source>Could not create folder: %1</source> + <source>Cannot create folder: %1</source> <translation>æ— æ³•åˆ›å»ºæ–‡ä»¶å¤¹ï¼š%1</translation> </message> </context> <context> <name>ExtractCallbackImpl</name> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>æ— æ³•èŽ·å–å˜æ¡£é¡¹ç›® %1 的路径</translation> </message> <message> - <source>Could not remove already existing symlink. %1</source> + <source>Cannot remove already existing symlink. %1</source> <translation>æ— æ³•åˆ é™¤å·²ç»å˜åœ¨çš„符å·é“¾æŽ¥ã€‚%1</translation> </message> <message> - <source>Could not open file: %1 (%2)</source> + <source>Cannot open file: %1 (%2)</source> <translation>æ— æ³•æ‰“å¼€æ–‡ä»¶ï¼š%1 (%2)</translation> </message> <message> - <source>Could not create symlink at '%1'. Another one is already existing.</source> + <source>Cannot create symlink at '%1'. Another one is already existing.</source> <translation>æ— æ³•åœ¨â€œ%1â€åˆ›å»ºç¬¦å·é“¾æŽ¥ã€‚å¦ä¸€ä¸ªç¬¦å·é“¾æŽ¥å·²ç»å˜åœ¨ã€‚</translation> </message> <message> - <source>Could not read symlink target from file '%1'.</source> + <source>Cannot read symlink target from file '%1'.</source> <translation>æ— æ³•ä»Žæ–‡ä»¶â€œ%1â€ä¸è¯»å–符å·é“¾æŽ¥ç›®æ ‡ã€‚</translation> </message> <message> - <source>Could not create symlink at %1. %2</source> + <source>Cannot create symlink at %1. %2</source> <translation>æ— æ³•åœ¨ %1 创建符å·é“¾æŽ¥ã€‚%2</translation> </message> </context> @@ -140,19 +140,19 @@ <context> <name>KDLockFile</name> <message> - <source>Could not create lock file '%1': %2</source> + <source>Cannot create lock file '%1': %2</source> <translation>æ— æ³•åˆ›å»ºé”文件“%1â€ï¼š%2</translation> </message> <message> - <source>Could not write PID to lock file '%1': %2</source> + <source>Cannot write PID to lock file '%1': %2</source> <translation>æ— æ³•å°† PID 写入é”文件“%1â€ï¼š%2</translation> </message> <message> - <source>Could not obtain the lock for file '%1': %2</source> + <source>Cannot obtain the lock for file '%1': %2</source> <translation>æ— æ³•ä¸ºæ–‡ä»¶â€œ%1â€èŽ·å–é”:“%2â€</translation> </message> <message> - <source>Could not release the lock for file '%1': %2</source> + <source>Cannot release the lock for file '%1': %2</source> <translation>æ— æ³•ä¸ºæ–‡ä»¶â€œ%1â€é‡Šæ”¾é”:%2</translation> </message> </context> @@ -167,11 +167,11 @@ <translation>æ— æ³•æ‰¾åˆ° %1 的备份文件。</translation> </message> <message> - <source>Could not restore backup file for %1.</source> + <source>Cannot restore backup file for %1.</source> <translation>æ— æ³•æ¢å¤ %1 的备份文件。</translation> </message> <message> - <source>Could not restore backup file for %1: %2</source> + <source>Cannot restore backup file for %1: %2</source> <translation>æ— æ³•æ¢å¤ %1 的备份文件:%2</translation> </message> <message> @@ -183,14 +183,14 @@ <translation>æ°å¥½ 2 个</translation> </message> <message> - <source>Could not open file '%1' for writing: %2</source> + <source>Cannot open file '%1' for writing: %2</source> <translation>æ— æ³•æ‰“å¼€æ–‡ä»¶â€œ%1â€è¿›è¡Œå†™å…¥ï¼š%2</translation> </message> </context> <context> <name>KDUpdater::CopyOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>æ— æ³•å¤‡ä»½æ–‡ä»¶ %1。</translation> </message> <message> @@ -198,23 +198,23 @@ <translation>å‚æ•°æ— æ•ˆï¼šå·²ç»™å®š %1 个å‚数,应为 2 个。</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>æ— æ³•åˆ é™¤ç›®æ ‡æ–‡ä»¶ %1:%2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>æ— æ³•å°† %1 å¤åˆ¶åˆ° %2:%3</translation> </message> <message> - <source>Could not delete file %1: %2</source> + <source>Cannot delete file %1: %2</source> <translation>æ— æ³•åˆ é™¤æ–‡ä»¶ %1:%2</translation> </message> <message> - <source>Could not restore backup file into %1: %2</source> + <source>Cannot restore backup file into %1: %2</source> <translation>æ— æ³•å°†å¤‡ä»½æ–‡ä»¶æ¢å¤åˆ° %1 ä¸ï¼š%2</translation> </message> <message> - <source>Could not copy a non-existent file: %1</source> + <source>Cannot copy a non-existent file: %1</source> <translation>æ— æ³•å¤åˆ¶ä¸å˜åœ¨çš„文件:%1</translation> </message> </context> @@ -299,7 +299,7 @@ <translation>æ— æ³•ä¸‹è½½ %1:写入文件“%2â€å¤±è´¥ï¼š%3</translation> </message> <message> - <source>Cannot download %1: Could not create %2: %3</source> + <source>Cannot download %1: Cannot create %2: %3</source> <translation>æ— æ³•ä¸‹è½½ %1ï¼šæ— æ³•åˆ›å»º %2:%3</translation> </message> <message> @@ -353,7 +353,7 @@ <translation>å‚æ•°æ— æ•ˆï¼šå·²ç»™å®š %1 个å‚数,应为 1 个。</translation> </message> <message> - <source>Could not create folder %1: Unknown error.</source> + <source>Cannot create folder %1: Unknown error.</source> <translation>æ— æ³•åˆ›å»ºæ–‡ä»¶å¤¹ %1:未知错误。</translation> </message> <message> @@ -364,7 +364,7 @@ <context> <name>KDUpdater::MoveOperation</name> <message> - <source>Could not backup file %1.</source> + <source>Cannot backup file %1.</source> <translation>æ— æ³•å¤‡ä»½æ–‡ä»¶ %1。</translation> </message> <message> @@ -372,11 +372,11 @@ <translation>å‚æ•°æ— æ•ˆï¼šå·²ç»™å®š %1 个å‚数,应为 2 个。</translation> </message> <message> - <source>Could not remove destination file %1: %2</source> + <source>Cannot remove destination file %1: %2</source> <translation>æ— æ³•åˆ é™¤ç›®æ ‡æ–‡ä»¶ %1:%2</translation> </message> <message> - <source>Could not copy %1 to %2: %3</source> + <source>Cannot copy %1 to %2: %3</source> <translation>æ— æ³•å°† %1 å¤åˆ¶åˆ° %2:%3</translation> </message> <message> @@ -403,7 +403,7 @@ <translation>文件 %1 ä¸å˜åœ¨ã€‚</translation> </message> <message> - <source>Could not open %1.</source> + <source>Cannot open %1.</source> <translation>æ— æ³•æ‰“å¼€ %1。</translation> </message> <message> @@ -426,11 +426,11 @@ <translation>å‚æ•°æ— æ•ˆï¼šå·²ç»™å®š %1 个å‚数,应为 2 个。</translation> </message> <message> - <source>Could not open file %1 for reading: %2</source> + <source>Cannot open file %1 for reading: %2</source> <translation>æ— æ³•æ‰“å¼€æ–‡ä»¶ %1 进行读å–:%2</translation> </message> <message> - <source>Could not open file %1 for writing: %2</source> + <source>Cannot open file %1 for writing: %2</source> <translation>æ— æ³•æ‰“å¼€æ–‡ä»¶ %1 进行写入:%2</translation> </message> <message> @@ -449,7 +449,7 @@ <context> <name>KDUpdater::ResourceFileDownloader</name> <message> - <source>Could not read resource file "%1". Reason:</source> + <source>Cannot read resource file "%1". Reason:</source> <translation>æ— æ³•è¯»å–æºæ–‡ä»¶â€œ%1â€ã€‚åŽŸå› ï¼š</translation> </message> </context> @@ -460,11 +460,11 @@ <translation>å‚æ•°æ— æ•ˆï¼šå·²ç»™å®š %1 个å‚数,应为 1 个。</translation> </message> <message> - <source>Could not remove folder %1: The folder does not exist.</source> + <source>Cannot remove folder %1: The folder does not exist.</source> <translation>æ— æ³•åˆ é™¤æ–‡ä»¶å¤¹ %1:该文件夹ä¸å˜åœ¨ã€‚</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>æ— æ³•åˆ é™¤æ–‡ä»¶å¤¹ %1:%2</translation> </message> <message> @@ -506,11 +506,11 @@ <context> <name>KDUpdater::UpdateFinder</name> <message> - <source>Could not access the package information of this application.</source> + <source>Cannot access the package information of this application.</source> <translation>æ— æ³•è®¿é—®æ¤åº”用程åºçš„包信æ¯ã€‚</translation> </message> <message> - <source>Could not access the update sources information of this application.</source> + <source>Cannot access the update sources information of this application.</source> <translation>æ— æ³•è®¿é—®æ¤åº”用程åºçš„æ›´æ–°æºä¿¡æ¯ã€‚</translation> </message> <message> @@ -536,7 +536,7 @@ </translation> </message> <message> - <source>Could not download update source %1 from ('%2')</source> + <source>Cannot download update source %1 from ('%2')</source> <translation>æ— æ³•ä»Žï¼ˆâ€œ%2â€ï¼‰ä¸‹è½½æ›´æ–°èµ„æº %1</translation> </message> </context> @@ -547,7 +547,7 @@ <translation>%1 包å«æ— 效的内容:%2</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>æ— æ³•è¯»å–“%1â€</translation> </message> <message> @@ -559,7 +559,7 @@ <translation>æ ¹å…ƒç´ %1 与预期ä¸ç¬¦ï¼Œåº”为“更新æºâ€</translation> </message> <message> - <source>Could not save changes to "%1": %2</source> + <source>Cannot save changes to "%1": %2</source> <translation>æ— æ³•å°†æ›´æ”¹ä¿å˜åˆ°â€œ%1â€ï¼š%2</translation> </message> </context> @@ -570,7 +570,7 @@ <translation>Updates.xml 包å«æ— 效的内容:%1</translation> </message> <message> - <source>Could not read "%1"</source> + <source>Cannot read "%1"</source> <translation>æ— æ³•è¯»å–“%1â€</translation> </message> <message> @@ -605,11 +605,11 @@ <context> <name>Lib7z</name> <message> - <source>Could not retrieve number of items in archive</source> + <source>Cannot retrieve number of items in archive</source> <translation>æ— æ³•æ£€ç´¢å˜æ¡£ä¸çš„项目数é‡</translation> </message> <message> - <source>Could not retrieve path of archive item %1</source> + <source>Cannot retrieve path of archive item %1</source> <translation>æ— æ³•èŽ·å–å˜æ¡£é¡¹ç›® %1 的路径</translation> </message> <message> @@ -629,15 +629,15 @@ <translation>错误:%1</translation> </message> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>æ— æ³•åŠ è½½è§£ç 器</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>æ— æ³•æ£€ç´¢é»˜è®¤æ ¼å¼</translation> </message> <message> - <source>Could not create archive %1. %2</source> + <source>Cannot create archive %1. %2</source> <translation>æ— æ³•åˆ›å»ºå˜æ¡£ %1。%2</translation> </message> <message> @@ -649,14 +649,14 @@ <translation>项目索引 %1 超出 [0, %2] 的范围</translation> </message> <message> - <source>Could not create output file for writing: %1</source> + <source>Cannot create output file for writing: %1</source> <translation>æ— æ³•åˆ›å»ºè¾“å‡ºæ–‡ä»¶è¿›è¡Œå†™å…¥ï¼š%1</translation> </message> </context> <context> <name>Lib7z::ExtractItemJob</name> <message> - <source>Could not list archive: QIODevice not set or already destroyed.</source> + <source>Cannot list archive: QIODevice not set or already destroyed.</source> <translation>æ— æ³•åˆ—å‡ºå˜æ¡£ï¼šQIODevice 尚未设置或已æŸå。</translation> </message> <message> @@ -675,7 +675,7 @@ <context> <name>Lib7z::ListArchiveJob</name> <message> - <source>Could not list archive: QIODevice already destroyed.</source> + <source>Cannot list archive: QIODevice already destroyed.</source> <translation>æ— æ³•åˆ—å‡ºå˜æ¡£ï¼šQIODevice å·²æŸå。</translation> </message> <message> @@ -690,15 +690,15 @@ <context> <name>OpenArchiveInfo</name> <message> - <source>Could not load codecs</source> + <source>Cannot load codecs</source> <translation>æ— æ³•åŠ è½½è§£ç 器</translation> </message> <message> - <source>Could not retrieve default format</source> + <source>Cannot retrieve default format</source> <translation>æ— æ³•æ£€ç´¢é»˜è®¤æ ¼å¼</translation> </message> <message> - <source>Could not open archive</source> + <source>Cannot open archive</source> <translation>æ— æ³•æ‰“å¼€å˜æ¡£</translation> </message> <message> @@ -777,43 +777,43 @@ <translation>YB</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>æ— æ³•åˆ é™¤æ–‡ä»¶ %1:%2</translation> </message> <message> - <source>Could not remove folder %1: %2</source> + <source>Cannot remove folder %1: %2</source> <translation>æ— æ³•åˆ é™¤æ–‡ä»¶å¤¹ %1:%2</translation> </message> <message> - <source>Could not create folder %1</source> + <source>Cannot create folder %1</source> <translation>æ— æ³•åˆ›å»ºæ–‡ä»¶å¤¹ %1</translation> </message> <message> - <source>Could not copy file from %1 to %2: %3</source> + <source>Cannot copy file from %1 to %2: %3</source> <translation>æ— æ³•å°†æ–‡ä»¶ä»Ž %1 å¤åˆ¶åˆ° %2:%3</translation> </message> <message> - <source>Could not move file from %1 to %2: %3</source> + <source>Cannot move file from %1 to %2: %3</source> <translation>æ— æ³•å°†æ–‡ä»¶ä»Ž %1 移动到 %2:%3</translation> </message> <message> - <source>Could not create folder %1: %2</source> + <source>Cannot create folder %1: %2</source> <translation>æ— æ³•åˆ›å»ºæ–‡ä»¶å¤¹ %1:%2</translation> </message> <message> - <source>Could not open temporary file: %1</source> + <source>Cannot open temporary file: %1</source> <translation>æ— æ³•æ‰“å¼€ä¸´æ—¶æ–‡ä»¶ï¼š%1</translation> </message> <message> - <source>Could not open temporary file for template %1: %2</source> + <source>Cannot open temporary file for template %1: %2</source> <translation>æ— æ³•æ‰“å¼€æ¨¡æ¿ %1 的临时文件:%2</translation> </message> <message> - <source>Could not create temporary file</source> + <source>Cannot create temporary file</source> <translation>æ— æ³•åˆ›å»ºä¸´æ—¶æ–‡ä»¶</translation> </message> <message> - <source>Could not retrieve property %1 for item %2</source> + <source>Cannot retrieve property %1 for item %2</source> <translation>æ— æ³•æ£€ç´¢ %2 项目的 %1 属性</translation> </message> <message> @@ -821,11 +821,11 @@ <translation>%2 项目的 %1 属性ä¸å±žäºŽ VT_FILETIME 类型,而是 %3</translation> </message> <message> - <source>Could not convert file time to local time</source> + <source>Cannot convert file time to local time</source> <translation>æ— æ³•å°†æ–‡ä»¶æ—¶é—´è½¬æ¢ä¸ºæœ¬åœ°æ—¶é—´</translation> </message> <message> - <source>Could not convert local file time to system time</source> + <source>Cannot convert local file time to system time</source> <translation>æ— æ³•å°†æœ¬åœ°æ–‡ä»¶æ—¶é—´è½¬æ¢ä¸ºç³»ç»Ÿæ—¶é—´</translation> </message> <message> @@ -860,19 +860,19 @@ <translation>在å‡çº§æ¨¡å¼ä¸‹ç»„ä»¶æ— æ³•å«æœ‰å组件。</translation> </message> <message> - <source>Could not open the requested translation file '%1'.</source> + <source>Cannot open the requested translation file '%1'.</source> <translation>æ— æ³•æ‰“å¼€è¯·æ±‚çš„ç¿»è¯‘æ–‡ä»¶â€œ%1â€ã€‚</translation> </message> <message> - <source>Could not open the requested UI file '%1'. Error: %2</source> + <source>Cannot open the requested UI file '%1'. Error: %2</source> <translation>æ— æ³•æ‰“å¼€è¯·æ±‚çš„UI文件“%1â€ã€‚错误:%2</translation> </message> <message> - <source>Could not load the requested UI file '%1'. Error: %2</source> + <source>Cannot load the requested UI file '%1'. Error: %2</source> <translation>æ— æ³•åŠ è½½è¯·æ±‚çš„UI文件“%1â€ã€‚错误:%2</translation> </message> <message> - <source>Could not open the requested license file '%1'. Error: %2</source> + <source>Cannot open the requested license file '%1'. Error: %2</source> <translation>æ— æ³•æ‰“å¼€è¯·æ±‚çš„è®¸å¯æ–‡ä»¶â€œ%1â€ã€‚错误:%2</translation> </message> <message> @@ -1036,7 +1036,7 @@ <translation>%0 ä¸å˜åœ¨æ— 效的å‚æ•°:ç›®å½•æ— æ•ˆï¼š%1 %2</translation> </message> <message> - <source>Could not create %0</source> + <source>Cannot create %0</source> <translation>æ— æ³•åˆ›å»º %0</translation> </message> <message> @@ -1044,11 +1044,11 @@ <translation>覆盖 %1 失败</translation> </message> <message> - <source>Could not copy %0 to %1, error was: %3</source> + <source>Cannot copy %0 to %1, error was: %3</source> <translation>æ— æ³•å°† %0 å¤åˆ¶åˆ° %1,错误为:%3</translation> </message> <message> - <source>Could not remove %0</source> + <source>Cannot remove %0</source> <translation>æ— æ³•åˆ é™¤ %0</translation> </message> </context> @@ -1059,11 +1059,11 @@ <translation>æ— æ•ˆçš„ä»»åŠ¡é¡¹æ€»æ•°ã€‚</translation> </message> <message> - <source>Could not open source '%1' for read. Error: %2.</source> + <source>Cannot open source '%1' for read. Error: %2.</source> <translation>æ— æ³•æ‰“å¼€æ–‡ä»¶â€œ%1â€è¿›è¡Œè¯»å–。错误:%2。</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <translation>æ— æ³•æ‰“å¼€ç›®æ ‡â€œ%1â€è¿›è¡Œå†™å…¥ã€‚错误:%2。</translation> </message> <message> @@ -1086,11 +1086,11 @@ <translation>覆盖 %1 失败</translation> </message> <message> - <source>Could not write Desktop Entry at %1</source> + <source>Cannot write Desktop Entry at %1</source> <translation>æ— æ³•å†™å…¥ä½äºŽ %1 çš„æ¡Œé¢æ¡ç›®</translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>æ— æ³•å¤‡ä»½æ–‡ä»¶ %1: %2</translation> </message> </context> @@ -1105,22 +1105,22 @@ <translation>æ°å¥½ 2 个</translation> </message> <message> - <source>Could not create link from %1 to %2.</source> + <source>Cannot create link from %1 to %2.</source> <translation>æ— æ³•åˆ›å»ºä»Ž %1 到 %2 的链接。</translation> </message> <message> - <source>Could not remove link from %1 to %2.</source> + <source>Cannot remove link from %1 to %2.</source> <translation>æ— æ³•åˆ é™¤ä»Ž %1 到 %2 的链接。</translation> </message> </context> <context> <name>QInstaller::CreateLocalRepositoryOperation</name> <message> - <source>Could not set file permissions %1!</source> + <source>Cannot set file permissions %1!</source> <translation>æ— æ³•è®¾ç½®æ–‡ä»¶æƒé™ %1!</translation> </message> <message> - <source>Could not move file %1 to %2. Error: %3</source> + <source>Cannot move file %1 to %2. Error: %3</source> <translation>æ— æ³•å°†æ–‡ä»¶ %1 移动到 %2。错误:%3</translation> </message> <message> @@ -1136,19 +1136,19 @@ <translation>安装程åºå¿…须为离线版本:%1.</translation> </message> <message> - <source>Could not open file: %1</source> + <source>Cannot open file: %1</source> <translation>æ— æ³•æ‰“å¼€æ–‡ä»¶ï¼š%1</translation> </message> <message> - <source>Could not read: %1. Error: %2</source> + <source>Cannot read: %1. Error: %2</source> <translation>æ— æ³•è¯»å–:%1.错误:%2</translation> </message> <message> - <source>Could not open file: %1. Error: %2</source> + <source>Cannot open file: %1. Error: %2</source> <translation>æ— æ³•æ‰“å¼€æ–‡ä»¶ï¼š%1.错误:%2</translation> </message> <message> - <source>Could not create target dir: %1.</source> + <source>Cannot create target dir: %1.</source> <translation>æ— æ³•åˆ›å»ºç›®æ ‡ç›®å½•ï¼š%1.</translation> </message> <message> @@ -1160,7 +1160,7 @@ <translation>æ£åœ¨åˆ 除文件:%0</translation> </message> <message> - <source>Could not remove %0.</source> + <source>Cannot remove %0.</source> <translation>æ— æ³•åˆ é™¤ %0。</translation> </message> <message> @@ -1168,7 +1168,7 @@ <translation>æ— æ³•åˆ é™¤ç›®å½• %1:%2</translation> </message> <message> - <source>Could not remove file %1: %2</source> + <source>Cannot remove file %1: %2</source> <translation>æ— æ³•åˆ é™¤æ–‡ä»¶ %1:%2</translation> </message> </context> @@ -1183,11 +1183,11 @@ <translation>2 或 3 个</translation> </message> <message> - <source>Could not create folder %1: %2.</source> + <source>Cannot create folder %1: %2.</source> <translation>æ— æ³•åˆ›å»ºæ–‡ä»¶å¤¹ %1:%2.</translation> </message> <message> - <source>Could not create link %1: %2</source> + <source>Cannot create link %1: %2</source> <translation>æ— æ³•åˆ›å»ºé“¾æŽ¥ %1:%2</translation> </message> <message> @@ -1218,15 +1218,15 @@ <translation>下载时的散列验è¯å¤±è´¥ã€‚这是一个临时错误,请é‡è¯•ã€‚</translation> </message> <message> - <source>Could not verify Hash</source> + <source>Cannot verify Hash</source> <translation>æ— æ³•éªŒè¯æ•£åˆ—</translation> </message> <message> - <source>Could not download archive: %1 : %2</source> + <source>Cannot download archive: %1 : %2</source> <translation>æ— æ³•ä¸‹è½½å˜æ¡£ï¼š%1:%2</translation> </message> <message> - <source>Could not fetch archives: %1 + <source>Cannot fetch archives: %1 Error while loading %2</source> <translation>æ— æ³•æå–å˜æ¡£ï¼š%1 åŠ è½½ %2 时出现错误</translation> @@ -1236,7 +1236,7 @@ Error while loading %2</source> <translation>ä¸æ”¯æŒçš„方案:%1 (%2)</translation> </message> <message> - <source>Could not find component for: %1.</source> + <source>Cannot find component for: %1.</source> <translation>æ— æ³•ä¸‹è½½ä»¥ä¸‹é¡¹ç›®çš„ç»„ä»¶ï¼š%1.</translation> </message> <message> @@ -1288,7 +1288,7 @@ Error while loading %2</source> <translation>ç›®æ ‡æ–‡ä»¶â€œ%1â€å·²å˜åœ¨ï¼Œä½†å®ƒä¸æ˜¯ä¸€ä¸ªæ–‡ä»¶ã€‚</translation> </message> <message> - <source>Could not open target '%1' for write. Error: %2.</source> + <source>Cannot open target '%1' for write. Error: %2.</source> <extracomment>%2 is a sentence describing the error</extracomment> <translation>æ— æ³•æ‰“å¼€ç›®æ ‡â€œ%1â€ä»¥è¿›è¡Œå†™å…¥ã€‚错误:%2。</translation> </message> @@ -1304,7 +1304,7 @@ Error while loading %2</source> <translation>至少 1 个</translation> </message> <message> - <source>Execution failed: Could not start detached: "%1"</source> + <source>Execution failed: Cannot start detached: "%1"</source> <translation>æ‰§è¡Œå¤±è´¥ï¼šæ— æ³•å¼€å§‹åˆ†ç¦»ï¼šâ€œ%1â€</translation> </message> <message> @@ -1316,7 +1316,7 @@ Error while loading %2</source> <translation>执行失败(æ„外退出代ç :%1):“%2â€</translation> </message> <message> - <source>Execution failed: Could not start: "%1"(%2)</source> + <source>Execution failed: Cannot start: "%1"(%2)</source> <translation>æ‰§è¡Œå¤±è´¥ï¼šæ— æ³•å¯åŠ¨ï¼šâ€œ%1â€ï¼ˆ%2)</translation> </message> </context> @@ -1345,7 +1345,7 @@ Error while loading %2</source> <context> <name>QInstaller::ExtractArchiveOperation::Runnable</name> <message> - <source>Could not open %1 for reading: %2.</source> + <source>Cannot open %1 for reading: %2.</source> <translation>æ— æ³•æ‰“å¼€ %1 进行读å–:%2.</translation> </message> <message> @@ -1364,7 +1364,7 @@ Error while loading %2</source> <translation>å‚æ•°æ•°é‡ä¸åŒ¹é…:需è¦ä¸€ä¸ª</translation> </message> <message> - <source>Could not get package manager core.</source> + <source>Cannot get package manager core.</source> <translation>æ— æ³•èŽ·å¾—åŒ…ç®¡ç†å™¨å†…æ ¸ã€‚</translation> </message> <message> @@ -1488,7 +1488,7 @@ Error while loading %2</source> <translation>å‚æ•°æ— æ•ˆï¼šæºæ–‡ä»¶å¤¹ä¸å¾—为空。</translation> </message> <message> - <source>Could not backup file %1: %2</source> + <source>Cannot backup file %1: %2</source> <translation>æ— æ³•å¤‡ä»½æ–‡ä»¶ %1:%2</translation> </message> <message> @@ -1500,7 +1500,7 @@ Error while loading %2</source> <translation>å¤åˆ¶æ–‡ä»¶ %1 失败:%2</translation> </message> <message> - <source>Could not create folder at %1: %2</source> + <source>Cannot create folder at %1: %2</source> <translation>æ— æ³•åœ¨ %1 创建文件夹:%2</translation> </message> </context> @@ -1677,7 +1677,7 @@ Error while loading %2</source> <translation>æå– %1 æ—¶æ•èŽ·æœªçŸ¥å¼‚常。</translation> </message> <message> - <source>Could not open %1 for reading. Error: %2</source> + <source>Cannot open %1 for reading. Error: %2</source> <translation>æ— æ³•æ‰“å¼€ %1 读å–。错误:%2</translation> </message> </context> @@ -1765,7 +1765,7 @@ Downloading packages...</source> <translation>æ ¼å¼é”™è¯¯</translation> </message> <message> - <source>Could not write installer configuration to %1: %2</source> + <source>Cannot write installer configuration to %1: %2</source> <translation>æ— æ³•å°†å®‰è£…ç¨‹åºé…置写入 %1:%2</translation> </message> <message> @@ -1867,7 +1867,7 @@ Installing component %1</source> <translation>未知错误</translation> </message> <message> - <source>Could not retrieve remote tree: %1.</source> + <source>Cannot retrieve remote tree: %1.</source> <translation>æ— æ³•æ£€ç´¢è¿œç¨‹æ ‘ï¼š%1.</translation> </message> <message> @@ -1875,15 +1875,15 @@ Installing component %1</source> <translation>未能从以下ä½ç½®è¯»å–包:%1.</translation> </message> <message> - <source>Could not retrieve meta information: %1</source> + <source>Cannot retrieve meta information: %1</source> <translation>æ— æ³•æ£€ç´¢å…ƒä¿¡æ¯ï¼š%1</translation> </message> <message> - <source>Could not add temporary update source information.</source> + <source>Cannot add temporary update source information.</source> <translation>æ— æ³•æ·»åŠ ä¸´æ—¶æ›´æ–°æºä¿¡æ¯ã€‚</translation> </message> <message> - <source>Could not find any update source information.</source> + <source>Cannot find any update source information.</source> <translation>æ— æ³•æ‰¾åˆ°ä»»ä½•æ›´æ–°æºä¿¡æ¯ã€‚</translation> </message> <message> @@ -1903,19 +1903,19 @@ Installing component %1</source> <translation>维护工具ä¸æ˜¯æ†ç»‘套件</translation> </message> <message> - <source>Could not write maintenance tool data to %1: %2</source> + <source>Cannot write maintenance tool data to %1: %2</source> <translation>æ— æ³•å°†ç»´æŠ¤å·¥å…·æ•°æ®å†™å…¥åˆ° %1:%2</translation> </message> <message> - <source>Could not remove data file '%1': %2</source> + <source>Cannot remove data file '%1': %2</source> <translation>æ— æ³•åˆ é™¤æ•°æ®æ–‡ä»¶â€œ%1â€ï¼š%2</translation> </message> <message> - <source>Could not write maintenance tool to %1: %2</source> + <source>Cannot write maintenance tool to %1: %2</source> <translation>æ— æ³•å°†ç»´æŠ¤å·¥å…·å†™å…¥åˆ° %1:%2</translation> </message> <message> - <source>Could not write maintenance tool binary data to %1: %2</source> + <source>Cannot write maintenance tool binary data to %1: %2</source> <translation>æ— æ³•å°†ç»´æŠ¤å·¥å…·äºŒè¿›åˆ¶æ•°æ®å†™å…¥ %1:%2</translation> </message> <message> @@ -2142,14 +2142,14 @@ Please copy the installer to a local drive</source> <context> <name>QInstaller::RemoteObject</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>å‘é€å‘½ä»¤ï¼š %1 åŽæ— 法读å–所有数æ®ã€‚ 期望: %2å—节, 收到: %3å—节。 错误: %4</translation> </message> </context> <context> <name>QInstaller::RemoteServerConnection</name> <message> - <source>Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> + <source>Cannot read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4</source> <translation>å‘é€å‘½ä»¤ï¼š %1 åŽæ— 法读å–所有数æ®ã€‚ 期望: %2å—节, 收到: %3å—节。 错误: %4</translation> </message> </context> @@ -2175,7 +2175,7 @@ Please copy the installer to a local drive</source> <context> <name>QInstaller::Resource</name> <message> - <source>Could not open Resource '%1' read-only.</source> + <source>Cannot open Resource '%1' read-only.</source> <translation>æ— æ³•ä»¥åªè¯»æ–¹å¼æ‰“开资æºâ€œ%1â€ã€‚</translation> </message> <message> @@ -2197,7 +2197,7 @@ Please copy the installer to a local drive</source> <context> <name>QInstaller::ScriptEngine</name> <message> - <source>Could not open the requested script file at %1: %2.</source> + <source>Cannot open the requested script file at %1: %2.</source> <translation>æ— æ³•æ‰“å¼€ä½äºŽ %1 的请求脚本文件:%2。</translation> </message> <message> @@ -2394,7 +2394,7 @@ Do you want to continue?</source> <translation>测试:“%1â€æ—¶è¶…æ—¶</translation> </message> <message> - <source>Could not parse Updates.xml! Error: %1.</source> + <source>Cannot parse Updates.xml! Error: %1.</source> <translation>æ— æ³•è§£æž Updates.xml! 错误:%1。</translation> </message> <message> @@ -2424,11 +2424,11 @@ Do you want to continue?</source> <context> <name>RemoteClient</name> <message> - <source>Could not get authorization.</source> + <source>Cannot get authorization.</source> <translation>æ— æ³•èŽ·å¾—æŽˆæƒã€‚</translation> </message> <message> - <source>Could not get authorization that is needed for continuing the installation. + <source>Cannot get authorization that is needed for continuing the installation. Either abort the installation or use the fallback solution by running %1 @@ -2443,14 +2443,14 @@ as root and then clicking OK.</source> <context> <name>ResourceCollectionManager</name> <message> - <source>Could not open resource %1: %2</source> + <source>Cannot open resource %1: %2</source> <translation>æ— æ³•æ‰“å¼€èµ„æº %1:%2</translation> </message> </context> <context> <name>Settings</name> <message> - <source>Could not open settings file %1 for reading: %2</source> + <source>Cannot open settings file %1 for reading: %2</source> <translation>æ— æ³•æ‰“å¼€è®¾ç½®æ–‡ä»¶ %1 进行读å–:%2</translation> </message> </context> @@ -2580,7 +2580,7 @@ as root and then clicking OK.</source> <translation>注册路径 %1 ä¸å¯å†™å…¥</translation> </message> <message> - <source>Could not write to registry path %1</source> + <source>Cannot write to registry path %1</source> <translation>æ— æ³•å†™å…¥æ³¨å†Œè·¯å¾„ %1</translation> </message> <message> diff --git a/tests/auto/installer/clientserver/tst_clientserver.cpp b/tests/auto/installer/clientserver/tst_clientserver.cpp index 450c9ee8c..0acc19b4c 100644 --- a/tests/auto/installer/clientserver/tst_clientserver.cpp +++ b/tests/auto/installer/clientserver/tst_clientserver.cpp @@ -213,7 +213,7 @@ private slots: QLocalSocket socket; socket.connectToServer(socketName); - QVERIFY2(socket.waitForConnected(), "Could not connect to server."); + QVERIFY2(socket.waitForConnected(), "Cannot connect to server."); QCOMPARE(socket.state() == QLocalSocket::ConnectedState, true); sendCommand(&socket, Protocol::Authorize, QString(Protocol::DefaultAuthorizationKey)); @@ -246,7 +246,7 @@ private slots: QLocalSocket socket; socket.connectToServer(socketName); - QVERIFY2(socket.waitForConnected(), "Could not connect to server."); + QVERIFY2(socket.waitForConnected(), "Cannot connect to server."); QCOMPARE(socket.state() == QLocalSocket::ConnectedState, true); sendCommand(&socket, Protocol::Authorize, QString::fromLatin1("SomeKey")); diff --git a/tests/auto/installer/copyoperationtest/tst_copyoperationtest.cpp b/tests/auto/installer/copyoperationtest/tst_copyoperationtest.cpp index da26daf2c..6cc564742 100644 --- a/tests/auto/installer/copyoperationtest/tst_copyoperationtest.cpp +++ b/tests/auto/installer/copyoperationtest/tst_copyoperationtest.cpp @@ -89,17 +89,17 @@ private slots: QFETCH(QString, source); QFETCH(QString, destination); - QVERIFY2(QFileInfo(source).exists(), QString("Source '%1' does not exist.").arg(source).toLatin1()); + QVERIFY2(QFileInfo(source).exists(), QString("Source file \"%1\" does not exist.").arg(source).toLatin1()); CopyOperation op; op.setArguments(QStringList() << source << destination); op.backup(); QVERIFY2(op.performOperation(), op.errorString().toLatin1()); - QVERIFY2(QFileInfo(m_testDestinationFilePath).exists(), QString("Copying from '%1' to '%2' was " + QVERIFY2(QFileInfo(m_testDestinationFilePath).exists(), QString("Copying from \"%1\" to \"%2\" was " "not working: '%3' does not exist").arg(source, destination, m_testDestinationFilePath).toLatin1()); QVERIFY2(op.undoOperation(), op.errorString().toLatin1()); - QVERIFY2(!QFileInfo(m_testDestinationFilePath).exists(), QString("Undo of copying from '%1' to " - "'%2' was not working.").toLatin1()); + QVERIFY2(!QFileInfo(m_testDestinationFilePath).exists(), QString("Undo of copying from \"%1\" to " + "\"%2\" was not working.").toLatin1()); } void testCopyIfDestinationExist_data() @@ -121,7 +121,7 @@ private slots: QByteArray testFileHash = QInstaller::calculateHash(m_testDestinationFilePath, QCryptographicHash::Sha1); - QVERIFY2(QFileInfo(source).exists(), QString("Source '%1' does not exist.").arg(source).toLatin1()); + QVERIFY2(QFileInfo(source).exists(), QString("Source file \"%1\" does not exist.").arg(source).toLatin1()); CopyOperation op; op.setArguments(QStringList() << source << destination); op.backup(); @@ -132,8 +132,8 @@ private slots: QByteArray currentFileHash = QInstaller::calculateHash(m_testDestinationFilePath, QCryptographicHash::Sha1); QVERIFY(testFileHash != currentFileHash); - QVERIFY2(QFileInfo(m_testDestinationFilePath).exists(), QString("Copying from '%1' to '%2' was " - "not working: '%3' does not exist").arg(source, destination, m_testDestinationFilePath).toLatin1()); + QVERIFY2(QFileInfo(m_testDestinationFilePath).exists(), QString("Copying from \"%1\" to \"%2\" was " + "not working: \"%3\" does not exist").arg(source, destination, m_testDestinationFilePath).toLatin1()); // undo should replace the new one with the old backuped one QVERIFY2(op.undoOperation(), op.errorString().toLatin1()); @@ -142,7 +142,7 @@ private slots: } void init() { - QVERIFY2(!QFileInfo(m_testDestinationFilePath).exists(), QString("Destination '%1' should not exist " + QVERIFY2(!QFileInfo(m_testDestinationFilePath).exists(), QString("Destination \"%1\" should not exist " "to test the copy operation.").arg(m_testDestinationFilePath).toLatin1()); QDir().mkpath(m_testDestinationPath); } diff --git a/tests/auto/installer/fakestopprocessforupdateoperation/tst_fakestopprocessforupdateoperation.cpp b/tests/auto/installer/fakestopprocessforupdateoperation/tst_fakestopprocessforupdateoperation.cpp index 58624d24b..5feb64c93 100644 --- a/tests/auto/installer/fakestopprocessforupdateoperation/tst_fakestopprocessforupdateoperation.cpp +++ b/tests/auto/installer/fakestopprocessforupdateoperation/tst_fakestopprocessforupdateoperation.cpp @@ -37,7 +37,7 @@ private slots: QVERIFY(!op.undoOperation()); QCOMPARE(UpdateOperation::Error(op.error()), UpdateOperation::UserDefinedError); - QCOMPARE(op.errorString(), QString("Could not get package manager core.")); + QCOMPARE(op.errorString(), QString("Cannot get package manager core.")); } void testRunningApplication() diff --git a/tests/auto/installer/lib7zfacade/tst_lib7zfacade.cpp b/tests/auto/installer/lib7zfacade/tst_lib7zfacade.cpp index 5cd9f32d3..654320537 100644 --- a/tests/auto/installer/lib7zfacade/tst_lib7zfacade.cpp +++ b/tests/auto/installer/lib7zfacade/tst_lib7zfacade.cpp @@ -100,7 +100,7 @@ private slots: QVERIFY(file.open(QIODevice::ReadOnly)); QVector<Lib7z::File> files = Lib7z::listArchive(&file); } catch (const Lib7z::SevenZipException& e) { - QCOMPARE(e.message(), QString("Could not open archive ':///data/invalid.7z'.")); + QCOMPARE(e.message(), QString("Cannot open archive ':///data/invalid.7z'.")); } catch (...) { QFAIL("Unexpected error during list archive."); } diff --git a/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp b/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp index 75df29949..aeb75f7b1 100644 --- a/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp +++ b/tests/auto/installer/messageboxhandler/tst_messageboxhandler.cpp @@ -94,7 +94,7 @@ private slots: wantedButton = button; } - QVERIFY2(wantedButton != QMessageBox::NoButton, "Could not find a wantedButton."); + QVERIFY2(wantedButton != QMessageBox::NoButton, "Cannot find a wantedButton."); QCOMPARE(static_cast<QMessageBox::StandardButton>(returnButton), wantedButton); } while (standardButtons < m_maxStandardButtons); } diff --git a/tests/auto/installer/mkdiroperationtest/tst_mkdiroperationtest.cpp b/tests/auto/installer/mkdiroperationtest/tst_mkdiroperationtest.cpp index f7922e62d..875e5107b 100644 --- a/tests/auto/installer/mkdiroperationtest/tst_mkdiroperationtest.cpp +++ b/tests/auto/installer/mkdiroperationtest/tst_mkdiroperationtest.cpp @@ -123,7 +123,7 @@ private slots: file.close(); QVERIFY2(!op.undoOperation(), op.errorString().toLatin1()); QVERIFY2(file.exists(), filepath.toLatin1()); - QVERIFY2(QDir(filepath).remove(filepath), "Could not remove file"); + QVERIFY2(QDir(filepath).remove(filepath), "Cannot remove file"); QVERIFY2(!file.exists(), filepath.toLatin1()); QVERIFY2(op.undoOperation(), op.errorString().toLatin1()); QVERIFY2(!QDir(path).exists(), path.toLatin1()); diff --git a/tests/auto/installer/settings/tst_settings.cpp b/tests/auto/installer/settings/tst_settings.cpp index 47322984f..dca8838c5 100644 --- a/tests/auto/installer/settings/tst_settings.cpp +++ b/tests/auto/installer/settings/tst_settings.cpp @@ -110,7 +110,7 @@ void tst_Settings::loadNotExistingConfig() try { Settings::fromFileAndPrefix(":/data/inexisting_config.xml", ":/data"); } catch (const Error &error) { - QCOMPARE(error.message(), QLatin1String("Could not open settings file " + QCOMPARE(error.message(), QLatin1String("Cannot open settings file " ":/data/inexisting_config.xml for reading: " "Unknown error")); return; diff --git a/tests/auto/installer/settingsoperation/tst_settingsoperation.cpp b/tests/auto/installer/settingsoperation/tst_settingsoperation.cpp index 1b434ecb3..319d2123d 100644 --- a/tests/auto/installer/settingsoperation/tst_settingsoperation.cpp +++ b/tests/auto/installer/settingsoperation/tst_settingsoperation.cpp @@ -122,7 +122,7 @@ private slots: QVERIFY2(settingsOperation.performOperation(), settingsOperation.errorString().toLatin1()); - QVERIFY2(compareFiles(verifyFilePath, testFilePath), QString("'%1' and '%2' are different") + QVERIFY2(compareFiles(verifyFilePath, testFilePath), QString("\"%1\" and \"%2\" are different.") .arg(verifyFilePath, testFilePath).toLatin1()); } diff --git a/tools/archivegen/archive.cpp b/tools/archivegen/archive.cpp index b6ae31bfa..5a8f25f1f 100644 --- a/tools/archivegen/archive.cpp +++ b/tools/archivegen/archive.cpp @@ -39,6 +39,7 @@ #include <QCoreApplication> #include <QCommandLineParser> +#include <QDir> #include <iostream> @@ -82,19 +83,19 @@ private: HRESULT OpenResult(const wchar_t *file, HRESULT result, const wchar_t*) { if (result != S_OK) { - printBlock(QCoreApplication::translate("archivegen", "Cannot update file: '%1'. " - "Unsuporrted archive.").arg(QString::fromWCharArray(file)), Q_NULLPTR); + printBlock(QCoreApplication::translate("archivegen", "Cannot update file \"%1\". " + "Unsupported archive.").arg(QDir::toNativeSeparators(QString::fromWCharArray(file))), Q_NULLPTR); } return result; } HRESULT OpenFileError(const wchar_t *file, DWORD) { - printBlock(QCoreApplication::translate("archivegen", "Cannot open file: "), file); + printBlock(QCoreApplication::translate("archivegen", "Cannot open file "), file); return S_FALSE; } HRESULT CanNotFindError(const wchar_t *file, DWORD) { - printBlock(QCoreApplication::translate("archivegen", "Cannot find file: "), file); + printBlock(QCoreApplication::translate("archivegen", "Cannot find file "), file); return S_FALSE; } @@ -185,7 +186,7 @@ int main(int argc, char *argv[]) const int value = parser.value(compression).toInt(&ok); if (!ok || (std::find(std::begin(values), std::end(values), value) == std::end(values))) { throw QInstaller::Error(QCoreApplication::translate("archivegen", - "Unknown compression level '%1'. See 'archivgen --help'.").arg(value)); + "Unknown compression level \"%1\". See 'archivgen --help'.").arg(value)); } Lib7z::initSevenZ(); diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp index b5df76601..4f400e6f2 100644 --- a/tools/binarycreator/binarycreator.cpp +++ b/tools/binarycreator/binarycreator.cpp @@ -199,7 +199,7 @@ static int assemble(Input input, const QInstaller::Settings &settings) QTemporaryFile file(input.outputPath); if (!file.open()) { - throw Error(QString::fromLatin1("Could not copy %1 to %2: %3").arg(input.installerExePath, + throw Error(QString::fromLatin1("Cannot copy %1 to %2: %3").arg(input.installerExePath, input.outputPath, file.errorString())); } @@ -209,7 +209,7 @@ static int assemble(Input input, const QInstaller::Settings &settings) QFile instExe(input.installerExePath); if (!instExe.copy(tempFile)) { - throw Error(QString::fromLatin1("Could not copy %1 to %2: %3").arg(instExe.fileName(), + throw Error(QString::fromLatin1("Cannot copy %1 to %2: %3").arg(instExe.fileName(), tempFile, instExe.errorString())); } @@ -252,7 +252,7 @@ static int assemble(Input input, const QInstaller::Settings &settings) { QFile target(targetName); if (target.exists() && !target.remove()) { - qCritical("Could not remove target %s: %s", qPrintable(target.fileName()), + qCritical("Cannot remove target %s: %s", qPrintable(target.fileName()), qPrintable(target.errorString())); QFile::remove(tempFile); return EXIT_FAILURE; @@ -265,7 +265,7 @@ static int assemble(Input input, const QInstaller::Settings &settings) #ifdef Q_OS_OSX if (!exe.copy(input.outputPath)) { - throw Error(QString::fromLatin1("Could not copy %1 to %2: %3").arg(exe.fileName(), + throw Error(QString::fromLatin1("Cannot copy %1 to %2: %3").arg(exe.fileName(), input.outputPath, exe.errorString())); } #else @@ -297,7 +297,7 @@ static int assemble(Input input, const QInstaller::Settings &settings) } if (!out.rename(targetName)) { - qCritical("Could not write installer to %s: %s", targetName.toUtf8().constData(), + qCritical("Cannot write installer to %s: %s", targetName.toUtf8().constData(), out.errorString().toUtf8().constData()); QFile::remove(tempFile); return EXIT_FAILURE; @@ -373,7 +373,7 @@ static QSharedPointer<QInstaller::Resource> createDefaultResourceFile(const QStr { QTemporaryFile projectFile(directory + QLatin1String("/rccprojectXXXXXX.qrc")); if (!projectFile.open()) - throw Error(QString::fromLatin1("Could not create temporary file for generated rcc project file")); + throw Error(QString::fromLatin1("Cannot create temporary file for generated rcc project file")); projectFile.close(); const WorkingDirectoryChange wd(directory); @@ -382,13 +382,13 @@ static QSharedPointer<QInstaller::Resource> createDefaultResourceFile(const QStr // 1. create the .qrc file if (runRcc(QStringList() << QLatin1String("rcc") << QLatin1String("-project") << QLatin1String("-o") << projectFileName) != EXIT_SUCCESS) { - throw Error(QString::fromLatin1("Could not create rcc project file.")); + throw Error(QString::fromLatin1("Cannot create rcc project file.")); } // 2. create the binary resource file from the .qrc file if (runRcc(QStringList() << QLatin1String("rcc") << QLatin1String("-binary") << QLatin1String("-o") << binaryName << projectFileName) != EXIT_SUCCESS) { - throw Error(QString::fromLatin1("Could not compile rcc project file.")); + throw Error(QString::fromLatin1("Cannot compile rcc project file.")); } return QSharedPointer<QInstaller::Resource>(new QInstaller::Resource(binaryName, binaryName diff --git a/tools/binarycreator/rcc/rcc.cpp b/tools/binarycreator/rcc/rcc.cpp index 965c48f2e..3b5a6134a 100644 --- a/tools/binarycreator/rcc/rcc.cpp +++ b/tools/binarycreator/rcc/rcc.cpp @@ -714,25 +714,25 @@ bool RCCResourceLibrary::output(QIODevice &outDevice, QIODevice &errorDevice) if (m_verbose) m_errorDevice->write("Outputting code\n"); if (!writeHeader()) { - m_errorDevice->write("Could not write header\n"); + m_errorDevice->write("Cannot write header\n"); return false; } if (m_root) { if (!writeDataBlobs()) { - m_errorDevice->write("Could not write data blobs.\n"); + m_errorDevice->write("Cannot write data blobs.\n"); return false; } if (!writeDataNames()) { - m_errorDevice->write("Could not write file names\n"); + m_errorDevice->write("Cannot write file names\n"); return false; } if (!writeDataStructure()) { - m_errorDevice->write("Could not write data tree\n"); + m_errorDevice->write("Cannot write data tree\n"); return false; } } if (!writeInitializer()) { - m_errorDevice->write("Could not write footer\n"); + m_errorDevice->write("Cannot write footer\n"); return false; } outDevice.write(m_out.constData(), m_out.size()); diff --git a/tools/common/repositorygen.cpp b/tools/common/repositorygen.cpp index a688742f7..5e1e348a8 100644 --- a/tools/common/repositorygen.cpp +++ b/tools/common/repositorygen.cpp @@ -77,7 +77,7 @@ QString QInstallerTools::makePathAbsolute(const QString &path) void QInstallerTools::copyWithException(const QString &source, const QString &target, const QString &kind) { - qDebug() << QString::fromLatin1("Copying associated %1 file '%2'").arg(kind, source); + qDebug() << QString::fromLatin1("Copying associated %1 file \"%2\".").arg(kind, source); const QFileInfo targetFileInfo(target); if (!targetFileInfo.dir().exists()) @@ -86,8 +86,8 @@ void QInstallerTools::copyWithException(const QString &source, const QString &ta QFile sourceFile(source); if (!sourceFile.copy(target)) { qDebug() << "failed!\n"; - throw QInstaller::Error(QString::fromLatin1("Could not copy the %1 file from\n'%2' to '%3'\nError: " - "'%4'.").arg(kind, source, target, + throw QInstaller::Error(QString::fromLatin1("Cannot copy the %1 file from \"%2\" to \"%3\": " + "%4").arg(kind, QDir::toNativeSeparators(source), QDir::toNativeSeparators(target), /* in case of an existing target the error String does not show the file */ (targetFileInfo.exists() ? QLatin1String("Target already exist.") : sourceFile.errorString()))); } @@ -109,8 +109,8 @@ static QStringList copyFilesFromNode(const QString &parentNode, const QString &c const QString filter = attr.isEmpty() ? node.toElement().text() : node.toElement().attribute(attr); const QStringList files = dir.entryList(QStringList(filter), QDir::Files); if (files.isEmpty()) { - throw QInstaller::Error(QString::fromLatin1("Could not find any %1 matching '%2' " - "while copying %1 of '%3'.").arg(kind, filter, info.name)); + throw QInstaller::Error(QString::fromLatin1("Cannot find any %1 matching \"%2\" " + "while copying %1 of \"%3\".").arg(kind, filter, info.name)); } foreach (const QString &file, files) { @@ -160,10 +160,10 @@ void QInstallerTools::copyMetaData(const QString &_targetDir, const QString &met foreach (const PackageInfo &info, packages) { if (!QDir(targetDir).mkpath(info.name)) - throw QInstaller::Error(QString::fromLatin1("Could not create directory '%1'.").arg(info.name)); + throw QInstaller::Error(QString::fromLatin1("Cannot create directory \"%1\".").arg(info.name)); const QString packageXmlPath = QString::fromLatin1("%1/meta/package.xml").arg(info.directory); - qDebug() << QString::fromLatin1("Copy meta data for package '%1' using '%2'.").arg(info.name, + qDebug() << QString::fromLatin1("Copy meta data for package \"%1\" using \"%2\".").arg(info.name, packageXmlPath); QFile file(packageXmlPath); @@ -174,8 +174,8 @@ void QInstallerTools::copyMetaData(const QString &_targetDir, const QString &met int column = 0; QDomDocument packageXml; if (!packageXml.setContent(&file, &errMsg, &line, &column)) { - throw QInstaller::Error(QString::fromLatin1("Could not parse '%1': line: %2, column: %3: %4 (%5)") - .arg(packageXmlPath).arg(line).arg(column).arg(errMsg, info.name)); + throw QInstaller::Error(QString::fromLatin1("Cannot parse \"%1\": line: %2, column: %3: %4 (%5)") + .arg(QDir::toNativeSeparators(packageXmlPath)).arg(line).arg(column).arg(errMsg, info.name)); } QDomElement update = doc.createElement(QLatin1String("PackageUpdate")); @@ -218,11 +218,11 @@ void QInstallerTools::copyMetaData(const QString &_targetDir, const QString &met if (foundDefault && foundVirtual) { throw QInstaller::Error(QString::fromLatin1("Error: <Default> and <Virtual> elements are " - "mutually exclusive. File: '%1'").arg(packageXmlPath)); + "mutually exclusive in file \"%1\".").arg(QDir::toNativeSeparators(packageXmlPath))); } if (!foundDisplayName) { - qWarning() << QString::fromLatin1("No DisplayName tag found at '%1', using component Name instead." + qWarning() << QString::fromLatin1("No DisplayName tag found at \"%1\", using component Name instead." ).arg(info.name); QDomElement displayNameElement = doc.createElement(QLatin1String("DisplayName")); update.appendChild(displayNameElement).appendChild(doc.createTextNode(info.name)); @@ -284,8 +284,8 @@ void QInstallerTools::copyMetaData(const QString &_targetDir, const QString &met if (!script.isEmpty()) { QFile scriptFile(QString::fromLatin1("%1/meta/%2").arg(info.directory, script)); if (!scriptFile.open(QIODevice::ReadOnly | QIODevice::Text)) { - throw QInstaller::Error(QString::fromLatin1("Could not open component script: '%1'") - .arg(scriptFile.fileName())); + throw QInstaller::Error(QString::fromLatin1("Cannot open component script at \"%1\".") + .arg(QDir::toNativeSeparators(scriptFile.fileName()))); } const QString scriptContent = QLatin1String("(function() {") @@ -303,8 +303,9 @@ void QInstallerTools::copyMetaData(const QString &_targetDir, const QString &met const QJSValue value = testScriptEngine.evaluate(scriptContent, scriptFile.fileName()); if (value.isError()) { throw QInstaller::Error(QString::fromLatin1("Exception while loading component " - "script: '%1'. (%2)").arg(scriptFile.fileName(), value.toString().isEmpty() ? - QString::fromLatin1("Unknown error.") : value.toString())); + "script at \"%1\": %2").arg(QDir::toNativeSeparators(scriptFile.fileName()), + value.toString().isEmpty() ? + QString::fromLatin1("Unknown error.") : value.toString())); } const QString toLocation(QString::fromLatin1("%1/%2/%3").arg(targetDir, info.name, script)); @@ -396,14 +397,14 @@ PackageInfoVector QInstallerTools::createListOfPackages(const QStringList &packa continue; packagesToFilter->removeAll(it->fileName()); } - qDebug() << QString::fromLatin1("found subdirectory '%1'").arg(it->fileName()); + qDebug() << QString::fromLatin1("Found subdirectory \"%1\".").arg(it->fileName()); // because the filter is QDir::Dirs - filename means the name of the subdirectory if (it->fileName().contains(QLatin1Char('-'))) { if (ignoreInvalidPackages) continue; - throw QInstaller::Error(QString::fromLatin1("Component '%1' must not contain '-'. This is not " + throw QInstaller::Error(QString::fromLatin1("Component \"%1\" must not contain '-'. This is not " "allowed, because dashes are used as the separator between the component name and the " - "version number internally.").arg(it->fileName())); + "version number internally.").arg(QDir::toNativeSeparators(it->fileName()))); } QFile file(QString::fromLatin1("%1/meta/package.xml").arg(it->filePath())); @@ -411,8 +412,8 @@ PackageInfoVector QInstallerTools::createListOfPackages(const QStringList &packa if (!fileInfo.exists()) { if (ignoreInvalidPackages) continue; - throw QInstaller::Error(QString::fromLatin1("Component '%1' does not contain a package " - "description (meta/package.xml is missing).").arg(it->fileName())); + throw QInstaller::Error(QString::fromLatin1("Component \"%1\" does not contain a package " + "description (meta/package.xml is missing).").arg(QDir::toNativeSeparators(it->fileName()))); } file.open(QIODevice::ReadOnly); @@ -424,21 +425,23 @@ PackageInfoVector QInstallerTools::createListOfPackages(const QStringList &packa if (!doc.setContent(&file, &error, &errorLine, &errorColumn)) { if (ignoreInvalidPackages) continue; - throw QInstaller::Error(QString::fromLatin1("Component package description in '%1' is invalid. " - "Error at line: %2, column: %3 -> %4").arg(fileInfo.absoluteFilePath(), QString::number(errorLine), - QString::number(errorColumn), error)); + throw QInstaller::Error(QString::fromLatin1("Component package description in \"%1\" is invalid. " + "Error at line: %2, column: %3 -> %4").arg(QDir::toNativeSeparators(fileInfo.absoluteFilePath()), + QString::number(errorLine), + QString::number(errorColumn), error)); } const QDomElement packageElement = doc.firstChildElement(QLatin1String("Package")); const QString name = packageElement.firstChildElement(QLatin1String("Name")).text(); if (!name.isEmpty() && name != it->fileName()) { - qWarning() << QString::fromLatin1("The <Name> tag in the '%1' is ignored - the installer uses the " - "path element right before the 'meta' ('%2').").arg(fileInfo.absoluteFilePath(), it->fileName()); + qWarning() << QString::fromLatin1("The <Name> tag in the file \"%1\" is ignored - the installer uses the " + "path element right before the 'meta' (\"%2\").").arg(fileInfo.absoluteFilePath(), + it->fileName()); } QString releaseDate = packageElement.firstChildElement(QLatin1String("ReleaseDate")).text(); if (releaseDate.isEmpty()) { - qWarning("Release date for '%s' is empty! Using the current date instead.", + qWarning("Release date for \"%s\" is empty! Using the current date instead.", qPrintable(fileInfo.absoluteFilePath())); releaseDate = QDate::currentDate().toString(Qt::ISODate); } @@ -446,8 +449,9 @@ PackageInfoVector QInstallerTools::createListOfPackages(const QStringList &packa if (!QDate::fromString(releaseDate, Qt::ISODate).isValid()) { if (ignoreInvalidPackages) continue; - throw QInstaller::Error(QString::fromLatin1("Release date for '%1' is invalid! <ReleaseDate>%2" - "</ReleaseDate>. Supported format: YYYY-MM-DD").arg(fileInfo.absoluteFilePath(), releaseDate)); + throw QInstaller::Error(QString::fromLatin1("Release date for \"%1\" is invalid! <ReleaseDate>%2" + "</ReleaseDate>. Supported format: YYYY-MM-DD").arg(QDir::toNativeSeparators(fileInfo.absoluteFilePath()), + releaseDate)); } PackageInfo info; @@ -456,8 +460,8 @@ PackageInfoVector QInstallerTools::createListOfPackages(const QStringList &packa if (!QRegExp(QLatin1String("[0-9]+((\\.|-)[0-9]+)*")).exactMatch(info.version)) { if (ignoreInvalidPackages) continue; - throw QInstaller::Error(QString::fromLatin1("Component version for '%1' is invalid! <Version>%2</Version>") - .arg(fileInfo.absoluteFilePath(), info.version)); + throw QInstaller::Error(QString::fromLatin1("Component version for \"%1\" is invalid! <Version>%2</Version>") + .arg(QDir::toNativeSeparators(fileInfo.absoluteFilePath()), info.version)); } info.dependencies = packageElement.firstChildElement(QLatin1String("Dependencies")).text() .split(QInstaller::commaRegExp(), QString::SkipEmptyParts); @@ -509,7 +513,7 @@ void QInstallerTools::compressMetaDirectories(const QString &repoDir, const QStr // use existing Updates.xml, if any QFile existingUpdatesXml(QFileInfo(QDir(repoDir), QLatin1String("Updates.xml")).absoluteFilePath()); if (!existingUpdatesXml.open(QIODevice::ReadOnly) || !doc.setContent(&existingUpdatesXml)) { - qDebug() << "Could not find Updates.xml"; + qDebug() << "Cannot find Updates.xml"; } else { root = doc.documentElement(); } @@ -539,8 +543,8 @@ void QInstallerTools::compressMetaDirectories(const QString &repoDir, const QStr writeSHA1ToNodeWithName(doc, elements, sha1Sum, path); const QString finalTarget = absPath + QLatin1String("/") + fn; if (!tmp.rename(finalTarget)) { - throw QInstaller::Error(QString::fromLatin1("Could not move '%1' to '%2'").arg(tmpTarget, - finalTarget)); + throw QInstaller::Error(QString::fromLatin1("Cannot move file \"%1\" to \"%2\".").arg( + QDir::toNativeSeparators(tmpTarget), QDir::toNativeSeparators(finalTarget))); } } @@ -559,7 +563,7 @@ void QInstallerTools::copyComponentData(const QStringList &packageDirs, const QS const QString namedRepoDir = QString::fromLatin1("%1/%2").arg(repoDir, name); if (!QDir().mkpath(namedRepoDir)) { - throw QInstaller::Error(QString::fromLatin1("Could not create repository folder for component '%1'") + throw QInstaller::Error(QString::fromLatin1("Cannot create repository directory for component \"%1\".") .arg(name)); } @@ -574,11 +578,11 @@ void QInstallerTools::copyComponentData(const QStringList &packageDirs, const QS if (Lib7z::isSupportedArchive(absoluteEntryFilePath)) { QFile tmp(absoluteEntryFilePath); QString target = QString::fromLatin1("%1/%3%2").arg(namedRepoDir, entry, info.version); - qDebug() << QString::fromLatin1("Copying archive from '%1' to '%2'").arg(tmp.fileName(), + qDebug() << QString::fromLatin1("Copying archive from \"%1\" to \"%2\".").arg(tmp.fileName(), target); if (!tmp.copy(target)) { - throw QInstaller::Error(QString::fromLatin1("Could not copy '%1' to '%2': %3") - .arg(tmp.fileName(), target, tmp.errorString())); + throw QInstaller::Error(QString::fromLatin1("Cannot copy file \"%1\" to \"%2\": %3") + .arg(QDir::toNativeSeparators(tmp.fileName()), QDir::toNativeSeparators(target), tmp.errorString())); } compressedFiles.append(target); } else { diff --git a/tools/devtool/binarydump.cpp b/tools/devtool/binarydump.cpp index a0ff4f74e..f8bb23996 100644 --- a/tools/devtool/binarydump.cpp +++ b/tools/devtool/binarydump.cpp @@ -48,14 +48,14 @@ int BinaryDump::dump(const QInstaller::ResourceCollectionManager &manager, const QDir targetDir(QFileInfo(target).absoluteFilePath()); if (targetDir.exists()) { if (!targetDir.entryList(QDir::NoDotAndDotDot | QDir::AllEntries).isEmpty()) { - std::cerr << qPrintable(QString::fromLatin1("Target directory '%1' already exists and " - "is not empty.").arg(targetDir.path())) << std::endl; + std::cerr << qPrintable(QString::fromLatin1("Target directory \"%1\" already exists and " + "is not empty.").arg(QDir::toNativeSeparators(targetDir.path()))) << std::endl; return EXIT_FAILURE; } } else { if (!QDir().mkpath(targetDir.path())) { - std::cerr << qPrintable(QString::fromLatin1("Could not create '%1'.").arg(targetDir - .path())) << std::endl; + std::cerr << qPrintable(QString::fromLatin1("Cannot create \"%1\".").arg( + QDir::toNativeSeparators(targetDir.path()))) << std::endl; return EXIT_FAILURE; } } @@ -69,8 +69,8 @@ int BinaryDump::dump(const QInstaller::ResourceCollectionManager &manager, const } if (!targetDir.cd(QLatin1String("metadata"))) { - std::cerr << qPrintable(QString::fromLatin1("Could not switch to '%1/metadata'.") - .arg(targetDir.path())) << std::endl; + std::cerr << qPrintable(QString::fromLatin1("Cannot switch to \"%1/metadata\".") + .arg(QDir::toNativeSeparators(targetDir.path()))) << std::endl; return EXIT_FAILURE; } @@ -82,8 +82,8 @@ int BinaryDump::dump(const QInstaller::ResourceCollectionManager &manager, const QString error; QDomDocument doc; if (!doc.setContent(&updatesXml, &error)) { - throw QInstaller::Error(QString::fromLatin1("Could not read: '%1'. %2").arg(updatesXml - .fileName(), error)); + throw QInstaller::Error(QString::fromLatin1("Cannot read: \"%1\": %2").arg( + QDir::toNativeSeparators(updatesXml.fileName()), error)); } QHash<QString, QString> versionMap; @@ -114,7 +114,7 @@ int BinaryDump::dump(const QInstaller::ResourceCollectionManager &manager, const continue; if (!targetDir.mkpath(name)) { - throw QInstaller::Error(QString::fromLatin1("Could not create target dir: %1.") + throw QInstaller::Error(QString::fromLatin1("Cannot create target dir: %1.") .arg(targetDir.filePath(name))); } diff --git a/tools/devtool/binaryreplace.cpp b/tools/devtool/binaryreplace.cpp index 3e6144e39..b62ad58de 100644 --- a/tools/devtool/binaryreplace.cpp +++ b/tools/devtool/binaryreplace.cpp @@ -84,19 +84,19 @@ int BinaryReplace::replace(const QString &source, const QString &target) .path; result = EXIT_SUCCESS; } catch (const Lib7z::SevenZipException& e) { - std::cerr << qPrintable(QString::fromLatin1("Error while extracting '%1': %2.") - .arg(newInstallerBasePath, e.message())) << std::endl; + std::cerr << qPrintable(QString::fromLatin1("Error while extracting \"%1\": %2") + .arg(QDir::toNativeSeparators(newInstallerBasePath), e.message())) << std::endl; } catch (...) { std::cerr << qPrintable(QString::fromLatin1("Unknown exception caught while " - "extracting '%1'.").arg(newInstallerBasePath)) << std::endl; + "extracting \"%1\".").arg(QDir::toNativeSeparators(newInstallerBasePath))) << std::endl; } } else { - std::cerr << qPrintable(QString::fromLatin1("Could not open '%1' for reading: %2.") - .arg(newInstallerBasePath, archive.errorString())) << std::endl; + std::cerr << qPrintable(QString::fromLatin1("Cannot open \"%1\" for reading: %2") + .arg(QDir::toNativeSeparators(newInstallerBasePath), archive.errorString())) << std::endl; } if (!archive.remove()) { - std::cerr << qPrintable(QString::fromLatin1("Could not delete file '%1': %2.") - .arg(newInstallerBasePath, archive.errorString())) << std::endl; + std::cerr << qPrintable(QString::fromLatin1("Cannot delete file \"%1\": %2") + .arg(QDir::toNativeSeparators(newInstallerBasePath), archive.errorString())) << std::endl; } if (result != EXIT_SUCCESS) return result; @@ -133,19 +133,19 @@ int BinaryReplace::replace(const QString &source, const QString &target) #endif QFile backup(installerBaseOld.fileName() + QLatin1String(".bak")); if (backup.exists() && (!backup.remove())) { - std::cerr << qPrintable(QString::fromLatin1("Could not delete '%1'. %2") - .arg(backup.fileName(), backup.errorString())) << std::endl; + std::cerr << qPrintable(QString::fromLatin1("Cannot delete \"%1\": %2") + .arg(QDir::toNativeSeparators(backup.fileName()), backup.errorString())) << std::endl; } const QString oldBasePath = installerBaseOld.fileName(); if (!installerBaseOld.rename(oldBasePath + QLatin1String(".bak"))) { - std::cerr << qPrintable(QString::fromLatin1("Could not rename '%1' to '%2'. %3") + std::cerr << qPrintable(QString::fromLatin1("Cannot rename \"%1\" to \"%2\": %3") .arg(oldBasePath, oldBasePath + QLatin1String(".bak"), installerBaseOld.errorString())) << std::endl; } if (!installerBaseNew.rename(oldBasePath)) { - std::cerr << qPrintable(QString::fromLatin1("Could not copy '%1' to '%2'. %3") + std::cerr << qPrintable(QString::fromLatin1("Cannot copy \"%1\" to \"%2\": %3") .arg(installerBaseNew.fileName(), oldBasePath, installerBaseNew.errorString())) << std::endl; } else { diff --git a/tools/devtool/main.cpp b/tools/devtool/main.cpp index 638242b29..ff7551fed 100644 --- a/tools/devtool/main.cpp +++ b/tools/devtool/main.cpp @@ -61,8 +61,8 @@ struct Command const char* argDescription; } Commands[] = { { "dump", "Dumps the binary content that belongs to an installer or maintenance tool into " - "target folder.", 2, "<binary> <targetfolder>", "The <binary> containing the data to " - "dump.\nThe <targetfolder> to dump the data in." + "target directory.", 2, "<binary> <targetdirecory>", "The <binary> containing the data to " + "dump.\nThe <targetdirectory> to dump the data in." }, { "update", "Updates existing installer or maintenance tool with a new installer base.", 2, @@ -128,7 +128,7 @@ int main(int argc, char *argv[]) parser.showHelp(EXIT_SUCCESS); } } - return fail(QString::fromLatin1("'%1' is not a devtool command.").arg(command)); + return fail(QString::fromLatin1("\"%1\" is not a devtool command.").arg(command)); } QString helpText = parser.helpText(); @@ -164,7 +164,7 @@ int main(int argc, char *argv[]) } if (!found) - return fail(QString::fromLatin1("'%1' is not a devtool command.").arg(command)); + return fail(QString::fromLatin1("\"%1\" is not a devtool command.").arg(command)); QInstaller::init(); QInstaller::setVerbose(parser.isSet(verbose)); @@ -183,7 +183,7 @@ int main(int argc, char *argv[]) QInstaller::openForRead(&tmp); if (!tmp.seek(QInstaller::BinaryContent::findMagicCookie(&tmp, cookie) - sizeof(qint64))) - throw QInstaller::Error(QLatin1String("Could not seek to read magic marker.")); + throw QInstaller::Error(QLatin1String("Cannot seek to read magic marker.")); QInstaller::BinaryLayout layout; layout.magicMarker = QInstaller::retrieveInt64(&tmp); @@ -228,7 +228,7 @@ int main(int argc, char *argv[]) const QByteArray ba = resource->readAll(); if (!QResource::registerResource((const uchar*) ba.data(), QLatin1String(":/metadata"))) - throw QInstaller::Error(QLatin1String("Could not register in-binary resource.")); + throw QInstaller::Error(QLatin1String("Cannot register in-binary resource.")); resourceMappings.append(ba); if (!isOpen) resource->close(); diff --git a/tools/repocompare/repositorymanager.cpp b/tools/repocompare/repositorymanager.cpp index 8f69432dc..9faf72319 100644 --- a/tools/repocompare/repositorymanager.cpp +++ b/tools/repocompare/repositorymanager.cpp @@ -34,6 +34,7 @@ #include "repositorymanager.h" #include <QDebug> +#include <QDir> #include <QFile> #include <QStringList> #include <QUrl> @@ -186,7 +187,9 @@ void RepositoryManager::writeUpdateFile(const QString &fileName) { QFile file(fileName); if (!file.open(QIODevice::ReadWrite | QIODevice::Truncate)) { - QMessageBox::critical(0, QLatin1String("Error"), QLatin1String("Could not open File for saving")); + QMessageBox::critical(0, QLatin1String("Error"), + QString::fromLatin1("Cannot open file \"%1\" for writing: %2").arg( + QDir::toNativeSeparators(fileName), file.errorString())); return; } diff --git a/tools/repogen/repogen.cpp b/tools/repogen/repogen.cpp index a1fe5548d..7554cfa20 100644 --- a/tools/repogen/repogen.cpp +++ b/tools/repogen/repogen.cpp @@ -193,7 +193,7 @@ int main(int argc, char** argv) QDir::AllEntries | QDir::NoDotAndDotDot).isEmpty()) { throw QInstaller::Error(QCoreApplication::translate("QInstaller", - "Repository target folder %1 already exists!").arg(repositoryDir)); + "Repository target directory \"%1\" already exists.").arg(QDir::toNativeSeparators(repositoryDir))); } QInstallerTools::PackageInfoVector packages = QInstallerTools::createListOfPackages(packagesDirectories, @@ -206,7 +206,7 @@ int main(int argc, char** argv) const QDomElement root = doc.documentElement(); if (root.tagName() != QLatin1String("Updates")) { throw QInstaller::Error(QCoreApplication::translate("QInstaller", - "Invalid content in '%1'.").arg(file.fileName())); + "Invalid content in \"%1\".").arg(QDir::toNativeSeparators(file.fileName()))); } file.close(); // close the file, we read the content already @@ -239,7 +239,7 @@ int main(int argc, char** argv) } if (packages.isEmpty()) { - std::cout << QString::fromLatin1("Could not find new components to update '%1'.") + std::cout << QString::fromLatin1("Cannot find new components to update \"%1\".") .arg(repositoryDir) << std::endl; return EXIT_SUCCESS; } |