From 5af53eb97e5a2a5c2247da172dd30f85d4298c8a Mon Sep 17 00:00:00 2001 From: Felix Jordan Date: Sat, 14 Jun 2025 01:45:28 -0600 Subject: [PATCH 1/3] Feature/improve language localization for CA 20250614 (#4913) * Improve language localization for CA --- apps/client/src/locales/messages.ca.xlf | 30 ++++++++++++------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/apps/client/src/locales/messages.ca.xlf b/apps/client/src/locales/messages.ca.xlf index 1b0d9fde4..2e80b5f9e 100644 --- a/apps/client/src/locales/messages.ca.xlf +++ b/apps/client/src/locales/messages.ca.xlf @@ -4677,7 +4677,7 @@ Absolute Asset Performance - Absolute Asset Performance + Rendiment absolut dels actius apps/client/src/app/pages/portfolio/analysis/analysis-page.html 102 @@ -4685,7 +4685,7 @@ Asset Performance - Asset Performance + Rendiment de l’actiu apps/client/src/app/pages/portfolio/analysis/analysis-page.html 123 @@ -4693,7 +4693,7 @@ Absolute Currency Performance - Absolute Currency Performance + Rendiment absolut de la moneda apps/client/src/app/pages/portfolio/analysis/analysis-page.html 145 @@ -4701,7 +4701,7 @@ Currency Performance - Currency Performance + Rendiment de la moneda apps/client/src/app/pages/portfolio/analysis/analysis-page.html 169 @@ -4709,7 +4709,7 @@ Absolute Net Performance - Absolute Net Performance + Rendiment net absolut apps/client/src/app/pages/portfolio/analysis/analysis-page.html 192 @@ -4717,7 +4717,7 @@ Net Performance - Net Performance + Rendiment net apps/client/src/app/pages/portfolio/analysis/analysis-page.html 211 @@ -4725,7 +4725,7 @@ Top - Top + A dalt apps/client/src/app/pages/portfolio/analysis/analysis-page.html 239 @@ -4733,7 +4733,7 @@ Bottom - Bottom + A baix apps/client/src/app/pages/portfolio/analysis/analysis-page.html 288 @@ -4741,7 +4741,7 @@ Portfolio Evolution - Portfolio Evolution + Evolució de la cartera apps/client/src/app/pages/portfolio/analysis/analysis-page.html 341 @@ -4749,7 +4749,7 @@ Investment Timeline - Investment Timeline + Cronologia de la inversió apps/client/src/app/pages/portfolio/analysis/analysis-page.html 368 @@ -4757,7 +4757,7 @@ Current Streak - Current Streak + Ratxa actual apps/client/src/app/pages/portfolio/analysis/analysis-page.html 389 @@ -4765,7 +4765,7 @@ Longest Streak - Longest Streak + Ratxa més llarga apps/client/src/app/pages/portfolio/analysis/analysis-page.html 398 @@ -4773,7 +4773,7 @@ Dividend Timeline - Dividend Timeline + Cronologia de dividends apps/client/src/app/pages/portfolio/analysis/analysis-page.html 425 @@ -4781,7 +4781,7 @@ FIRE - FIRE + FOC apps/client/src/app/pages/portfolio/fire/fire-page.html 4 @@ -4789,7 +4789,7 @@ Calculator - Calculator + Calculadora apps/client/src/app/pages/portfolio/fire/fire-page.html 7 From be3be2060487e450990b67629b109a967f8789f1 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 14 Jun 2025 10:07:06 +0200 Subject: [PATCH 2/3] Feature/set market state of exchange rate symbols to open in FMP service (#4915) * Set market state of exchange rate symbols to open * Update changelog --- CHANGELOG.md | 1 + .../financial-modeling-prep.service.ts | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11b228799..218d1cd34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the style of the assistant - Reused the value component in the data providers management of the admin control panel +- Set the market state of exchange rate symbols to `open` in the _Financial Modeling Prep_ service - Migrated the `@ghostfolio/ui/assistant` component to control flow - Migrated the `@ghostfolio/ui/value` component to control flow - Migrated the `HtmlTemplateMiddleware` to use `@Injectable()` diff --git a/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts b/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts index d0e674c4d..a9f171f13 100644 --- a/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts +++ b/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts @@ -22,6 +22,7 @@ import { LookupItem, LookupResponse } from '@ghostfolio/common/interfaces'; +import { MarketState } from '@ghostfolio/common/types'; import { Injectable, Logger } from '@nestjs/common'; import { @@ -378,12 +379,22 @@ export class FinancialModelingPrepService implements DataProviderInterface { ); for (const { price, symbol } of quotes) { + let marketState: MarketState = 'delayed'; + + if ( + isCurrency( + symbol.substring(0, symbol.length - DEFAULT_CURRENCY.length) + ) + ) { + marketState = 'open'; + } + response[symbol] = { + marketState, currency: currencyBySymbolMap[symbol]?.currency, dataProviderInfo: this.getDataProviderInfo(), dataSource: DataSource.FINANCIAL_MODELING_PREP, - marketPrice: price, - marketState: 'delayed' + marketPrice: price }; } } catch (error) { From b0cf5f7f80a61a00aabfd3c49206a5d079c29da1 Mon Sep 17 00:00:00 2001 From: Hash Palak Date: Sat, 14 Jun 2025 02:07:52 -0600 Subject: [PATCH 3/3] Feature/improve language localization for TR 20250614 (#4914) * Improve language localization for TR * Update changelog --- CHANGELOG.md | 1 + apps/client/src/locales/messages.tr.xlf | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 218d1cd34..2a594c781 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the language localization for German (`de`) - Improved the language localization for Italian (`it`) - Improved the language localization for Polish (`pl`) +- Improved the language localization for Turkish (`tr`) - Upgraded the _Stripe_ dependencies ## 2.170.0 - 2025-06-11 diff --git a/apps/client/src/locales/messages.tr.xlf b/apps/client/src/locales/messages.tr.xlf index 9df6d2060..d4f5808d9 100644 --- a/apps/client/src/locales/messages.tr.xlf +++ b/apps/client/src/locales/messages.tr.xlf @@ -7586,7 +7586,7 @@ Emergency Fund: Set up - Emergency Fund: Set up + Acil Durum Fonu: Kurulum apps/client/src/app/pages/i18n/i18n-page.html 14 @@ -7594,7 +7594,7 @@ No emergency fund has been set up - No emergency fund has been set up + Acil durum fonu oluşturulmadı apps/client/src/app/pages/i18n/i18n-page.html 15 @@ -7602,7 +7602,7 @@ An emergency fund has been set up - An emergency fund has been set up + Acil durum fonu kuruldu apps/client/src/app/pages/i18n/i18n-page.html 18 @@ -7610,7 +7610,7 @@ Fee Ratio - Fee Ratio + Ücret Oranı apps/client/src/app/pages/i18n/i18n-page.html 21 @@ -7618,7 +7618,7 @@ The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) - The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) + Ücretler, ilk yatırımınızın %${thresholdMax} kadarını aşıyor (${feeRatio}%) apps/client/src/app/pages/i18n/i18n-page.html 22 @@ -7626,7 +7626,7 @@ The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) - The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) + Ücretler, ilk yatırımınızın %${thresholdMax}'ını (${feeRatio}%) aşmaz apps/client/src/app/pages/i18n/i18n-page.html 26 @@ -7634,7 +7634,7 @@ Name - Name + İsim libs/ui/src/lib/benchmark/benchmark.component.html 11 @@ -7642,7 +7642,7 @@ Find holding or page... - Find holding or page... + Holding veya sayfayı bulun... libs/ui/src/lib/assistant/assistant.component.ts 152 @@ -7650,7 +7650,7 @@ Quick Links - Quick Links + Hızlı Bağlantılar libs/ui/src/lib/assistant/assistant.html 45 @@ -7658,7 +7658,7 @@ Asset Profiles - Asset Profiles + Varlık Profilleri libs/ui/src/lib/assistant/assistant.html 96