Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/improve localization of sustainable retirement income (#5630)

Thomas Kaul51bcc67e9182
diff --git a/apps/client/src/app/pages/portfolio/fire/fire-page.html b/apps/client/src/app/pages/portfolio/fire/fire-page.html
index dd29dbcc86..df81991c31 100644
--- a/apps/client/src/app/pages/portfolio/fire/fire-page.html
+++ b/apps/client/src/app/pages/portfolio/fire/fire-page.html
@@ -61,11 +61,11 @@
/>
</div>
} @else {
- <div
- i18n
- [ngClass]="{ 'text-muted': user?.subscription?.type === 'Basic' }"
- >
- If you retire today, you would be able to withdraw
+ <div [ngClass]="{ 'text-muted': user?.subscription?.type === 'Basic' }">
+ <ng-container i18n
+ >If you retire today, you would be able to withdraw</ng-container
+ >
+ <ng-container>&nbsp;</ng-container>
<span class="font-weight-bold"
><gf-value
class="d-inline-block"
@@ -74,9 +74,12 @@
[unit]="user?.settings?.baseCurrency"
[value]="withdrawalRatePerYear?.toNumber()"
/>
- per year</span
+ <ng-container>&nbsp;</ng-container>
+ <ng-container i18n>per year</ng-container></span
>
- or
+ <ng-container>&nbsp;</ng-container>
+ <ng-container i18n>or</ng-container>
+ <ng-container>&nbsp;</ng-container>
<span class="font-weight-bold"
><gf-value
class="d-inline-block"
@@ -85,8 +88,12 @@
[unit]="user?.settings?.baseCurrency"
[value]="withdrawalRatePerMonth?.toNumber()"
/>
- per month</span
- >, based on your total assets of
+ <ng-container>&nbsp;</ng-container>
+ <ng-container i18n>per month</ng-container></span
+ ><ng-container i18n>,</ng-container>
+ <ng-container>&nbsp;</ng-container>
+ <ng-container i18n>based on your total assets of</ng-container>
+ <ng-container>&nbsp;</ng-container>
<span class="font-weight-bold"
><gf-value
class="d-inline-block"
@@ -96,7 +103,9 @@
[value]="fireWealth?.toNumber()"
/>
</span>
- and a safe withdrawal rate (SWR) of
+ <ng-container>&nbsp;</ng-container>
+ <ng-container i18n>and a safe withdrawal rate (SWR) of</ng-container>
+ <ng-container>&nbsp;</ng-container>
<span class="font-weight-bold"
><gf-value
class="d-inline-block"