mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
Rename "Nest egg" to "Life Savings" in crossover report graph (#6425)
I'm not sure how widely-understood the term "nest egg" is, so use a more general term like "life savings". Also, for projected future amounts, the tooltip already contains the word "(projected)" to indicate that this is a future value, so we don't need the word 'target' here, which I find a bit confusing. See https://github.com/actualbudget/actual/pull/6384#issuecomment-3649921717 for more discussion. Signed-off-by: Jonathon Jongsma <jonathon@quotidian.org>
This commit is contained in:
@@ -127,11 +127,7 @@ export function CrossoverGraph({
|
||||
})}
|
||||
>
|
||||
<div>
|
||||
{payload[0].payload.isProjection ? (
|
||||
<Trans>Target Nest Egg:</Trans>
|
||||
) : (
|
||||
<Trans>Nest Egg:</Trans>
|
||||
)}
|
||||
<Trans>Life savings:</Trans>
|
||||
</div>
|
||||
<div>{format(payload[0].payload.nestEgg, 'financial')}</div>
|
||||
</View>
|
||||
|
||||
@@ -858,7 +858,7 @@ function CrossoverInner({ widget }: CrossoverInnerProps) {
|
||||
}}
|
||||
>
|
||||
<span>
|
||||
<Trans>Target Nest Egg</Trans>:{' '}
|
||||
<Trans>Target Life Savings</Trans>:{' '}
|
||||
<PrivacyFilter>
|
||||
{targetNestEgg != null && !isNaN(targetNestEgg)
|
||||
? format(targetNestEgg, 'financial')
|
||||
|
||||
Reference in New Issue
Block a user