1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-22 21:21:35 +01:00

Fix translations.

This commit is contained in:
Alec Rippberger 2024-10-15 16:42:58 -05:00
parent 38051c9e7d
commit 28aae75abf
No known key found for this signature in database
GPG Key ID: 9DD8DA583B28154A
3 changed files with 7 additions and 3 deletions

View File

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

View File

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

View File

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