From 0e3702c2be073c777928e5dcb78a948e3a4860f0 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 21 Aug 2022 17:02:43 +0200 Subject: [PATCH] Feature/improve german translation (#1178) * Simplify and translate locales * Add support for translated labels * Update changelog --- CHANGELOG.md | 1 + apps/client/src/app/app.component.html | 4 +- .../account-detail-dialog.html | 12 +- .../app/components/admin-jobs/admin-jobs.html | 2 +- .../admin-market-data/admin-market-data.html | 2 +- .../admin-overview/admin-overview.html | 4 +- .../components/header/header.component.html | 4 +- .../position-detail-dialog.html | 70 ++- .../src/app/core/http-response.interceptor.ts | 8 +- .../allocations/allocations-page.html | 15 +- .../app/pages/portfolio/portfolio-page.html | 2 +- .../create-or-update-transaction-dialog.html | 2 +- .../src/app/pages/public/public-page.html | 15 +- .../webauthn/webauthn-page-routing.module.ts | 2 +- apps/client/src/locales/messages.de.xlf | 580 ++++++++++-------- apps/client/src/locales/messages.xlf | 280 ++++++--- libs/ui/src/lib/value/value.component.html | 6 +- .../src/lib/value/value.component.stories.ts | 1 - libs/ui/src/lib/value/value.component.ts | 1 - 19 files changed, 606 insertions(+), 405 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33cd65b0a..28ed47791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Added a language selector to the account page +- Added support for translated labels in the value component ### Changed diff --git a/apps/client/src/app/app.component.html b/apps/client/src/app/app.component.html index 04d3d01ca..4525930cf 100644 --- a/apps/client/src/app/app.component.html +++ b/apps/client/src/app/app.component.html @@ -24,8 +24,8 @@ class="cursor-pointer d-inline-block info-message px-3 py-2" (click)="onCreateAccount()" > - You are using the Live Demo. - Create Account + You are using the Live Demo. + Create Account
# | +# | Type | Symbol | Data Source | diff --git a/apps/client/src/app/components/admin-market-data/admin-market-data.html b/apps/client/src/app/components/admin-market-data/admin-market-data.html index 2000e7c47..654a692a6 100644 --- a/apps/client/src/app/components/admin-market-data/admin-market-data.html +++ b/apps/client/src/app/components/admin-market-data/admin-market-data.html @@ -52,7 +52,7 @@ [disabled]="item.activityCount !== 0" (click)="onDeleteProfileData({dataSource: item.dataSource, symbol: item.symbol})" > -
---|