This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 82
Missed translation of text from *.glade files using gtk::Builder #413
Comments
@EPashkin: The function isn't in the .gir definition? |
It present, but not in manual |
Want to add it or should I? Or maybe do you want to do it @fludardes? |
@GuillaumeGomez, I currently don't have idea how to test this.
EDIT: make domain optional |
@EPashkin, Thanks a lot! It works! |
@fludardes, can you make PR? |
@EPashkin, I'm rather new to git and GitHub, it will take some time. If you agree, I'll try. |
NP, we can wait |
Done. |
alex179ohm
pushed a commit
to alex179ohm/gtk
that referenced
this issue
Oct 21, 2019
Fix generation of anonymous unions and structs-in-unions
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sorry, I'm not very familiar with the GTK, but it seems that there is no support for text translation using gettext and
gtk::Builder
. I think this method from GTK documentation related to the problem, and it is not implemented yet.At the moment, I need to manually re-set the text for the elements made in the Glade, wrapping it in
gettext
call (from gettext-rs crate) in my Rust code. Perhaps there is another way or this feature will appear in future?The text was updated successfully, but these errors were encountered: