Browse Source

Bugfix/trim text in i18n service (#2520)

* Trim text

* Update changelog
pull/2522/head
Thomas Kaul 1 year ago
committed by GitHub
parent
commit
1666486940
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CHANGELOG.md
  2. 2
      apps/api/src/services/i18n/i18n.service.ts

4
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

2
apps/api/src/services/i18n/i18n.service.ts

@ -38,7 +38,7 @@ export class I18nService {
);
}
return translatedText;
return translatedText.trim();
}
private loadFiles() {

Loading…
Cancel
Save