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:
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
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:
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.