1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

Fix translations.

This commit is contained in:
Alec Rippberger
2024-10-15 16:42:58 -05:00
parent 38051c9e7d
commit 28aae75abf
3 changed files with 7 additions and 3 deletions

View File

@@ -454,7 +454,9 @@ const routes: Routes = [
canActivate: [unauthGuardFn(unauthRouteOverrides)], canActivate: [unauthGuardFn(unauthRouteOverrides)],
data: { data: {
pageIcon: VaultIcon, pageIcon: VaultIcon,
pageTitle: "logInToBitwarden", pageTitle: {
key: "logInToBitwarden",
},
state: "login", state: "login",
showAcctSwitcher: true, showAcctSwitcher: true,
} satisfies RouteDataProperties & ExtensionAnonLayoutWrapperData, } satisfies RouteDataProperties & ExtensionAnonLayoutWrapperData,

View File

@@ -177,7 +177,9 @@ const routes: Routes = [
path: "login", path: "login",
canActivate: [maxAccountsGuardFn()], canActivate: [maxAccountsGuardFn()],
data: { data: {
pageTitle: "logInToBitwarden", pageTitle: {
key: "logInToBitwarden",
},
}, },
children: [ children: [
{ path: "", component: LoginComponent }, { path: "", component: LoginComponent },

View File

@@ -331,7 +331,7 @@ export class LoginComponent implements OnInit, OnDestroy {
await this.getLoginWithDevice(this.loggedEmail); await this.getLoginWithDevice(this.loggedEmail);
this.anonLayoutWrapperDataService.setAnonLayoutWrapperData({ this.anonLayoutWrapperDataService.setAnonLayoutWrapperData({
pageTitle: "welcomeBack", pageTitle: { key: "welcomeBack" },
pageSubtitle: this.loggedEmail, pageSubtitle: this.loggedEmail,
pageIcon: this.Icons.WaveIcon, pageIcon: this.Icons.WaveIcon,
}); });