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. 27
      apps/client/src/app/pages/portfolio/fire/fire-page.html

27
apps/client/src/app/pages/portfolio/fire/fire-page.html

@ -61,11 +61,11 @@
/> />
</div> </div>
} @else { } @else {
<div <div [ngClass]="{ 'text-muted': user?.subscription?.type === 'Basic' }">
i18n <ng-container i18n
[ngClass]="{ 'text-muted': user?.subscription?.type === 'Basic' }" >If you retire today, you would be able to withdraw</ng-container
> >
If you retire today, you would be able to withdraw <ng-container>&nbsp;</ng-container>
<span class="font-weight-bold" <span class="font-weight-bold"
><gf-value ><gf-value
class="d-inline-block" class="d-inline-block"
@ -74,9 +74,12 @@
[unit]="user?.settings?.baseCurrency" [unit]="user?.settings?.baseCurrency"
[value]="withdrawalRatePerYear?.toNumber()" [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" <span class="font-weight-bold"
><gf-value ><gf-value
class="d-inline-block" class="d-inline-block"
@ -85,8 +88,12 @@
[unit]="user?.settings?.baseCurrency" [unit]="user?.settings?.baseCurrency"
[value]="withdrawalRatePerMonth?.toNumber()" [value]="withdrawalRatePerMonth?.toNumber()"
/> />
per month</span <ng-container>&nbsp;</ng-container>
>, based on your total assets of <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" <span class="font-weight-bold"
><gf-value ><gf-value
class="d-inline-block" class="d-inline-block"
@ -96,7 +103,9 @@
[value]="fireWealth?.toNumber()" [value]="fireWealth?.toNumber()"
/> />
</span> </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" <span class="font-weight-bold"
><gf-value ><gf-value
class="d-inline-block" class="d-inline-block"

Loading…
Cancel
Save