Feature/tag route titles with template literal strings (#1155)
* Tagged template literal strings * Update changelog
This commit is contained in:
parent
dc5052f7dc
commit
e22b8b78b8
@ -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
|
||||||
|
@ -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'
|
||||||
});
|
});
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: AboutPageComponent,
|
component: AboutPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'About'
|
title: $localize`About`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: ChangelogPageComponent,
|
component: ChangelogPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Changelog & License'
|
title: $localize`Changelog & License`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: PrivacyPolicyPageComponent,
|
component: PrivacyPolicyPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Privacy Policy'
|
title: $localize`Privacy Policy`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: AccountPageComponent,
|
component: AccountPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'My Ghostfolio'
|
title: $localize`My Ghostfolio`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: AccountsPageComponent,
|
component: AccountsPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Accounts'
|
title: $localize`Accounts`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ const routes: Routes = [
|
|||||||
],
|
],
|
||||||
component: AdminPageComponent,
|
component: AdminPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Admin Control'
|
title: $localize`Admin Control`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: BlogPageComponent,
|
component: BlogPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Blog'
|
title: $localize`Blog`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: FaqPageComponent,
|
component: FaqPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'FAQ'
|
title: $localize`FAQ`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: FeaturesPageComponent,
|
component: FeaturesPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Features'
|
title: $localize`Features`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ const routes: Routes = [
|
|||||||
],
|
],
|
||||||
component: HomePageComponent,
|
component: HomePageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Overview'
|
title: $localize`Overview`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: MarketsPageComponent,
|
component: MarketsPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Markets'
|
title: $localize`Markets`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: AllocationsPageComponent,
|
component: AllocationsPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Allocations'
|
title: $localize`Allocations`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: AnalysisPageComponent,
|
component: AnalysisPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Analysis'
|
title: $localize`Analysis`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: FirePageComponent,
|
component: FirePageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'FIRE'
|
title: $localize`FIRE`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: HoldingsPageComponent,
|
component: HoldingsPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Holdings'
|
title: $localize`Holdings`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: TransactionsPageComponent,
|
component: TransactionsPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Activities'
|
title: $localize`Activities`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: PricingPageComponent,
|
component: PricingPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Pricing'
|
title: $localize`Pricing`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: PublicPageComponent,
|
component: PublicPageComponent,
|
||||||
path: ':id',
|
path: ':id',
|
||||||
title: 'Portfolio'
|
title: $localize`Portfolio`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: RegisterPageComponent,
|
component: RegisterPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Registration'
|
title: $localize`Registration`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ const routes: Routes = [
|
|||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
component: ResourcesPageComponent,
|
component: ResourcesPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Resources'
|
title: $localize`Resources`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -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({
|
||||||
|
@ -16,7 +16,7 @@ const routes: Routes = [
|
|||||||
],
|
],
|
||||||
component: ZenPageComponent,
|
component: ZenPageComponent,
|
||||||
path: '',
|
path: '',
|
||||||
title: 'Overview'
|
title: $localize`Overview`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -2453,4 +2453,4 @@
|
|||||||
</trans-unit>
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user