From 6ad9661d7faa542bbe6db0ac6cc018a96bf119b8 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Sat, 14 Dec 2024 11:19:15 +0100
Subject: [PATCH] Feature/improve language localization for de 20241214 (#4123)
* Update translations
* Update changelog
---
CHANGELOG.md | 4 ++
.../src/app/portfolio/portfolio.controller.ts | 5 ++
apps/client/project.json | 2 +-
.../portfolio/x-ray/x-ray-page.component.html | 4 +-
apps/client/src/locales/messages.ca.xlf | 52 ++++++++++++-------
apps/client/src/locales/messages.de.xlf | 52 ++++++++++++-------
apps/client/src/locales/messages.es.xlf | 52 ++++++++++++-------
apps/client/src/locales/messages.fr.xlf | 52 ++++++++++++-------
apps/client/src/locales/messages.it.xlf | 52 ++++++++++++-------
apps/client/src/locales/messages.nl.xlf | 52 ++++++++++++-------
apps/client/src/locales/messages.pl.xlf | 52 ++++++++++++-------
apps/client/src/locales/messages.pt.xlf | 52 ++++++++++++-------
apps/client/src/locales/messages.tr.xlf | 52 ++++++++++++-------
apps/client/src/locales/messages.xlf | 50 +++++++++++-------
apps/client/src/locales/messages.zh.xlf | 52 ++++++++++++-------
15 files changed, 384 insertions(+), 201 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9aebc76a4..349e62646 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added `userId` to the `SymbolProfile` database schema
+### Changed
+
+- Improved the language localization for German (`de`)
+
## 2.128.0 - 2024-12-12
### Changed
diff --git a/apps/api/src/app/portfolio/portfolio.controller.ts b/apps/api/src/app/portfolio/portfolio.controller.ts
index b15d22268..0e4022969 100644
--- a/apps/api/src/app/portfolio/portfolio.controller.ts
+++ b/apps/api/src/app/portfolio/portfolio.controller.ts
@@ -623,6 +623,11 @@ export class PortfolioController {
report.rules[rule] = [];
}
}
+
+ report.statistics = {
+ rulesActiveCount: 0,
+ rulesFulfilledCount: 0
+ };
}
return report;
diff --git a/apps/client/project.json b/apps/client/project.json
index dd644f8c1..7fd28d5ca 100644
--- a/apps/client/project.json
+++ b/apps/client/project.json
@@ -212,7 +212,7 @@
"extract-i18n": {
"executor": "ng-extract-i18n-merge:ng-extract-i18n-merge",
"options": {
- "browserTarget": "client:build",
+ "buildTarget": "client:build",
"includeContext": true,
"outputPath": "src/locales",
"targetFiles": [
diff --git a/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html b/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html
index 7a0a3512c..37d9c89c4 100644
--- a/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html
+++ b/apps/client/src/app/pages/portfolio/x-ray/x-ray-page.component.html
@@ -19,9 +19,9 @@
/>
} @else {
{{ statistics?.rulesFulfilledCount }}
-