warning dialog is now handled in base component (#1506)

This commit is contained in:
Kyle Spearrin 2020-12-22 16:38:53 -05:00 committed by GitHub
parent 83cea49a1b
commit 5941a4387d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 8 deletions

2
jslib

@ -1 +1 @@
Subproject commit f9042408f44b299a7cdd1286490b70f5fd2db999 Subproject commit aa1499f70a4ccb0556460942c7c5be1fd517d598

View File

@ -606,6 +606,9 @@
"message": "WARNING", "message": "WARNING",
"description": "WARNING (should stay in capitalized letters if the language permits)" "description": "WARNING (should stay in capitalized letters if the language permits)"
}, },
"confirmVaultExport": {
"message": "Confirm Vault 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."
}, },

View File

@ -41,13 +41,6 @@
</div> </div>
<div class="box-footer"> <div class="box-footer">
<p>{{'exportMasterPassword' | i18n}}</p> <p>{{'exportMasterPassword' | i18n}}</p>
<strong>{{'warning' | i18n}}</strong>:
<span *ngIf="!encryptedFormat">
{{'exportWarningDesc' | i18n}}
</span>
<span *ngIf="encryptedFormat">
{{'encExportWarningDesc' | i18n}}
</span>
</div> </div>
</div> </div>
</content> </content>