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

* Tagged template literal strings

* Update changelog
pull/1156/head
Thomas Kaul 2 years ago committed by GitHub
parent dc5052f7dc
commit e22b8b78b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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`
### Changed
- Tagged template literal strings in components for localization with `$localize`
## 1.179.5 - 15.08.2022
### Added

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -9,7 +9,7 @@ const routes: Routes = [
canActivate: [AuthGuard],
component: ResourcesPageComponent,
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';
const routes: Routes = [
{ component: WebauthnPageComponent, path: '', title: 'Login' }
{ component: WebauthnPageComponent, path: '', title: $localize`Login` }
];
@NgModule({

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

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

Loading…
Cancel
Save