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:
Jonathon Jongsma
2025-12-17 09:13:19 -06:00
committed by GitHub
parent 3fafb898d0
commit 91271de144
3 changed files with 8 additions and 6 deletions

View File

@@ -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>

View File

@@ -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')