Skip to content

Translatable messages for purge operation #1229

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
Arthoni opened this issue Sep 3, 2024 · 0 comments
Open

Translatable messages for purge operation #1229

Arthoni opened this issue Sep 3, 2024 · 0 comments

Comments

@Arthoni
Copy link
Member

Arthoni commented Sep 3, 2024

Transmit to the purge message lambda a dict as templated struct to be able to use tr() on Qt side.
Example:

template <typename S>
struct PurgeMessages
{
  S ErrorNotExisting;
  S ErrorNotDeleted;
  S SuccessDeleted;
}
@Arthoni Arthoni added this to the release-2.2.+ milestone Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant