1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-24 16:49:26 +01:00

[SM-821] Secrets specific export messages (#5675)

Add new messages for secrets specific export confirmation.

Co-authored-by: willmartian <contact@willmartian.com>
This commit is contained in:
Patrick 2023-06-28 11:46:39 -04:00 committed by GitHub
parent a1c4460068
commit 78bffc3024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -965,8 +965,14 @@
"confirmVaultExport": {
"message": "Confirm vault export"
},
"confirmSecretsExport": {
"message": "Confirm secrets export"
},
"exportWarningDesc": {
"message": "This export contains your vault data in an unencrypted format. You should not store or send the exported file over unsecure channels (such as email). Delete it immediately after you are done using it."
},
"exportSecretsWarningDesc": {
"message": "This export contains your secrets data in an unencrypted format. You should not store or send the exported file over unsecure channels (such as email). Delete it immediately after you are done using it."
},
"encExportKeyWarningDesc": {
"message": "This export encrypts your data using your account's encryption key. If you ever rotate your account's encryption key you should export again since you will not be able to decrypt this export file."
@ -980,6 +986,9 @@
"exportVault": {
"message": "Export vault"
},
"exportSecrets": {
"message": "Export secrets"
},
"fileFormat": {
"message": "File format"
},

View File

@ -100,9 +100,9 @@ export class SecretsManagerExportComponent implements OnInit, OnDestroy {
private verifyUser() {
const ref = openUserVerificationPrompt(this.dialogService, {
data: {
confirmDescription: "exportWarningDesc",
confirmButtonText: "exportVault",
modalTitle: "confirmVaultExport",
confirmDescription: "exportSecretsWarningDesc",
confirmButtonText: "exportSecrets",
modalTitle: "confirmSecretsExport",
},
});