Add localized routes for fr, it and nl (#2012)
This commit is contained in:
parent
19333ab084
commit
b24ddc30c9
@ -5,27 +5,46 @@ import { PageTitleStrategy } from '@ghostfolio/client/services/page-title.strate
|
|||||||
import { ModulePreloadService } from './core/module-preload.service';
|
import { ModulePreloadService } from './core/module-preload.service';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
...['about', 'ueber-uns'].map((path) => ({
|
...[
|
||||||
|
'about',
|
||||||
|
/////
|
||||||
|
'a-propos',
|
||||||
|
'informazioni-su',
|
||||||
|
'over',
|
||||||
|
'ueber-uns'
|
||||||
|
].map((path) => ({
|
||||||
path,
|
path,
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/about/about-page.module').then((m) => m.AboutPageModule)
|
import('./pages/about/about-page.module').then((m) => m.AboutPageModule)
|
||||||
})),
|
})),
|
||||||
...['about/changelog', 'ueber-uns/changelog'].map((path) => ({
|
...[
|
||||||
|
'about/changelog',
|
||||||
|
/////
|
||||||
|
'a-propos/changelog',
|
||||||
|
'informazioni-su/changelog',
|
||||||
|
'over/changelog',
|
||||||
|
'ueber-uns/changelog'
|
||||||
|
].map((path) => ({
|
||||||
path,
|
path,
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/about/changelog/changelog-page.module').then(
|
import('./pages/about/changelog/changelog-page.module').then(
|
||||||
(m) => m.ChangelogPageModule
|
(m) => m.ChangelogPageModule
|
||||||
)
|
)
|
||||||
})),
|
})),
|
||||||
...['about/privacy-policy', 'ueber-uns/datenschutzbestimmungen'].map(
|
...[
|
||||||
(path) => ({
|
'about/privacy-policy',
|
||||||
path,
|
/////
|
||||||
loadChildren: () =>
|
'a-propos/politique-de-confidentialite',
|
||||||
import('./pages/about/privacy-policy/privacy-policy-page.module').then(
|
'informazioni-su/informativa-sulla-privacy',
|
||||||
(m) => m.PrivacyPolicyPageModule
|
'over/privacybeleid',
|
||||||
)
|
'ueber-uns/datenschutzbestimmungen'
|
||||||
})
|
].map((path) => ({
|
||||||
),
|
path,
|
||||||
|
loadChildren: () =>
|
||||||
|
import('./pages/about/privacy-policy/privacy-policy-page.module').then(
|
||||||
|
(m) => m.PrivacyPolicyPageModule
|
||||||
|
)
|
||||||
|
})),
|
||||||
{
|
{
|
||||||
path: 'account',
|
path: 'account',
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
@ -151,12 +170,25 @@ const routes: Routes = [
|
|||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/demo/demo-page.module').then((m) => m.DemoPageModule)
|
import('./pages/demo/demo-page.module').then((m) => m.DemoPageModule)
|
||||||
},
|
},
|
||||||
...['faq', 'haeufig-gestellte-fragen'].map((path) => ({
|
...[
|
||||||
|
'faq',
|
||||||
|
/////
|
||||||
|
'domande-piu-frequenti',
|
||||||
|
'foire-aux-questions',
|
||||||
|
'haeufig-gestellte-fragen',
|
||||||
|
'vaak-gestelde-vragen'
|
||||||
|
].map((path) => ({
|
||||||
path,
|
path,
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/faq/faq-page.module').then((m) => m.FaqPageModule)
|
import('./pages/faq/faq-page.module').then((m) => m.FaqPageModule)
|
||||||
})),
|
})),
|
||||||
...['features'].map((path) => ({
|
...[
|
||||||
|
'features',
|
||||||
|
/////
|
||||||
|
'fonctionnalites',
|
||||||
|
'funzionalita',
|
||||||
|
'kenmerken'
|
||||||
|
].map((path) => ({
|
||||||
path,
|
path,
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/features/features-page.module').then(
|
import('./pages/features/features-page.module').then(
|
||||||
@ -168,7 +200,14 @@ const routes: Routes = [
|
|||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/home/home-page.module').then((m) => m.HomePageModule)
|
import('./pages/home/home-page.module').then((m) => m.HomePageModule)
|
||||||
},
|
},
|
||||||
...['markets', 'maerkte'].map((path) => ({
|
...[
|
||||||
|
'markets',
|
||||||
|
/////
|
||||||
|
'maerkte',
|
||||||
|
'marches',
|
||||||
|
'markten',
|
||||||
|
'mercati'
|
||||||
|
].map((path) => ({
|
||||||
path,
|
path,
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/markets/markets-page.module').then(
|
import('./pages/markets/markets-page.module').then(
|
||||||
@ -194,21 +233,42 @@ const routes: Routes = [
|
|||||||
(m) => m.PortfolioPageModule
|
(m) => m.PortfolioPageModule
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
...['pricing', 'preise'].map((path) => ({
|
...[
|
||||||
|
'pricing',
|
||||||
|
/////
|
||||||
|
'preise',
|
||||||
|
'prezzi',
|
||||||
|
'prijzen',
|
||||||
|
'prix'
|
||||||
|
].map((path) => ({
|
||||||
path,
|
path,
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/pricing/pricing-page.module').then(
|
import('./pages/pricing/pricing-page.module').then(
|
||||||
(m) => m.PricingPageModule
|
(m) => m.PricingPageModule
|
||||||
)
|
)
|
||||||
})),
|
})),
|
||||||
...['register', 'registrierung'].map((path) => ({
|
...[
|
||||||
|
'register',
|
||||||
|
/////
|
||||||
|
'enregistrement',
|
||||||
|
'iscrizione',
|
||||||
|
'registratie',
|
||||||
|
'registrierung'
|
||||||
|
].map((path) => ({
|
||||||
path,
|
path,
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/register/register-page.module').then(
|
import('./pages/register/register-page.module').then(
|
||||||
(m) => m.RegisterPageModule
|
(m) => m.RegisterPageModule
|
||||||
)
|
)
|
||||||
})),
|
})),
|
||||||
...['resources', 'ressourcen'].map((path) => ({
|
...[
|
||||||
|
'resources',
|
||||||
|
/////
|
||||||
|
'bronnen',
|
||||||
|
'ressourcen',
|
||||||
|
'ressources',
|
||||||
|
'risorse'
|
||||||
|
].map((path) => ({
|
||||||
path,
|
path,
|
||||||
loadChildren: () =>
|
loadChildren: () =>
|
||||||
import('./pages/resources/resources-page.module').then(
|
import('./pages/resources/resources-page.module').then(
|
||||||
|
@ -144,4 +144,124 @@
|
|||||||
<loc>https://ghostfol.io/en/resources</loc>
|
<loc>https://ghostfol.io/en/resources</loc>
|
||||||
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/a-propos</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/a-propos/changelog</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/a-propos/politique-de-confidentialite</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/enregistrement</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/fonctionnalites</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/foire-aux-questions</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/marches</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/open</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/prix</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/fr/ressources</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/domande-piu-frequenti</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/funzionalita</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/informazioni-su</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/informazioni-su/changelog</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/informazioni-su/informativa-sulla-privacy</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/iscrizione</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/mercati</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/open</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/prezzi</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/it/risorse</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/bronnen</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/kenmerken</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/markten</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/open</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/over</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/over/changelog</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/over/privacybeleid</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/prijzen</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/registratie</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://ghostfol.io/nl/vaak-gestelde-vragen</loc>
|
||||||
|
<lastmod>2023-05-27T00:00:00+00:00</lastmod>
|
||||||
|
</url>
|
||||||
</urlset>
|
</urlset>
|
||||||
|
@ -1707,7 +1707,7 @@
|
|||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2806917038528218276" datatype="html">
|
<trans-unit id="2806917038528218276" datatype="html">
|
||||||
<source>FAQ</source>
|
<source>FAQ</source>
|
||||||
<target state="translated">Häufig gestellte Fragen</target>
|
<target state="translated">Häufig gestellte Fragen (FAQ)</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/pages/faq/faq-page-routing.module.ts</context>
|
<context context-type="sourcefile">apps/client/src/app/pages/faq/faq-page-routing.module.ts</context>
|
||||||
<context context-type="linenumber">12</context>
|
<context context-type="linenumber">12</context>
|
||||||
|
@ -2115,7 +2115,7 @@
|
|||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2806917038528218276" datatype="html">
|
<trans-unit id="2806917038528218276" datatype="html">
|
||||||
<source>FAQ</source>
|
<source>FAQ</source>
|
||||||
<target state="translated">FAQ</target>
|
<target state="translated">Foire aux questions (FAQ)</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/pages/faq/faq-page-routing.module.ts</context>
|
<context context-type="sourcefile">apps/client/src/app/pages/faq/faq-page-routing.module.ts</context>
|
||||||
<context context-type="linenumber">12</context>
|
<context context-type="linenumber">12</context>
|
||||||
|
@ -1708,7 +1708,7 @@
|
|||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2806917038528218276" datatype="html">
|
<trans-unit id="2806917038528218276" datatype="html">
|
||||||
<source>FAQ</source>
|
<source>FAQ</source>
|
||||||
<target state="translated">FAQ</target>
|
<target state="translated">Domande più frequenti (FAQ)</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/pages/faq/faq-page-routing.module.ts</context>
|
<context context-type="sourcefile">apps/client/src/app/pages/faq/faq-page-routing.module.ts</context>
|
||||||
<context context-type="linenumber">12</context>
|
<context context-type="linenumber">12</context>
|
||||||
|
@ -1707,7 +1707,7 @@
|
|||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2806917038528218276" datatype="html">
|
<trans-unit id="2806917038528218276" datatype="html">
|
||||||
<source>FAQ</source>
|
<source>FAQ</source>
|
||||||
<target state="translated">FAQ</target>
|
<target state="translated">Vaak gestelde vragen (FAQ)</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/pages/faq/faq-page-routing.module.ts</context>
|
<context context-type="sourcefile">apps/client/src/app/pages/faq/faq-page-routing.module.ts</context>
|
||||||
<context context-type="linenumber">12</context>
|
<context context-type="linenumber">12</context>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user