1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00: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
2 changed files with 12 additions and 3 deletions

View File

@@ -965,8 +965,14 @@
"confirmVaultExport": { "confirmVaultExport": {
"message": "Confirm vault export" "message": "Confirm vault export"
}, },
"confirmSecretsExport": {
"message": "Confirm secrets export"
},
"exportWarningDesc": { "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." "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": { "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." "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": { "exportVault": {
"message": "Export vault" "message": "Export vault"
}, },
"exportSecrets": {
"message": "Export secrets"
},
"fileFormat": { "fileFormat": {
"message": "File format" "message": "File format"
}, },

View File

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