1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-28 12:45:45 +01:00
This commit is contained in:
addison 2021-02-05 12:44:45 -05:00
parent ec933025f3
commit f537a8a601
3 changed files with 14 additions and 5 deletions

View File

@ -14,9 +14,10 @@ import { SetPasswordComponent } from './accounts/set-password.component';
import { SsoComponent } from './accounts/sso.component'; import { SsoComponent } from './accounts/sso.component';
import { TwoFactorComponent } from './accounts/two-factor.component'; import { TwoFactorComponent } from './accounts/two-factor.component';
import { VaultComponent } from './vault/vault.component';
import { SendComponent } from './send/send.component'; import { SendComponent } from './send/send.component';
import { VaultComponent } from './vault/vault.component';
const routes: Routes = [ const routes: Routes = [
{ path: '', redirectTo: '/vault', pathMatch: 'full' }, { path: '', redirectTo: '/vault', pathMatch: 'full' },
{ path: 'lock', component: LockComponent }, { path: 'lock', component: LockComponent },

View File

@ -1,4 +1,5 @@
import { Component, OnInit } from '@angular/core'; import { Component } from '@angular/core';
import { I18nService } from 'jslib/abstractions/i18n.service';
@Component({ @Component({
selector: 'app-nav', selector: 'app-nav',
@ -9,7 +10,7 @@ export class NavComponent {
{ {
link: '/vault', link: '/vault',
icon: 'fa-lock', icon: 'fa-lock',
label: 'My Vault', label: this.i18nService.translate('myVault'),
}, },
{ {
link: '/send', link: '/send',
@ -17,4 +18,6 @@ export class NavComponent {
label: 'Send', label: 'Send',
}, },
]; ];
constructor(private i18nService: I18nService) {}
} }

View File

@ -1499,7 +1499,8 @@
"message": "An organization policy is affecting your ownership options." "message": "An organization policy is affecting your ownership options."
}, },
"allSends": { "allSends": {
"message": "All Sends" "message": "All Sends",
"description": "'Sends' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated."
}, },
"sendTypeFile": { "sendTypeFile": {
"message": "File" "message": "File"
@ -1512,6 +1513,10 @@
"description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated." "description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated."
}, },
"sendInformation": { "sendInformation": {
"message": "Send Information" "message": "Send Information",
"description": "'Send' is a noun and the name of a feature called 'Bitwarden Send'. It should not be translated."
},
"myVault": {
"message": "My Vault"
} }
} }