From fc9a8c449670e62707b58b2c60cc14e73f713f20 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Tue, 30 Jun 2020 11:05:12 +0200 Subject: [PATCH] Mark user strings for translation Signed-off-by: Kevin Ottens --- src/gui/accountsettings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.5