Remove dollar symbols from template-string examples in GoalTemplateModal.tsx (#5946)

* Update GoalTemplateModal.tsx

Removed dollar symbol from template string examples.

* Update packages/desktop-client/src/components/modals/GoalTemplateModal.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix note

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: youngcw <calebyoung94@gmail.com>
This commit is contained in:
Stefan McKinnon Edwards
2025-11-17 19:38:36 +01:00
committed by GitHub
parent 2819ebb52d
commit bc8fbe26cc
2 changed files with 14 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ export function GoalTemplateModal() {
</TableHeader>
<Row style={{ backgroundColor: theme.tableBackground }}>
<Field width="flex">
#template $10 repeat every week starting 2025-01-03
#template 10 repeat every week starting 2025-01-03
</Field>
<Field width="flex">
<Trans>$10 a week</Trans>
@@ -42,7 +42,7 @@ export function GoalTemplateModal() {
</Row>
<Row style={{ backgroundColor: theme.tableBackground }}>
<Field width="flex">
#template $10 repeat every week starting 2025-01-03 up to $80
#template 10 repeat every week starting 2025-01-03 up to 80
</Field>
<Field width="flex">
<Trans>$10 a week, up to a maximum of $80</Trans>
@@ -60,13 +60,13 @@ export function GoalTemplateModal() {
</Field>
</TableHeader>
<Row style={{ backgroundColor: theme.tableBackground }}>
<Field width="flex">#template $50</Field>
<Field width="flex">#template 50</Field>
<Field width="flex">
<Trans>$50 each month</Trans>
</Field>
</Row>
<Row style={{ backgroundColor: theme.tableBackground }}>
<Field width="flex">#template up to $150</Field>
<Field width="flex">#template up to 150</Field>
<Field width="flex">
<Trans>
Up to $150 each month, and remove extra funds over $150
@@ -74,7 +74,7 @@ export function GoalTemplateModal() {
</Field>
</Row>
<Row style={{ backgroundColor: theme.tableBackground }}>
<Field width="flex">#template up to $150 hold</Field>
<Field width="flex">#template up to 150 hold</Field>
<Field width="flex">
<Trans>
Up to $150 each month, but retain any funds over $150
@@ -94,7 +94,7 @@ export function GoalTemplateModal() {
</TableHeader>
<Row style={{ backgroundColor: theme.tableBackground }}>
<Field width="flex">
#template $500 by 2025-03 repeat every 6 months
#template 500 by 2025-03 repeat every 6 months
</Field>
<Field width="flex">
<Trans>
@@ -104,7 +104,7 @@ export function GoalTemplateModal() {
</Row>
<Row style={{ backgroundColor: theme.tableBackground }}>
<Field width="flex">
#template $500 by 2025-03 repeat every year
#template 500 by 2025-03 repeat every year
</Field>
<Field width="flex">
<Trans>
@@ -114,7 +114,7 @@ export function GoalTemplateModal() {
</Row>
<Row style={{ backgroundColor: theme.tableBackground }}>
<Field width="flex">
#template $500 by 2025-03 repeat every 2 years
#template 500 by 2025-03 repeat every 2 years
</Field>
<Field width="flex">
<Trans>

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [stefanedwards]
---
Removes dollar symbol from template string examples.