From cbee1bef1935f6262f6c852224bc61a3982f949a Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Thu, 30 Mar 2017 09:49:42 +0300 Subject: Move comment to correct location Change-Id: Iaa3e4814b3f028552df90fa2ac004a645578a659 Reviewed-by: Iikka Eklund --- src/libs/installer/downloadfiletask.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libs/installer/downloadfiletask.cpp b/src/libs/installer/downloadfiletask.cpp index 9a065853f..b9b560383 100644 --- a/src/libs/installer/downloadfiletask.cpp +++ b/src/libs/installer/downloadfiletask.cpp @@ -250,6 +250,7 @@ void Downloader::onError(QNetworkReply::NetworkError error) const Data &data = *m_downloads[reply]; //Do not throw error if Updates.xml not found. The repository might be removed //with RepositoryUpdate in Updates.xml later. + //: %2 is a sentence describing the error if (data.taskItem.source().contains(QLatin1String("Updates.xml"), Qt::CaseInsensitive)) { qDebug() << QString::fromLatin1("Network error while downloading '%1': %2.").arg( data.taskItem.source(), reply->errorString()); @@ -258,8 +259,6 @@ void Downloader::onError(QNetworkReply::NetworkError error) TaskException(tr("Network error while downloading '%1': %2.").arg( data.taskItem.source(), reply->errorString()))); } - //: %2 is a sentence describing the error - } else { //: %1 is a sentence describing the error m_futureInterface->reportException( -- cgit v1.2.3 From fd261ff6e51e16a45c37fc3dd8db091afd48ae15 Mon Sep 17 00:00:00 2001 From: Sergey Belyashov Date: Mon, 28 Nov 2016 12:23:23 +0300 Subject: Update Russian translation Change-Id: I64a386e2c5c9f222c14384be002931746b60d3a4 Reviewed-by: Denis Shienkov Reviewed-by: Oswald Buddenhagen --- src/sdk/translations/ru.ts | 92 ++++++++++------------------------------------ 1 file changed, 20 insertions(+), 72 deletions(-) diff --git a/src/sdk/translations/ru.ts b/src/sdk/translations/ru.ts index 6485407d4..7e021ea6d 100644 --- a/src/sdk/translations/ru.ts +++ b/src/sdk/translations/ru.ts @@ -103,6 +103,17 @@ Не удалось создать символьную ссылку %1. %2 + + InstallerBase + + Waiting for %1 + Ожидание %1 + + + Another %1 instance is already running. Wait until it finishes, close it, or restart your system. + Другой экземпляр %1 уже работает. Дождитесь его завершения, закройте его или перезагрузите систему. + + InstallerCalculator @@ -662,6 +673,10 @@ Could not create output file for writing: %1 Не удалось создать выходной файл для записи: %1 + + Could not convert path: %1. + Не удалось преобразовать путь: %1. + Lib7z::ExtractItemJob @@ -856,10 +871,6 @@ Components cannot have children in updater mode. У компонентов не может быть потомков в режиме обновления. - - Could not open the requested translation file '%1'. - Невозможно открыть файл перевода «%1». - Could not open the requested UI file '%1'. Error: %2 Невозможно открыть UI файл «%1». Ошибка: %2 @@ -1069,7 +1080,7 @@ QInstaller::CopyFileTask Invalid task item count. - Неверное число элементов task. + Неверное число элементов task. Could not open source '%1' for read. Error: %2. @@ -2067,6 +2078,10 @@ Please copy the installer to a local drive Password Пароль + + Proxy Credentials + Авторизация на прокси-сервере + QInstaller::ReadyForInstallationPage @@ -2165,13 +2180,6 @@ Please copy the installer to a local drive Не удалось прочитать все данные после отправки команды: %1. Ожидалось байт: %2; получено байт: %3. Ошибка: %4 - - QInstaller::RemoteServerConnection - - Could not read all data after sending command: %1. Bytes expected: %2, Bytes received: %3. Error: %4 - Не удалось прочитать все данные после отправки команды: %1. Ожидалось байт: %2; получено байт: %3. Ошибка: %4 - - QInstaller::ReplaceOperation @@ -2440,66 +2448,6 @@ Do you want to continue? Ошибка при попытке получения прав администратора - - QtPatchOperation - - Invalid arguments in %0: %1 arguments given, %2 expected%3. - Недопустимое количество параметров в %0: передано %1, требуется %2%3. - - - 3 or 4 - 3 или 4 - - - Needed installer object in "%1" operation is empty. - В операции «%1» необходимый объект установщика пуст. - - - First argument should be 'linux', 'mac' or 'windows'. No other type is supported at this time. - Первым элементом должен быть «linux», «mac» или «windows». Другие типы в настоящий момент не поддерживаются. - - - Could not find the needed QmakeOutputInstallerKey(%1) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first. - Не удалось найти значение QmakeOutputInstallerKey(%1) в объекте установщика. Сначала должна быть выполнена операция ConsumeOutput для рабочего qmake'а. - - - QMake from the current Qt version -(%1)is not existing. Please file a bugreport with this dialog at https://bugreports.qt-project.org. - Отсутствует QMake в текущем профиле Qt -(%1). Пожалуйста, отправьте сообщение об ошибке, используя форму на вебсайте https://bugreports.qt-project.org. - - - The output of -%1 -query -is not parseable. Please file a bugreport with this dialog https://bugreports.qt-project.org. -output: "%2" - Невозможно разобрать вывод запроса %1. -Пожалуйста, отправьте сообщение об ошибке, используя форму на вебсайте https://bugreports.qt-project.org. -вывод: «%2» - - - Qt patch error: new Qt dir(%1) -needs to be less than 255 characters. - Ошибка патча Qt. Новый каталог Qt (%1) -должен содержать менее 255 символов в имени. - - - Qt patch error: Can not open %1.(%2) - Ошибка внесения изменений в Qt. Невозможно открыть %1.(%2) - - - The installer was not able to get the unpatched path from -%1.(maybe it is broken or removed) -It tried to patch the Qt binaries, but all other files in Qt are unpatched. -This could result in a broken Qt version. -Sometimes it helps to restart the installer with a switched off antivirus software. - Программе установки не удалось получить исходный путь -из %1.(возможная причина: файл повреждён или удалён) -Система предприняла попытку исправить бинарные файлы Qt; при этом все прочие файлы остались в исходном виде. -Эта ситуация может привести к повреждению Qt. -Попробуйте отключить антивирусную программу и снова запустить программу-установщик. - - RemoteClient -- cgit v1.2.3 From 854734dcbe6e5a6df62d995e14c5efb6976bb6e3 Mon Sep 17 00:00:00 2001 From: Sergey Belyashov Date: Mon, 28 Nov 2016 12:08:02 +0300 Subject: Fix translation contexts in classes not derived from qobject Change-Id: I0afbc19a27179b0646564cbb195683279175e98c Reviewed-by: Oswald Buddenhagen Reviewed-by: Katja Marttila --- src/libs/installer/consumeoutputoperation.h | 1 + src/libs/installer/createdesktopentryoperation.h | 1 + src/libs/installer/createlinkoperation.h | 1 + src/libs/installer/createshortcutoperation.h | 1 + src/libs/installer/environmentvariablesoperation.h | 1 + src/libs/installer/globalsettingsoperation.h | 1 + src/libs/installer/licenseoperation.h | 1 + src/libs/installer/linereplaceoperation.h | 1 + src/libs/installer/replaceoperation.h | 1 + src/libs/installer/selfrestartoperation.h | 1 + src/libs/installer/settingsoperation.h | 1 + src/libs/kdtools/kdupdaterupdateoperations.h | 7 +++++++ 12 files changed, 18 insertions(+) diff --git a/src/libs/installer/consumeoutputoperation.h b/src/libs/installer/consumeoutputoperation.h index 47f076c5c..ff7629e6e 100644 --- a/src/libs/installer/consumeoutputoperation.h +++ b/src/libs/installer/consumeoutputoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT ConsumeOutputOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::ConsumeOutputOperation) public: ConsumeOutputOperation(); diff --git a/src/libs/installer/createdesktopentryoperation.h b/src/libs/installer/createdesktopentryoperation.h index 8df89abf9..6a7ab5c25 100644 --- a/src/libs/installer/createdesktopentryoperation.h +++ b/src/libs/installer/createdesktopentryoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT CreateDesktopEntryOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::CreateDesktopEntryOperation) public: CreateDesktopEntryOperation(); ~CreateDesktopEntryOperation(); diff --git a/src/libs/installer/createlinkoperation.h b/src/libs/installer/createlinkoperation.h index 6b2a8456e..8b27014bd 100644 --- a/src/libs/installer/createlinkoperation.h +++ b/src/libs/installer/createlinkoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT CreateLinkOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::CreateLinkOperation) public: CreateLinkOperation(); diff --git a/src/libs/installer/createshortcutoperation.h b/src/libs/installer/createshortcutoperation.h index 9d07da350..6cd5dc064 100644 --- a/src/libs/installer/createshortcutoperation.h +++ b/src/libs/installer/createshortcutoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT CreateShortcutOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::CreateShortcutOperation) public: CreateShortcutOperation(); diff --git a/src/libs/installer/environmentvariablesoperation.h b/src/libs/installer/environmentvariablesoperation.h index 836002763..bda0dd2cd 100644 --- a/src/libs/installer/environmentvariablesoperation.h +++ b/src/libs/installer/environmentvariablesoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT EnvironmentVariableOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::EnvironmentVariableOperation) public: EnvironmentVariableOperation(); diff --git a/src/libs/installer/globalsettingsoperation.h b/src/libs/installer/globalsettingsoperation.h index 31c1a6dee..be6e79c5d 100644 --- a/src/libs/installer/globalsettingsoperation.h +++ b/src/libs/installer/globalsettingsoperation.h @@ -36,6 +36,7 @@ namespace QInstaller { class QSettingsWrapper; class INSTALLER_EXPORT GlobalSettingsOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::GlobalSettingsOperation) public: GlobalSettingsOperation(); diff --git a/src/libs/installer/licenseoperation.h b/src/libs/installer/licenseoperation.h index dace873e2..37820fbe5 100644 --- a/src/libs/installer/licenseoperation.h +++ b/src/libs/installer/licenseoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT LicenseOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::LicenseOperation) public: LicenseOperation(); diff --git a/src/libs/installer/linereplaceoperation.h b/src/libs/installer/linereplaceoperation.h index af45c153b..6370a535c 100644 --- a/src/libs/installer/linereplaceoperation.h +++ b/src/libs/installer/linereplaceoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT LineReplaceOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::LineReplaceOperation) public: LineReplaceOperation(); diff --git a/src/libs/installer/replaceoperation.h b/src/libs/installer/replaceoperation.h index 83c658fec..0ad614697 100644 --- a/src/libs/installer/replaceoperation.h +++ b/src/libs/installer/replaceoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT ReplaceOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::ReplaceOperation) public: ReplaceOperation(); diff --git a/src/libs/installer/selfrestartoperation.h b/src/libs/installer/selfrestartoperation.h index 560568fc3..54a05f3d1 100644 --- a/src/libs/installer/selfrestartoperation.h +++ b/src/libs/installer/selfrestartoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT SelfRestartOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::SelfRestartOperation) public: SelfRestartOperation(); diff --git a/src/libs/installer/settingsoperation.h b/src/libs/installer/settingsoperation.h index 6663c2af4..14b0eb169 100644 --- a/src/libs/installer/settingsoperation.h +++ b/src/libs/installer/settingsoperation.h @@ -35,6 +35,7 @@ namespace QInstaller { class INSTALLER_EXPORT SettingsOperation : public Operation { + Q_DECLARE_TR_FUNCTIONS(QInstaller::SettingsOperation) public: SettingsOperation(); diff --git a/src/libs/kdtools/kdupdaterupdateoperations.h b/src/libs/kdtools/kdupdaterupdateoperations.h index 519cf21f4..5314dc81e 100644 --- a/src/libs/kdtools/kdupdaterupdateoperations.h +++ b/src/libs/kdtools/kdupdaterupdateoperations.h @@ -35,6 +35,7 @@ namespace KDUpdater { class KDTOOLS_EXPORT CopyOperation : public UpdateOperation { + Q_DECLARE_TR_FUNCTIONS(KDUpdater::CopyOperation) public: CopyOperation(); ~CopyOperation(); @@ -53,6 +54,7 @@ private: class KDTOOLS_EXPORT MoveOperation : public UpdateOperation { + Q_DECLARE_TR_FUNCTIONS(KDUpdater::MoveOperation) public: MoveOperation(); ~MoveOperation(); @@ -66,6 +68,7 @@ public: class KDTOOLS_EXPORT DeleteOperation : public UpdateOperation { + Q_DECLARE_TR_FUNCTIONS(KDUpdater::DeleteOperation) public: DeleteOperation(); ~DeleteOperation(); @@ -81,6 +84,7 @@ public: class KDTOOLS_EXPORT MkdirOperation : public UpdateOperation { + Q_DECLARE_TR_FUNCTIONS(KDUpdater::MkdirOperation) public: MkdirOperation(); @@ -93,6 +97,7 @@ public: class KDTOOLS_EXPORT RmdirOperation : public UpdateOperation { + Q_DECLARE_TR_FUNCTIONS(KDUpdater::RmdirOperation) public: RmdirOperation(); @@ -105,6 +110,7 @@ public: class KDTOOLS_EXPORT AppendFileOperation : public UpdateOperation { + Q_DECLARE_TR_FUNCTIONS(KDUpdater::AppendFileOperation) public: AppendFileOperation(); @@ -117,6 +123,7 @@ public: class KDTOOLS_EXPORT PrependFileOperation : public UpdateOperation { + Q_DECLARE_TR_FUNCTIONS(KDUpdater::PrependFileOperation) public: PrependFileOperation(); -- cgit v1.2.3