1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

share and web vault to tools. cleanup messages

This commit is contained in:
Kyle Spearrin
2018-04-17 13:19:58 -04:00
parent 46ca96020d
commit b22653d245
3 changed files with 19 additions and 24 deletions

View File

@@ -182,27 +182,9 @@
"bitWebVault": { "bitWebVault": {
"message": "Bitwarden Web Vault" "message": "Bitwarden Web Vault"
}, },
"bitWebVaultInfo": {
"message": "Manage your items from any web browser with the Bitwarden web vault."
},
"bitIosVault": {
"message": "Bitwarden iOS Vault"
},
"bitIosVaultInfo": {
"message": "Manage your items from your mobile devices with the Bitwarden iOS vault."
},
"bitAndrVault": {
"message": "Bitwarden Android Vault"
},
"bitAndrVaultInfo": {
"message": "Manage your items from your mobile devices with the Bitwarden Android vault."
},
"importItems": { "importItems": {
"message": "Import Items" "message": "Import Items"
}, },
"importItemsInfo": {
"message": "Quickly bulk import your items from other password management applications."
},
"select": { "select": {
"message": "Select" "message": "Select"
}, },
@@ -528,17 +510,14 @@
"exportMasterPassword": { "exportMasterPassword": {
"message": "Enter your master password to export your vault data." "message": "Enter your master password to export your vault data."
}, },
"exportVaultInfo": {
"message": "Export your vault data in .csv format so that you can easily modify it or move it elsewhere."
},
"shared": { "shared": {
"message": "Shared" "message": "Shared"
}, },
"shareVault": { "shareVault": {
"message": "Share Your Vault" "message": "Share Your Vault"
}, },
"shareVaultInfo": { "shareVaultConfirmation": {
"message": "Create an organization to securely share your items with other users." "message": "Bitwarden allows you to share your vault with others by using an organization account. Would you like to visit the bitwarden.com website to learn more?"
}, },
"learnMore": { "learnMore": {
"message": "Learn more" "message": "Learn more"

View File

@@ -82,6 +82,11 @@
<div class="row-main">{{'shareVault' | i18n}}</div> <div class="row-main">{{'shareVault' | i18n}}</div>
<i class="fa fa-chevron-right fa-lg row-sub-icon"></i> <i class="fa fa-chevron-right fa-lg row-sub-icon"></i>
</a> </a>
<a class="box-content-row box-content-row-flex text-default" href="#"
appStopClick appBlurClick (click)="webVault()">
<div class="row-main">{{'bitWebVault' | i18n}}</div>
<i class="fa fa-chevron-right fa-lg row-sub-icon"></i>
</a>
</div> </div>
</div> </div>
<div class="box list"> <div class="box list">

View File

@@ -120,7 +120,18 @@ export class SettingsComponent implements OnInit {
} }
async share() { async share() {
// TODO this.analytics.eventTrack.next({ action: 'Clicked Share Vault' });
const confirmed = await this.platformUtilsService.showDialog(
this.i18nService.t('shareVaultConfirmation'), this.i18nService.t('shareVault'),
this.i18nService.t('yes'), this.i18nService.t('cancel'));
if (confirmed) {
BrowserApi.createNewTab('https://help.bitwarden.com/article/what-is-an-organization/');
}
}
async webVault() {
this.analytics.eventTrack.next({ action: 'Clicked Web Vault' });
BrowserApi.createNewTab('https://vault.bitwarden.com');
} }
import() { import() {