Browse Source

Feature/improve language localization for ZH 20250510 (#4701)

* Improve language localization for ZH 20250510

* Update changelog
pull/4703/head
Kenrick Tandrian 2 months ago
committed by GitHub
parent
commit
2932d57c1e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      apps/api/src/assets/sitemap.xml
  3. 8
      apps/client/src/app/app.component.html
  4. 10
      apps/client/src/app/components/user-account-settings/user-account-settings.html
  5. 5
      apps/client/src/app/pages/features/features-page.html
  6. 406
      apps/client/src/locales/messages.zh.xlf

1
CHANGELOG.md

@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Renamed `Order` to `activities` in the `User` database schema
- Improved the language localization for Catalan (`ca`)
- Improved the language localization for Chinese (`zh`)
- Improved the language localization for Italian (`it`)
- Upgraded `nestjs` from version `10.4.15` to `11.0.12`

2
apps/api/src/assets/sitemap.xml

@ -590,11 +590,9 @@
<lastmod>${currentDate}T00:00:00+00:00</lastmod>
</url>
-->
<!--
<url>
<loc>https://ghostfol.io/zh</loc>
<lastmod>${currentDate}T00:00:00+00:00</lastmod>
</url>
-->
${personalFinanceTools}
</urlset>

8
apps/client/src/app/app.component.html

@ -171,6 +171,9 @@
<a href="../ca" title="Ghostfolio en català">Català</a>
</li>
-->
<li>
<a href="../zh" title="Ghostfolio in Chinese">Chinese</a>
</li>
<li>
<a href="../de" title="Ghostfolio in Deutsch">Deutsch</a>
</li>
@ -203,11 +206,6 @@
<a href="../uk" title="Ghostfolio in Українська">Українська</a>
</li>
-->
<!--
<li>
<a href="../zh" title="Ghostfolio in Chinese">Chinese</a>
</li>
-->
</ul>
</div>
</div>

10
apps/client/src/app/components/user-account-settings/user-account-settings.html

@ -86,12 +86,10 @@
>)</mat-option
>
}
@if (user?.settings?.isExperimentalFeatures) {
<mat-option value="zh"
>Chinese (<ng-container i18n>Community</ng-container
>)</mat-option
>
}
<mat-option value="zh"
>Chinese (<ng-container i18n>Community</ng-container
>)</mat-option
>
<mat-option value="es"
>Español (<ng-container i18n>Community</ng-container
>)</mat-option

5
apps/client/src/app/pages/features/features-page.html

@ -260,9 +260,8 @@
<p class="m-0">
Use Ghostfolio in multiple languages: English,
<!-- Català, -->
<!-- Chinese, -->
Dutch, French, German, Italian, Polish, Portuguese, Spanish
and Turkish
Chinese, Dutch, French, German, Italian, Polish, Portuguese,
Spanish and Turkish
<!-- and Ukrainian -->
are currently supported.
</p>

406
apps/client/src/locales/messages.zh.xlf

File diff suppressed because it is too large
Loading…
Cancel
Save