From c6aa06b9333ec8dfe48ea43bcc973ead154a71a6 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 7 Sep 2023 18:28:47 +0200 Subject: [PATCH 01/19] Feature/improve import validation (#2305) * Improve import validation * Update changelog Co-authored-by: httpiga <36515569+httpiga@users.noreply.github.com> --- CHANGELOG.md | 1 + apps/api/src/app/import/import.service.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03535ce7f..083065119 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Improved the validation in the activities import - Refreshed the cryptocurrencies list ## 1.305.0 - 2023-09-03 diff --git a/apps/api/src/app/import/import.service.ts b/apps/api/src/app/import/import.service.ts index 026f3610e..da0e4806c 100644 --- a/apps/api/src/app/import/import.service.ts +++ b/apps/api/src/app/import/import.service.ts @@ -566,7 +566,7 @@ export class ImportService { ]) )?.[symbol]; - if (!assetProfile) { + if (!assetProfile?.name) { throw new Error( `activities.${index}.symbol ("${symbol}") is not valid for the specified data source ("${dataSource}")` ); From 9672de174ef7e128756ea6bcd047c69bdded8473 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Thu, 7 Sep 2023 19:20:30 +0200 Subject: [PATCH 02/19] Feature/improve language localization for german 20230903 (#2294) * Update locales * Update changelog --- CHANGELOG.md | 1 + apps/client/src/app/pages/open/open-page.html | 4 + .../src/app/pages/pricing/pricing-page.html | 2 +- apps/client/src/locales/messages.de.xlf | 192 ++++++++++-------- apps/client/src/locales/messages.es.xlf | 192 ++++++++++-------- apps/client/src/locales/messages.fr.xlf | 192 ++++++++++-------- apps/client/src/locales/messages.it.xlf | 192 ++++++++++-------- apps/client/src/locales/messages.nl.xlf | 192 ++++++++++-------- apps/client/src/locales/messages.pt.xlf | 192 ++++++++++-------- apps/client/src/locales/messages.xlf | 189 +++++++++-------- 10 files changed, 787 insertions(+), 561 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 083065119..6e35b9741 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Improved the validation in the activities import +- Improved the language localization for German (`de`) - Refreshed the cryptocurrencies list ## 1.305.0 - 2023-09-03 diff --git a/apps/client/src/app/pages/open/open-page.html b/apps/client/src/app/pages/open/open-page.html index a28e32ce4..e7ff2719c 100644 --- a/apps/client/src/app/pages/open/open-page.html +++ b/apps/client/src/app/pages/open/open-page.html @@ -32,6 +32,7 @@