json exports

This commit is contained in:
Kyle Spearrin 2018-12-17 11:04:48 -05:00
parent 10a45adc59
commit b47bc7317e
3 changed files with 14 additions and 4 deletions

2
jslib

@ -1 +1 @@
Subproject commit 27566c3fd5a1040112278c7ad0a50c6b8d45e3e4 Subproject commit 3b22df15e8cb2f14c2b4dfe996af9bbb721902d0

View File

@ -7,6 +7,13 @@
{{'exportVault' | i18n}} {{'exportVault' | i18n}}
</div> </div>
<div class="box-content"> <div class="box-content">
<div class="box-content-row" appBoxRow>
<label for="format">{{'fileFormat' | i18n}}</label>
<select id="format" name="Format" [(ngModel)]="format">
<option value="json">.json</option>
<option value="csv">.csv</option>
</select>
</div>
<div class="box-content-row box-content-row-flex" appBoxRow> <div class="box-content-row box-content-row-flex" appBoxRow>
<div class="row-main"> <div class="row-main">
<label for="masterPassword">{{'masterPass' | i18n}}</label> <label for="masterPassword">{{'masterPass' | i18n}}</label>
@ -25,7 +32,7 @@
</div> </div>
<div class="box-footer"> <div class="box-footer">
<p>{{'exportMasterPassword' | i18n}}</p> <p>{{'exportMasterPassword' | i18n}}</p>
<strong>{{'warning' | i18n}}</strong>: {{'exportWarning' | i18n}} <strong>{{'warning' | i18n}}</strong>: {{'exportWarningDesc' | i18n}}
</div> </div>
</div> </div>
</div> </div>

View File

@ -1118,12 +1118,15 @@
"exportVault": { "exportVault": {
"message": "Export Vault" "message": "Export Vault"
}, },
"fileFormat": {
"message": "File Format"
},
"warning": { "warning": {
"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)"
}, },
"exportWarning": { "exportWarningDesc": {
"message": "This export contains your unencrypted data in .csv format. You should not store or send it 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."
}, },
"exportMasterPassword": { "exportMasterPassword": {
"message": "Enter your master password to export your vault data." "message": "Enter your master password to export your vault data."