Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
This commit is contained in:
Valdnet 2022-11-27 21:43:22 +01:00 коммит произвёл Matthieu Gallien
Родитель d2d7b45353
Коммит e2ff8715f4
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -92,8 +92,8 @@ void showEnableE2eeWithVirtualFilesWarningDialog(std::function<void(void)> onAcc
messageBox->setText(AccountSettings::tr("End-to-end Encryption with Virtual Files")); 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. " 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 " "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 encrypted. To get the best experience with virtual files and "
"End-to-end Encryption, make sure the encrypted folder is marked with " "end-to-end encryption, make sure the encrypted folder is marked with "
"\"Make always available locally\".")); "\"Make always available locally\"."));
messageBox->setIcon(QMessageBox::Warning); messageBox->setIcon(QMessageBox::Warning);
const auto dontEncryptButton = messageBox->addButton(QMessageBox::StandardButton::Cancel); const auto dontEncryptButton = messageBox->addButton(QMessageBox::StandardButton::Cancel);
@ -1480,7 +1480,7 @@ void AccountSettings::initializeE2eEncryption()
slotE2eEncryptionMnemonicReady(); slotE2eEncryptionMnemonicReady();
} else { } else {
_ui->encryptionMessage->setMessageType(KMessageWidget::Information); _ui->encryptionMessage->setMessageType(KMessageWidget::Information);
_ui->encryptionMessage->setText(tr("This account supports End-to-end encryption")); _ui->encryptionMessage->setText(tr("This account supports end-to-end encryption"));
_ui->encryptionMessage->setIcon(Theme::createColorAwareIcon(QStringLiteral(":/client/theme/black/state-info.svg"))); _ui->encryptionMessage->setIcon(Theme::createColorAwareIcon(QStringLiteral(":/client/theme/black/state-info.svg")));
_ui->encryptionMessage->hide(); _ui->encryptionMessage->hide();

Просмотреть файл

@ -1248,7 +1248,7 @@ void ClientSideEncryption::encryptPrivateKey(const AccountPtr &account)
} }
void ClientSideEncryption::decryptPrivateKey(const AccountPtr &account, const QByteArray &key) { void ClientSideEncryption::decryptPrivateKey(const AccountPtr &account, const QByteArray &key) {
QString msg = tr("Please enter your End-to-End encryption passphrase:<br>" QString msg = tr("Please enter your end-to-end encryption passphrase:<br>"
"<br>" "<br>"
"Username: %2<br>" "Username: %2<br>"
"Account: %3<br>") "Account: %3<br>")