Browse Source
Bugfix/trim text in i18n service (#2520)
* Trim text
* Update changelog
pull/2522/head
Thomas Kaul
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/services/i18n/i18n.service.ts
|
|
@ -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 |
|
|
|
|
|
@ -38,7 +38,7 @@ export class I18nService { |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
return translatedText; |
|
|
|
return translatedText.trim(); |
|
|
|
} |
|
|
|
|
|
|
|
private loadFiles() { |
|
|
|