diff --git a/CHANGELOG.md b/CHANGELOG.md index c909a68b4..4c0c70bb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the error message in the activities import for `csv` files - Allowed to edit today’s historical market data in the asset profile details dialog of the admin control panel +### Fixed + +- Trimmed text in `i18n` service to query `messages.*.xlf` files on the server + ## 2.13.0 - 2023-10-20 ### Added diff --git a/apps/api/src/services/i18n/i18n.service.ts b/apps/api/src/services/i18n/i18n.service.ts index 35c7b638d..39dab2d06 100644 --- a/apps/api/src/services/i18n/i18n.service.ts +++ b/apps/api/src/services/i18n/i18n.service.ts @@ -38,7 +38,7 @@ export class I18nService { ); } - return translatedText; + return translatedText.trim(); } private loadFiles() {