Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: change vault dialogs phrasing

thecodrr074fb0573168
diff --git a/apps/web/src/common/dialogcontroller.js b/apps/web/src/common/dialogcontroller.js
index 8f42428f3..47a1e8ebb 100644
--- a/apps/web/src/common/dialogcontroller.js
+++ b/apps/web/src/common/dialogcontroller.js
@@ -317,28 +317,28 @@ function getDialogData(type) {
subtitle: "A vault stores your notes in a password-encrypted storage.",
positiveButtonText: "Create vault",
};
- case "unlock_vault":
+ case "lock_note":
return {
- title: "Unlock your Vault",
- subtitle: "Your vault will remain unlocked for 30 minutes.",
- positiveButtonText: "Unlock vault",
+ title: "Lock note",
+ subtitle: "Please open your vault to encrypt & lock this note.",
+ positiveButtonText: "Lock note",
};
case "unlock_note":
return {
- title: "Unlock Note",
- subtitle: "Unlocking will make this note openly available.",
+ title: "Unlock note",
+ subtitle: "Your note will be unencrypted and removed from the vault.",
positiveButtonText: "Unlock note",
};
case "change_password":
return {
- title: "Change Vault Password",
+ title: "Change vault password",
subtitle:
"All locked notes will be re-encrypted with the new password.",
positiveButtonText: "Change password",
};
case "change_account_password":
return {
- title: "Change Account Password",
+ title: "Change account password",
subtitle:
"All your data will be re-encrypted and synced with the new password.",
positiveButtonText: "Change password",
diff --git a/apps/web/src/common/vault.js b/apps/web/src/common/vault.js
index 2d3f690d2..caff44b13 100644
--- a/apps/web/src/common/vault.js
+++ b/apps/web/src/common/vault.js
@@ -13,7 +13,7 @@ class Vault {
}
static unlockVault() {
- return showPasswordDialog("unlock_vault", ({ password }) => {
+ return showPasswordDialog("lock_note", ({ password }) => {
return db.vault
.unlock(password)
.then(() => true)