1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-17 07:15:13 +02:00

PM-13318 - Fix missed page titles which didn't get converted to the new translation interface (#11572)

This commit is contained in:
Jared Snider 2024-10-15 22:34:44 -04:00 committed by GitHub
parent 178a418850
commit 34e2d3dad2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 6 deletions

View File

@ -422,8 +422,12 @@ const routes: Routes = [
path: "hint", path: "hint",
canActivate: [unauthGuardFn(unauthRouteOverrides)], canActivate: [unauthGuardFn(unauthRouteOverrides)],
data: { data: {
pageTitle: "requestPasswordHint", pageTitle: {
pageSubtitle: "enterYourAccountEmailAddressAndYourPasswordHintWillBeSentToYou", key: "requestPasswordHint",
},
pageSubtitle: {
key: "enterYourAccountEmailAddressAndYourPasswordHintWillBeSentToYou",
},
pageIcon: UserLockIcon, pageIcon: UserLockIcon,
showBackButton: true, showBackButton: true,
state: "hint", state: "hint",

View File

@ -184,7 +184,9 @@ const routes: Routes = [
path: "hint", path: "hint",
canActivate: [unauthGuardFn()], canActivate: [unauthGuardFn()],
data: { data: {
pageTitle: "passwordHint", pageTitle: {
key: "passwordHint",
},
titleId: "passwordHint", titleId: "passwordHint",
}, },
children: [ children: [
@ -203,8 +205,12 @@ const routes: Routes = [
path: "hint", path: "hint",
canActivate: [unauthGuardFn()], canActivate: [unauthGuardFn()],
data: { data: {
pageTitle: "requestPasswordHint", pageTitle: {
pageSubtitle: "enterYourAccountEmailAddressAndYourPasswordHintWillBeSentToYou", key: "requestPasswordHint",
},
pageSubtitle: {
key: "enterYourAccountEmailAddressAndYourPasswordHintWillBeSentToYou",
},
pageIcon: UserLockIcon, pageIcon: UserLockIcon,
state: "hint", state: "hint",
}, },

View File

@ -62,7 +62,9 @@ const routes: Routes = [
path: "accept-provider", path: "accept-provider",
component: AcceptProviderComponent, component: AcceptProviderComponent,
data: { data: {
pageTitle: "joinProvider", pageTitle: {
key: "joinProvider",
},
titleId: "acceptProvider", titleId: "acceptProvider",
}, },
}, },