1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

reencrypt -> re-encrypt

This commit is contained in:
Helmut K. C. Tessarek
2020-03-13 20:52:28 -04:00
parent e399474b4e
commit 1ee88618e8
5 changed files with 11 additions and 11 deletions

View File

@ -667,8 +667,8 @@ class BaseApplication {
}
if (Setting.value('encryption.shouldReencrypt') < 0) {
// We suggest reencryption if the user has at least one notebook
// and if encryptino is enabled. This code runs only when shouldReencrypt = -1
// We suggest re-encryption if the user has at least one notebook
// and if encryption is enabled. This code runs only when shouldReencrypt = -1
// which can be set by a maintenance script for example.
const folderCount = await Folder.count();
const itShould = Setting.value('encryption.enabled') && !!folderCount ? Setting.SHOULD_REENCRYPT_YES : Setting.SHOULD_REENCRYPT_NO;