Feature/setup language localization for portuguese (#2076)

* Set up Portuguese

* Update changelog
pull/2080/head
Thomas Kaul 2 years ago committed by GitHub
parent 99cf9f8802
commit 908876ca6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Extended the feature overview page by liabilities - Extended the feature overview page by liabilities
- Set up the language localization for Português (`pt`)
### Changed ### Changed
@ -811,7 +812,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added support for the dividend timeline grouped by year - Added support for the dividend timeline grouped by year
- Added support for the investment timeline grouped by year - Added support for the investment timeline grouped by year
- Set up the language localization for Français (`fr`) - Set up the language localization for Français (`fr`)
- Set up the language localization for Português (`pt`)
### Changed ### Changed

@ -18,36 +18,6 @@ const routes: Routes = [
loadChildren: () => loadChildren: () =>
import('./pages/about/about-page.module').then((m) => m.AboutPageModule) import('./pages/about/about-page.module').then((m) => m.AboutPageModule)
})), })),
...[
'about/changelog',
/////
'a-propos/changelog',
'informazioni-su/changelog',
'over/changelog',
'sobre/changelog',
'ueber-uns/changelog'
].map((path) => ({
path,
loadChildren: () =>
import('./pages/about/changelog/changelog-page.module').then(
(m) => m.ChangelogPageModule
)
})),
...[
'about/privacy-policy',
/////
'a-propos/politique-de-confidentialite',
'informazioni-su/informativa-sulla-privacy',
'over/privacybeleid',
'sobre/politica-de-privacidad',
'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: () =>
@ -179,6 +149,7 @@ const routes: Routes = [
'domande-piu-frequenti', 'domande-piu-frequenti',
'foire-aux-questions', 'foire-aux-questions',
'haeufig-gestellte-fragen', 'haeufig-gestellte-fragen',
'perguntas-mais-frequentes',
'preguntas-mas-frecuentes', 'preguntas-mas-frecuentes',
'vaak-gestelde-vragen' 'vaak-gestelde-vragen'
].map((path) => ({ ].map((path) => ({
@ -243,6 +214,7 @@ const routes: Routes = [
'pricing', 'pricing',
///// /////
'precios', 'precios',
'precos',
'preise', 'preise',
'prezzi', 'prezzi',
'prijzen', 'prijzen',
@ -259,6 +231,7 @@ const routes: Routes = [
///// /////
'enregistrement', 'enregistrement',
'iscrizione', 'iscrizione',
'registo',
'registratie', 'registratie',
'registrierung', 'registrierung',
'registro' 'registro'

@ -150,6 +150,9 @@
<li> <li>
<a href="../nl" title="Ghostfolio in Nederlands">Nederlands</a> <a href="../nl" title="Ghostfolio in Nederlands">Nederlands</a>
</li> </li>
<li>
<a href="../pt" title="Ghostfolio in Português">Português</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>

@ -25,6 +25,7 @@ const routes: Routes = [
...[ ...[
'license', 'license',
///// /////
'licenca',
'licence', 'licence',
'licencia', 'licencia',
'licentie', 'licentie',
@ -37,13 +38,22 @@ const routes: Routes = [
(m) => m.LicensePageModule (m) => m.LicensePageModule
) )
})), })),
{ ...[
path: 'privacy-policy', 'privacy-policy',
/////
'datenschutzbestimmungen',
'informativa-sulla-privacy',
'politique-de-confidentialite',
'politica-de-privacidad',
'politica-de-privacidade',
'privacybeleid'
].map((path) => ({
path,
loadChildren: () => loadChildren: () =>
import('./privacy-policy/privacy-policy-page.module').then( import('./privacy-policy/privacy-policy-page.module').then(
(m) => m.PrivacyPolicyPageModule (m) => m.PrivacyPolicyPageModule
) )
} }))
], ],
component: AboutPageComponent, component: AboutPageComponent,
path: '', path: '',

@ -156,10 +156,10 @@
>Nederlands (<ng-container i18n>Community</ng-container >Nederlands (<ng-container i18n>Community</ng-container
>)</mat-option >)</mat-option
> >
<!--<mat-option value="pt" <mat-option value="pt"
>Português (<ng-container i18n>Community</ng-container >Português (<ng-container i18n>Community</ng-container
>)</mat-option >)</mat-option
>--> >
</mat-select> </mat-select>
</mat-form-field> </mat-form-field>
</div> </div>

@ -246,10 +246,8 @@
<h4 i18n>Multi-Language</h4> <h4 i18n>Multi-Language</h4>
<p class="m-0"> <p class="m-0">
Use Ghostfolio in multiple languages: English, Dutch, French, Use Ghostfolio in multiple languages: English, Dutch, French,
German, Italian<ng-container *ngIf="false" German, Italian, Portuguese and Spanish are currently
>, Portuguese</ng-container supported.
>
and Spanish are currently supported.
</p> </p>
</div> </div>
</mat-card-content> </mat-card-content>

@ -58,6 +58,10 @@
<loc>https://ghostfol.io/de/ueber-uns/changelog</loc> <loc>https://ghostfol.io/de/ueber-uns/changelog</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod> <lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url> </url>
<url>
<loc>https://ghostfol.io/de/ueber-uns/datenschutzbestimmungen</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url> <url>
<loc>https://ghostfol.io/de/ueber-uns/lizenz</loc> <loc>https://ghostfol.io/de/ueber-uns/lizenz</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod> <lastmod>2023-06-01T00:00:00+00:00</lastmod>
@ -356,4 +360,52 @@
<loc>https://ghostfol.io/nl/vaak-gestelde-vragen</loc> <loc>https://ghostfol.io/nl/vaak-gestelde-vragen</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod> <lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url> </url>
<url>
<loc>https://ghostfol.io/pt/blog</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/funcionalidades</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/mercados</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/open</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/perguntas-mais-frequentes</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/precos</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/recursos</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/registo</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/sobre</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/sobre/changelog</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/sobre/licenca</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
<url>
<loc>https://ghostfol.io/pt/sobre/politica-de-privacidade</loc>
<lastmod>2023-06-01T00:00:00+00:00</lastmod>
</url>
</urlset> </urlset>

Loading…
Cancel
Save