Skip to content
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

All files wildcard filter description cannot be localized #93

Open
jragan-work opened this issue Apr 11, 2023 · 1 comment
Open

All files wildcard filter description cannot be localized #93

jragan-work opened this issue Apr 11, 2023 · 1 comment
Milestone

Comments

@jragan-work
Copy link

I cannot find a way to change the default All files wildcard filter description to match my locale.

It looks like it was hard coded in all platform specific code. I can add my own wildcard filter and it functions properly, but it does not override the default:
sample

@btzy
Copy link
Owner

btzy commented Apr 11, 2023

Unfortunately, it is not possible to change that, since it is hardcoded. This behaviour was inherited from https://github.com/mlabbe/nativefiledialog, and on hindsight was a bad decision. There is also a similar issue in the titles of Linux dialogs (both GTK and Portals); they are hardcoded too.

This should be fixable by #92, where we could make an NFD_OpenFileDialog_SetFilterList that doesn't automatically add the "All files" option (so the user can add it manually).

@btzy btzy added this to the New API milestone Apr 20, 2023
@btzy btzy mentioned this issue Feb 4, 2024
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

No branches or pull requests

2 participants