Open vhdirk opened 6 months ago
I'm building a GTK application where lots of translation strings exist inside Gnome Builder *.ui files.
This PR adds support for running xgettext over non-rust files.
My i18n.toml file now looks like this:
i18n.toml
fallback_language = "en" [gettext] target_languages = ["nl"] xtr = true xgettext = [ "src/**/*.ui", "data/*.xml.in", "data/*.xml.in.in", "data/*.desktop.in.in", ]
Thanks for the contribution! It needs a cargo fmt and I left one comment, then hopefully soon good to merge!
cargo fmt
I'm building a GTK application where lots of translation strings exist inside Gnome Builder *.ui files.
This PR adds support for running xgettext over non-rust files.
My
i18n.toml
file now looks like this: