Browse Source

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

* Improve localization
pull/5631/head
Thomas Kaul 3 weeks ago
committed by GitHub
parent
commit
51bcc67e91
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 29
      apps/client/src/app/pages/portfolio/fire/fire-page.html

29
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"

Loading…
Cancel
Save