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
[Bug]: Button labels in File choosers are untranslated on Linux in e14 #30247
Comments
Could you tell me how to run the repro gist and I can take a look? |
One thing to test in your environment is running the example with GTK_USE_PORTAL=1 and not setting the variable at all and seeing if that makes a difference for you. |
gtk-cancel = https://docs.gtk.org/gtk3/const.STOCK_CANCEL.html |
@tristan957 You can open it in fiddle! |
It seems like a mistake to have shipped with this bug. I have no clue how Electron internationalization works. If someone could inform me how to get a translated string out of the electron infrastructure, I could possibly fix this. Until then, #19159 should be reverted. |
From #gtk with regard to using GTK_STOCK_*...
|
@tristan957 working on a fix for this which should be up within a few days. |
@codebytere would appreciate a ping when you have a PR up just so I can learn for myself what the proper fix is. |
@tristan957 just opened it at #30888 |
Preflight Checklist
Electron Version
14.0.0
What operating system are you using?
Ubuntu
Operating System Version
Ubuntu 18.04
What arch are you using?
x64
Last Known Working Electron version
13.1.7
Expected Behavior
The buttons in a (native) file dialog read "Cancel" and "OK"
Actual Behavior
The buttons in a native file dialog read
gtk-cancel
andgtk-ok
.Testcase Gist URL
https://gist.github.com/Kilian/3de5f404d90d9b12ccaec817fdc4d6da
Additional Information
Main window has a file input, click it to open the File chooser. Test on Ubuntu between 14.x and 13.x to see the difference. Probably caused by #19159
Electron 13.1.7:
Electron 14.0.0-beta.16
The text was updated successfully, but these errors were encountered: