Skip to content

Added the option to show a delete confirmation modal #200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abeaugustijn
Copy link

Hi there,

Thanks a lot for continuing this great project, it's nice to have the ability to self-host well built services.
Somehow some of my users have problems with accidentally deleting uploads, so I added the ability to show a confirmation modal, which looks like this:

2024-11-11-215945_1920x1080_scrot

It is disabled by default but can be enabled by setting SHOW_DELETE_CONFIRM to true.

I added translations for English, Dutch and German. How should we handle getting the rest?

Let me know if there are any changes I still need to make.

Thanks in advance,
Abe

Comment on lines +138 to +139
cancelButton = Stornieren
deleteConfirmation = Sind Sie sicher, dass Sie diesen Datei löschen möchten?
Copy link

@JoKrus JoKrus May 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cancelButton = Stornieren
deleteConfirmation = Sind Sie sicher, dass Sie diesen Datei löschen möchten?
cancelButton = Abbrechen
deleteConfirmation = Bist du dir sicher, dass du diese Datei löschen möchtest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants