From 481a51e57f25858760b384ae1fb7feedc8e89358 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 4 Jun 2025 19:33:33 +0200 Subject: [PATCH] Refactoring --- .../api/src/models/rules/fees/fee-ratio-initial-investment.ts | 4 ++-- apps/client/src/app/pages/i18n/i18n-page.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/api/src/models/rules/fees/fee-ratio-initial-investment.ts b/apps/api/src/models/rules/fees/fee-ratio-initial-investment.ts index 5968be198..608b6956f 100644 --- a/apps/api/src/models/rules/fees/fee-ratio-initial-investment.ts +++ b/apps/api/src/models/rules/fees/fee-ratio-initial-investment.ts @@ -33,7 +33,7 @@ export class FeeRatioInitialInvestment extends Rule { if (feeRatio > ruleSettings.thresholdMax) { return { evaluation: this.i18nService.getTranslation({ - id: 'rule.feeRatioInitialInvestment.exceed', + id: 'rule.feeRatioInitialInvestment.false', languageCode: this.getLanguageCode(), placeholders: { feeRatio: (ruleSettings.thresholdMax * 100).toFixed(2), @@ -46,7 +46,7 @@ export class FeeRatioInitialInvestment extends Rule { return { evaluation: this.i18nService.getTranslation({ - id: 'rule.feeRatioInitialInvestment.notExceed', + id: 'rule.feeRatioInitialInvestment.true', languageCode: this.getLanguageCode(), placeholders: { feeRatio: (feeRatio * 100).toPrecision(3), diff --git a/apps/client/src/app/pages/i18n/i18n-page.html b/apps/client/src/app/pages/i18n/i18n-page.html index 72d07b620..fb6da2694 100644 --- a/apps/client/src/app/pages/i18n/i18n-page.html +++ b/apps/client/src/app/pages/i18n/i18n-page.html @@ -11,11 +11,11 @@ performance, portfolio, software, stock, trading, wealth, web3
  • My Account
  • -
  • +
  • The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%)
  • -
  • +
  • The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%)