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

fix file picker text #175

Merged
merged 1 commit into from
Feb 19, 2024
Merged

fix file picker text #175

merged 1 commit into from
Feb 19, 2024

Conversation

czf0613
Copy link
Contributor

@czf0613 czf0613 commented Feb 18, 2024

We are developing an application in zh_CN, but we find the "Open" and "Cancel" word in the file picker provided by rfd.
Just like this photo:

284267999-8cdf20e5-25c7-46d8-bb1d-014b9374bc01

To fix this bug, I change the cstring into the null ptr, which will use the gtk's default i18n support, instead of using the "Select" or "Cancel" text.
You can check the doc of GTK in this site: https://docs.gtk.org/gtk4/ctor.FileChooserNative.new.html

Thanks a million.

use the gtk's default i18n support, instead of using the "Select" or "Cancel" text.
@PolyMeilex PolyMeilex merged commit 0c4d80f into PolyMeilex:master Feb 19, 2024
12 of 13 checks passed
@PolyMeilex
Copy link
Owner

Thanks!

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