Feature/tag route titles with template literal strings (#1155)

* Tagged template literal strings

* Update changelog
This commit is contained in:
Thomas Kaul 2022-08-16 21:03:05 +02:00 committed by GitHub
parent dc5052f7dc
commit e22b8b78b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 28 additions and 24 deletions

View File

@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Tagged template literal strings in components for localization with `$localize` - Tagged template literal strings in components for localization with `$localize`
### Changed
- Tagged template literal strings in components for localization with `$localize`
## 1.179.5 - 15.08.2022 ## 1.179.5 - 15.08.2022
### Added ### Added

View File

@ -109,7 +109,7 @@ export class HeaderComponent implements OnChanges {
data: { data: {
accessToken: '', accessToken: '',
hasPermissionToUseSocialLogin: this.hasPermissionForSocialLogin, hasPermissionToUseSocialLogin: this.hasPermissionForSocialLogin,
title: 'Sign in' title: $localize`Sign in`
}, },
width: '30rem' width: '30rem'
}); });

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: AboutPageComponent, component: AboutPageComponent,
path: '', path: '',
title: 'About' title: $localize`About`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: ChangelogPageComponent, component: ChangelogPageComponent,
path: '', path: '',
title: 'Changelog & License' title: $localize`Changelog & License`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: PrivacyPolicyPageComponent, component: PrivacyPolicyPageComponent,
path: '', path: '',
title: 'Privacy Policy' title: $localize`Privacy Policy`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: AccountPageComponent, component: AccountPageComponent,
path: '', path: '',
title: 'My Ghostfolio' title: $localize`My Ghostfolio`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: AccountsPageComponent, component: AccountsPageComponent,
path: '', path: '',
title: 'Accounts' title: $localize`Accounts`
} }
]; ];

View File

@ -20,7 +20,7 @@ const routes: Routes = [
], ],
component: AdminPageComponent, component: AdminPageComponent,
path: '', path: '',
title: 'Admin Control' title: $localize`Admin Control`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: BlogPageComponent, component: BlogPageComponent,
path: '', path: '',
title: 'Blog' title: $localize`Blog`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: FaqPageComponent, component: FaqPageComponent,
path: '', path: '',
title: 'FAQ' title: $localize`FAQ`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: FeaturesPageComponent, component: FeaturesPageComponent,
path: '', path: '',
title: 'Features' title: $localize`Features`
} }
]; ];

View File

@ -20,7 +20,7 @@ const routes: Routes = [
], ],
component: HomePageComponent, component: HomePageComponent,
path: '', path: '',
title: 'Overview' title: $localize`Overview`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: MarketsPageComponent, component: MarketsPageComponent,
path: '', path: '',
title: 'Markets' title: $localize`Markets`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: AllocationsPageComponent, component: AllocationsPageComponent,
path: '', path: '',
title: 'Allocations' title: $localize`Allocations`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: AnalysisPageComponent, component: AnalysisPageComponent,
path: '', path: '',
title: 'Analysis' title: $localize`Analysis`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: FirePageComponent, component: FirePageComponent,
path: '', path: '',
title: 'FIRE' title: $localize`FIRE`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: HoldingsPageComponent, component: HoldingsPageComponent,
path: '', path: '',
title: 'Holdings' title: $localize`Holdings`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: TransactionsPageComponent, component: TransactionsPageComponent,
path: '', path: '',
title: 'Activities' title: $localize`Activities`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: PricingPageComponent, component: PricingPageComponent,
path: '', path: '',
title: 'Pricing' title: $localize`Pricing`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: PublicPageComponent, component: PublicPageComponent,
path: ':id', path: ':id',
title: 'Portfolio' title: $localize`Portfolio`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: RegisterPageComponent, component: RegisterPageComponent,
path: '', path: '',
title: 'Registration' title: $localize`Registration`
} }
]; ];

View File

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard], canActivate: [AuthGuard],
component: ResourcesPageComponent, component: ResourcesPageComponent,
path: '', path: '',
title: 'Resources' title: $localize`Resources`
} }
]; ];

View File

@ -3,7 +3,7 @@ import { RouterModule, Routes } from '@angular/router';
import { WebauthnPageComponent } from '@ghostfolio/client/pages/webauthn/webauthn-page.component'; import { WebauthnPageComponent } from '@ghostfolio/client/pages/webauthn/webauthn-page.component';
const routes: Routes = [ const routes: Routes = [
{ component: WebauthnPageComponent, path: '', title: 'Login' } { component: WebauthnPageComponent, path: '', title: $localize`Login` }
]; ];
@NgModule({ @NgModule({

View File

@ -16,7 +16,7 @@ const routes: Routes = [
], ],
component: ZenPageComponent, component: ZenPageComponent,
path: '', path: '',
title: 'Overview' title: $localize`Overview`
} }
]; ];

View File

@ -2453,4 +2453,4 @@
</trans-unit> </trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>