Skip to content

Commit

Permalink
Fix translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
alec-livefront committed Oct 15, 2024
1 parent 38051c9 commit 28aae75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion apps/browser/src/popup/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 3 additions & 1 deletion apps/desktop/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ const routes: Routes = [
path: "login",
canActivate: [maxAccountsGuardFn()],
data: {
pageTitle: "logInToBitwarden",
pageTitle: {
key: "logInToBitwarden",
},
},
children: [
{ path: "", component: LoginComponent },
Expand Down
2 changes: 1 addition & 1 deletion libs/auth/src/angular/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export class LoginComponent implements OnInit, OnDestroy {
await this.getLoginWithDevice(this.loggedEmail);

Check warning on line 331 in libs/auth/src/angular/login/login.component.ts

View check run for this annotation

Codecov / codecov/patch

libs/auth/src/angular/login/login.component.ts#L330-L331

Added lines #L330 - L331 were not covered by tests

this.anonLayoutWrapperDataService.setAnonLayoutWrapperData({

Check warning on line 333 in libs/auth/src/angular/login/login.component.ts

View check run for this annotation

Codecov / codecov/patch

libs/auth/src/angular/login/login.component.ts#L333

Added line #L333 was not covered by tests
pageTitle: "welcomeBack",
pageTitle: { key: "welcomeBack" },
pageSubtitle: this.loggedEmail,
pageIcon: this.Icons.WaveIcon,
});
Expand Down

0 comments on commit 28aae75

Please sign in to comment.