From: Kevin Ottens Date: Tue, 30 Jun 2020 09:05:12 +0000 (+0200) Subject: Mark user strings for translation X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~130^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc9a8c449670e62707b58b2c60cc14e73f713f20;p=nextcloud-desktop.git Mark user strings for translation Signed-off-by: Kevin Ottens --- diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp index 594522885..9a6cb511e 100644 --- a/src/gui/accountsettings.cpp +++ b/src/gui/accountsettings.cpp @@ -229,7 +229,7 @@ void AccountSettings::slotEncryptFolderFinished(int status) auto job = qobject_cast(sender()); Q_ASSERT(job); if (!job->errorString().isEmpty()) { - QMessageBox::warning(nullptr, "Warning", job->errorString()); + QMessageBox::warning(nullptr, tr("Warning"), job->errorString()); } job->deleteLater(); } @@ -286,8 +286,8 @@ bool AccountSettings::canEncryptOrDecrypt (const FolderStatusModel::SubFolderInf if (folderPath.count() != 0) { QMessageBox msgBox; - msgBox.setText("You cannot encrypt a folder with contents, please remove the files \n" - "Wait for the new sync, then encrypt it."); + msgBox.setText(tr("You cannot encrypt a folder with contents, please remove the files \n" + "Wait for the new sync, then encrypt it.")); msgBox.exec(); return false; }