mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 10:14:53 -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>
|
<div>
|
||||||
{payload[0].payload.isProjection ? (
|
<Trans>Life savings:</Trans>
|
||||||
<Trans>Target Nest Egg:</Trans>
|
|
||||||
) : (
|
|
||||||
<Trans>Nest Egg:</Trans>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
<div>{format(payload[0].payload.nestEgg, 'financial')}</div>
|
<div>{format(payload[0].payload.nestEgg, 'financial')}</div>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@@ -858,7 +858,7 @@ function CrossoverInner({ widget }: CrossoverInnerProps) {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
<Trans>Target Nest Egg</Trans>:{' '}
|
<Trans>Target Life Savings</Trans>:{' '}
|
||||||
<PrivacyFilter>
|
<PrivacyFilter>
|
||||||
{targetNestEgg != null && !isNaN(targetNestEgg)
|
{targetNestEgg != null && !isNaN(targetNestEgg)
|
||||||
? format(targetNestEgg, 'financial')
|
? format(targetNestEgg, 'financial')
|
||||||
|
|||||||
6
upcoming-release-notes/6425.md
Normal file
6
upcoming-release-notes/6425.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
category: Bugfix
|
||||||
|
authors: [jonner]
|
||||||
|
---
|
||||||
|
|
||||||
|
Rename "Nest egg" to "Life Savings" in crossover report graph
|
||||||
Reference in New Issue
Block a user