[Bug]: A sentence is missing in the translation repository #2394

Closed
opened 2026-02-28 20:12:45 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @harf4ng on GitHub (Aug 15, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

File: \packages\desktop-client\src\components\modals\ConfirmTransactionDeleteModal.tsx
Function: export function ConfirmTransactionDeleteModal({

Sentence :
message = 'Are you sure you want to delete the transaction?',

The message is missing a translation flag so it stays in english and no way we can translate it with weblate.

How can we reproduce the issue?

Just look at source code

Where are you hosting Actual?

None

What browsers are you seeing the problem on?

No response

Operating System

Windows 11

Originally created by @harf4ng on GitHub (Aug 15, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? File: \packages\desktop-client\src\components\modals\ConfirmTransactionDeleteModal.tsx Function: export function ConfirmTransactionDeleteModal({ Sentence : message = 'Are you sure you want to delete the transaction?', The message is missing a translation flag so it stays in english and no way we can translate it with weblate. ### How can we reproduce the issue? Just look at source code ### Where are you hosting Actual? None ### What browsers are you seeing the problem on? _No response_ ### Operating System Windows 11
GiteaMirror added the translationsgood first issuebug labels 2026-02-28 20:12:45 -06:00
Author
Owner

@JonhyOliveira commented on GitHub (Aug 17, 2025):

Hey @harf4ng

Couldn't find the exact path you are referring to in the issue. I just want to add a few links here to make it easier for the next one to parse through this.

I did find CofirmDeleteModal.tsx.

The title seems to be properly translated but the actual message is not translated. I assume this is the "message" you are referring to, right?

cccd66713d/packages/desktop-client/src/components/modals/ConfirmDeleteModal.tsx (L38-L45)

I need some guidance as to what a full fix for this would look like. Since adding t('Confirm Delete Transaction') would probably not be enough

@JonhyOliveira commented on GitHub (Aug 17, 2025): Hey @harf4ng Couldn't find the exact path you are referring to in the issue. I just want to add a few links here to make it easier for the next one to parse through this. I did find [CofirmDeleteModal.tsx](https://github.com/actualbudget/actual/blob/cccd66713d81edb3d958b8e268c346c2cbaff49c/packages/desktop-client/src/components/modals/ConfirmDeleteModal.tsx). The title seems to be properly translated but the actual message is not translated. I assume this is the "message" you are referring to, right? https://github.com/actualbudget/actual/blob/cccd66713d81edb3d958b8e268c346c2cbaff49c/packages/desktop-client/src/components/modals/ConfirmDeleteModal.tsx#L38-L45 I need some guidance as to what a full fix for this would look like. Since adding `t('Confirm Delete Transaction')` would probably not be enough
Author
Owner

@milanalexandre commented on GitHub (Aug 17, 2025):

fixed by https://github.com/actualbudget/actual/pull/5556

@milanalexandre commented on GitHub (Aug 17, 2025): fixed by https://github.com/actualbudget/actual/pull/5556
Author
Owner

@harf4ng commented on GitHub (Aug 17, 2025):

The ConfirmTransactionDeleteModal.tsx file is in the 25.8.0 branch.
Though according to milanalexandre it is fixed?

@harf4ng commented on GitHub (Aug 17, 2025): The ConfirmTransactionDeleteModal.tsx file is in the 25.8.0 branch. Though according to milanalexandre it is fixed?
Author
Owner

@JonhyOliveira commented on GitHub (Aug 17, 2025):

@harf4ng, looking at the changes looks like ConfirmTransactionDeleteModal went away and is getting replaced by a more general ConfirmDeleteModal. The message is also now injected already translated in useTransactionBatchActions. This is what I could tell by looking at the PR patch diff at least.

Seems fixed at first glance

@JonhyOliveira commented on GitHub (Aug 17, 2025): @harf4ng, looking at the changes looks like `ConfirmTransactionDeleteModal` went away and is getting replaced by a more general `ConfirmDeleteModal`. The message is also now injected already translated in `useTransactionBatchActions`. This is what I could tell by looking at the PR patch diff at least. Seems fixed at first glance
Author
Owner

@harf4ng commented on GitHub (Aug 17, 2025):

Ok thanks so this means we will have that in a new version anytime soon.

@harf4ng commented on GitHub (Aug 17, 2025): Ok thanks so this means we will have that in a new version anytime soon.
Author
Owner

@joel-jeremy commented on GitHub (Sep 4, 2025):

This is now in the latest 25.8.0 release

@joel-jeremy commented on GitHub (Sep 4, 2025): This is now in the latest 25.8.0 release
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2394