[Bug]: Template strings in GoalTemplateModal uses currency ($) #2548

Closed
opened 2026-02-28 20:18:17 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @stefanedwards on GitHub (Oct 17, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

The file packages/desktop-client/src/components/modals/GoalTemplateModal.tsx is a help-module describing the templating format, accessible via the help-menu when on the budget-page.

It has examples such as #template up to $150 with the description "Up to $150 each month, and remove extra funds over $150".

Actual seems to ignore the currency symbol ($) and translating it becomes a bit odd, as e.g., the Danish translation should refer to the $150 dollars. Hint: We have a different currency in Denmark.

Furthermore, I fear that the examples in the template-string might lead users in other countries to falsely believe that the template functions only works with budgets using dollars.

Lastly, the documentation (https://actualbudget.org/docs/experimental/goal-templates) does not use currency in the template-strings at all.

The solution is easy: Remove $ symbols in the template strings in GoalTemplateModal.tsx.

How can we reproduce the issue?

Open the GoalTemplate modal, via the help-menu from the budget-page.

Where are you hosting Actual?

None

What browsers are you seeing the problem on?

No response

Operating System

None

Originally created by @stefanedwards on GitHub (Oct 17, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? The file `packages/desktop-client/src/components/modals/GoalTemplateModal.tsx` is a help-module describing the templating format, accessible via the help-menu when on the budget-page. It has examples such as `#template up to $150` with the description "Up to $150 each month, and remove extra funds over $150". Actual seems to ignore the currency symbol (`$`) and translating it becomes a bit odd, as e.g., the Danish translation should refer to the $150 dollars. Hint: We have a different currency in Denmark. Furthermore, I fear that the examples in the template-string might lead users in other countries to falsely believe that the template functions only works with budgets using dollars. Lastly, the documentation (https://actualbudget.org/docs/experimental/goal-templates) does not use currency in the template-strings at all. The solution is easy: Remove `$` symbols in the template strings in `GoalTemplateModal.tsx`. ### How can we reproduce the issue? Open the GoalTemplate modal, via the help-menu from the budget-page. ### Where are you hosting Actual? None ### What browsers are you seeing the problem on? _No response_ ### Operating System None
GiteaMirror added the good first issueuser interfacebug labels 2026-02-28 20:18:18 -06:00
Author
Owner

@matt-fidd commented on GitHub (Oct 17, 2025):

I suppose this isn't a bug per-se, but I'll leave it here for more visibility. It's an easy change so someone might pick it up pretty quickly.

@matt-fidd commented on GitHub (Oct 17, 2025): I suppose this isn't a bug per-se, but I'll leave it here for more visibility. It's an easy change so someone might pick it up pretty quickly.
Author
Owner

@stefanedwards commented on GitHub (Oct 17, 2025):

Thanks. Just following the contribution guidelines. There's a PR ready for its fix.

@stefanedwards commented on GitHub (Oct 17, 2025): Thanks. Just following the contribution guidelines. There's a PR ready for its fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2548