mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Merge pull request #3620 from nextcloud/Valdnet-patch-3
l10n: Replace apostrophe with double quotation
This commit is contained in:
commit
31e16f2620
3 changed files with 9 additions and 9 deletions
|
@ -355,11 +355,11 @@ void ValidateChecksumHeader::slotChecksumCalculated(const QByteArray &checksumTy
|
|||
const QByteArray &checksum)
|
||||
{
|
||||
if (checksumType != _expectedChecksumType) {
|
||||
emit validationFailed(tr("The checksum header contained an unknown checksum type '%1'").arg(QString::fromLatin1(_expectedChecksumType)));
|
||||
emit validationFailed(tr("The checksum header contained an unknown checksum type \"%1\"").arg(QString::fromLatin1(_expectedChecksumType)));
|
||||
return;
|
||||
}
|
||||
if (checksum != _expectedChecksum) {
|
||||
emit validationFailed(tr("The downloaded file does not match the checksum, it will be resumed. '%1' != '%2'").arg(QString::fromUtf8(_expectedChecksum), QString::fromUtf8(checksum)));
|
||||
emit validationFailed(tr(R"(The downloaded file does not match the checksum, it will be resumed. "%1" != "%2")").arg(QString::fromUtf8(_expectedChecksum), QString::fromUtf8(checksum)));
|
||||
return;
|
||||
}
|
||||
emit validated(checksumType, checksum);
|
||||
|
|
|
@ -86,11 +86,11 @@ void showEnableE2eeWithVirtualFilesWarningDialog(std::function<void(void)> onAcc
|
|||
const auto messageBox = new QMessageBox;
|
||||
messageBox->setAttribute(Qt::WA_DeleteOnClose);
|
||||
messageBox->setText(AccountSettings::tr("End-to-End Encryption with Virtual Files"));
|
||||
messageBox->setInformativeText(AccountSettings::tr("You seem to have the Virtual Files feature enabled on this folder. At "
|
||||
" the moment, it is not possible to implicitly download virtual files that are "
|
||||
"End-to-End encrypted. To get the best experience with Virtual Files and"
|
||||
" End-to-End Encryption, make sure the encrypted folder is marked with"
|
||||
" \"Make always available locally\"."));
|
||||
messageBox->setInformativeText(AccountSettings::tr("You seem to have the Virtual Files feature enabled on this folder. "
|
||||
"At the moment, it is not possible to implicitly download virtual files that are "
|
||||
"End-to-End encrypted. To get the best experience with Virtual Files and "
|
||||
"End-to-End Encryption, make sure the encrypted folder is marked with "
|
||||
"\"Make always available locally\"."));
|
||||
messageBox->setIcon(QMessageBox::Warning);
|
||||
const auto dontEncryptButton = messageBox->addButton(QMessageBox::StandardButton::Cancel);
|
||||
Q_ASSERT(dontEncryptButton);
|
||||
|
|
|
@ -197,13 +197,13 @@ using namespace OCC::Utility;
|
|||
|
||||
QTRY_VERIFY(_successDown);
|
||||
|
||||
_expectedError = QStringLiteral("The downloaded file does not match the checksum, it will be resumed. '543345' != '%1'").arg(QString::fromUtf8(_expected));
|
||||
_expectedError = QStringLiteral("The downloaded file does not match the checksum, it will be resumed. \"543345\" != \"%1\"").arg(QString::fromUtf8(_expected));
|
||||
_errorSeen = false;
|
||||
file->seek(0);
|
||||
vali->start(_testfile, "Adler32:543345");
|
||||
QTRY_VERIFY(_errorSeen);
|
||||
|
||||
_expectedError = QLatin1String("The checksum header contained an unknown checksum type 'Klaas32'");
|
||||
_expectedError = QLatin1String("The checksum header contained an unknown checksum type \"Klaas32\"");
|
||||
_errorSeen = false;
|
||||
file->seek(0);
|
||||
vali->start(_testfile, "Klaas32:543345");
|
||||
|
|
Loading…
Reference in a new issue