Browse Source

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

Add new messages for secrets specific export confirmation.

Co-authored-by: willmartian <contact@willmartian.com>
pull/5702/head
Patrick 3 years ago committed by GitHub
parent
commit
78bffc3024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      apps/web/src/locales/en/messages.json
  2. 6
      bitwarden_license/bit-web/src/app/secrets-manager/settings/porting/sm-export.component.ts

9
apps/web/src/locales/en/messages.json

@ -965,8 +965,14 @@ @@ -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 @@ @@ -980,6 +986,9 @@
"exportVault": {
"message": "Export vault"
},
"exportSecrets": {
"message": "Export secrets"
},
"fileFormat": {
"message": "File format"
},

6
bitwarden_license/bit-web/src/app/secrets-manager/settings/porting/sm-export.component.ts

@ -100,9 +100,9 @@ export class SecretsManagerExportComponent implements OnInit, OnDestroy { @@ -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",
},
});

Loading…
Cancel
Save