From 7243090c0ed0fc1db8b9a26335a8ae3238d853ba Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 15 Oct 2023 18:08:44 +0200 Subject: [PATCH] Feature/copy client locales to assets of server (#2493) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Copy client locales to server’s assets * Update changelog --- CHANGELOG.md | 16 ++++++++++------ apps/client/project.json | 3 +++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 537821977..c5357fb89 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 the endpoint `GET api/v1/account/:id/balances` which provides historical cash balances +### Changed + +- Extended the `copy-assets` `Nx` target to copy the locales to the server’s assets + ### Fixed - Displayed the transfer cash balance button based on a permission @@ -136,13 +140,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Improved the preselected currency based on the account's currency in the create or edit activity dialog +- Improved the preselected currency based on the account’s currency in the create or edit activity dialog - Unlocked the experimental features setting for all users - Upgraded `prisma` from version `5.2.0` to `5.3.1` ### Fixed -- Fixed a memory leak related to the server's timezone (behind UTC) in the data gathering +- Fixed a memory leak related to the server’s timezone (behind UTC) in the data gathering ## 2.3.0 - 2023-09-17 @@ -293,7 +297,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Optimized the activities import by allowing a different currency than the asset's official one +- Optimized the activities import by allowing a different currency than the asset’s official one - Added a timeout to the _EOD Historical Data_ requests - Migrated the requests from `bent` to `got` in the _EOD Historical Data_ service @@ -800,7 +804,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Persisted today's market data continuously +- Persisted today’s market data continuously ### Fixed @@ -1034,7 +1038,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Filtered activities with type `ITEM` from search results -- Considered the user's language in the _Stripe_ checkout +- Considered the user’s language in the _Stripe_ checkout - Upgraded the _Stripe_ dependencies - Upgraded `twitter-api-v2` from version `1.10.3` to `1.14.2` @@ -2708,7 +2712,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Moved the countries and sectors charts in the position detail dialog -- Distinguished today's data point of historical data in the admin control panel +- Distinguished today’s data point of historical data in the admin control panel - Restructured the server modules ### Fixed diff --git a/apps/client/project.json b/apps/client/project.json index 2e36f7144..0d2e589dc 100644 --- a/apps/client/project.json +++ b/apps/client/project.json @@ -124,6 +124,9 @@ { "command": "shx cp apps/client/src/assets/site.webmanifest dist/apps/client" }, + { + "command": "shx cp -r apps/client/src/locales dist/apps/api/assets" + }, { "command": "shx cp node_modules/ionicons/dist/index.js dist/apps/client" },