Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/change interpolation syntax in i18n service (#4849)
Thomas Kaulb3ec3530746f
diff --git a/apps/api/src/services/i18n/i18n.service.ts b/apps/api/src/services/i18n/i18n.service.tsindex e928775d11..533abf2e23 100644--- a/apps/api/src/services/i18n/i18n.service.ts+++ b/apps/api/src/services/i18n/i18n.service.ts@@ -42,7 +42,7 @@ export class I18nService {if (placeholders) {for (const [key, value] of Object.entries(placeholders)) {- translatedText = translatedText.replace(`{${key}}`, String(value));+ translatedText = translatedText.replace(`\${${key}}`, String(value));}}diff --git a/apps/client/src/app/pages/i18n/i18n-page.html b/apps/client/src/app/pages/i18n/i18n-page.htmlindex f54a45b3f9..565d5b68f1 100644--- a/apps/client/src/app/pages/i18n/i18n-page.html+++ b/apps/client/src/app/pages/i18n/i18n-page.html@@ -20,12 +20,12 @@</li><li i18n="@@rule.feeRatioInitialInvestment">Fee Ratio</li><li i18n="@@rule.feeRatioInitialInvestment.false">- The fees do exceed {thresholdMax}% of your initial investment- ({feeRatio}%)+ The fees do exceed ${thresholdMax}% of your initial investment+ (${feeRatio}%)</li><li i18n="@@rule.feeRatioInitialInvestment.true">- The fees do not exceed {thresholdMax}% of your initial- investment ({feeRatio}%)+ The fees do not exceed ${thresholdMax}% of your initial+ investment (${feeRatio}%)</li><li i18n="@@slogan">Open Source Wealth Management Software</li></ul>diff --git a/apps/client/src/locales/messages.ca.xlf b/apps/client/src/locales/messages.ca.xlfindex b90757a683..bfab9a8a2b 100644--- a/apps/client/src/locales/messages.ca.xlf+++ b/apps/client/src/locales/messages.ca.xlf@@ -7649,16 +7649,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.de.xlf b/apps/client/src/locales/messages.de.xlfindex ba6802bfe1..bd05b886cd 100644--- a/apps/client/src/locales/messages.de.xlf+++ b/apps/client/src/locales/messages.de.xlf@@ -7649,16 +7649,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="translated"> Die Gebühren übersteigen {thresholdMax}% deiner ursprünglichen Investition ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="translated"> Die Gebühren übersteigen ${thresholdMax}% deiner ursprünglichen Investition (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="translated"> Die Gebühren übersteigen {thresholdMax}% deiner ursprünglichen Investition ({feeRatio}%) nicht </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="translated"> Die Gebühren übersteigen ${thresholdMax}% deiner ursprünglichen Investition (${feeRatio}%) nicht </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.es.xlf b/apps/client/src/locales/messages.es.xlfindex 08fd822595..76f53b0299 100644--- a/apps/client/src/locales/messages.es.xlf+++ b/apps/client/src/locales/messages.es.xlf@@ -7650,16 +7650,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.fr.xlf b/apps/client/src/locales/messages.fr.xlfindex e8eef67fde..fac798e8c7 100644--- a/apps/client/src/locales/messages.fr.xlf+++ b/apps/client/src/locales/messages.fr.xlf@@ -7649,16 +7649,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.it.xlf b/apps/client/src/locales/messages.it.xlfindex f542d5dca8..5ef471fdfb 100644--- a/apps/client/src/locales/messages.it.xlf+++ b/apps/client/src/locales/messages.it.xlf@@ -7650,16 +7650,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.nl.xlf b/apps/client/src/locales/messages.nl.xlfindex fd1bfa6acb..3439f03c0d 100644--- a/apps/client/src/locales/messages.nl.xlf+++ b/apps/client/src/locales/messages.nl.xlf@@ -7649,16 +7649,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.pl.xlf b/apps/client/src/locales/messages.pl.xlfindex c9030efbad..38f2a57252 100644--- a/apps/client/src/locales/messages.pl.xlf+++ b/apps/client/src/locales/messages.pl.xlf@@ -7649,16 +7649,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.pt.xlf b/apps/client/src/locales/messages.pt.xlfindex 4284198ae6..2635a020a5 100644--- a/apps/client/src/locales/messages.pt.xlf+++ b/apps/client/src/locales/messages.pt.xlf@@ -7649,16 +7649,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.tr.xlf b/apps/client/src/locales/messages.tr.xlfindex 9d96ee0cfb..6eab8df6c5 100644--- a/apps/client/src/locales/messages.tr.xlf+++ b/apps/client/src/locales/messages.tr.xlf@@ -7649,16 +7649,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.uk.xlf b/apps/client/src/locales/messages.uk.xlfindex 3c4bc4a8b9..24ef55c37b 100644--- a/apps/client/src/locales/messages.uk.xlf+++ b/apps/client/src/locales/messages.uk.xlf@@ -7649,16 +7649,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.xlf b/apps/client/src/locales/messages.xlfindex 2980807da6..9a3af47b81 100644--- a/apps/client/src/locales/messages.xlf+++ b/apps/client/src/locales/messages.xlf@@ -6884,14 +6884,14 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>diff --git a/apps/client/src/locales/messages.zh.xlf b/apps/client/src/locales/messages.zh.xlfindex 21301ba162..4f9202df83 100644--- a/apps/client/src/locales/messages.zh.xlf+++ b/apps/client/src/locales/messages.zh.xlf@@ -7650,16 +7650,16 @@</context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.false" datatype="html">- <source> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">22</context></context-group></trans-unit><trans-unit id="rule.feeRatioInitialInvestment.true" datatype="html">- <source> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </source>- <target state="new"> The fees do not exceed {thresholdMax}% of your initial investment ({feeRatio}%) </target>+ <source> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </source>+ <target state="new"> The fees do not exceed ${thresholdMax}% of your initial investment (${feeRatio}%) </target><context-group purpose="location"><context context-type="sourcefile">apps/client/src/app/pages/i18n/i18n-page.html</context><context context-type="linenumber">26</context>