data/xyz.vikanezrimaya.kittybox.Bowl.desktop.in.in data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in ### Below are rust files containing translatable strings. ### ### It's better to use `xtr` instead of `xgettext` for those. ### (Rust gettext!() macro is equivalent to format!() but isn't recognized as a keyword) # src/lib.rs # src/components/post_editor.rs # src/components/signin.rs # src/components/smart_summary.rs ### To properly use `xtr`, do: ### $ xtr -o rust.pot src/lib.rs ### And then use `msgcat` to merge it into the existing `bowl.pot` file: ### $ msgcat --use-first ./po/bowl.pot ./rust.pot | sponge ./po/bowl.pot ### ### This won't be needed when we use `formatx!` macro instead of `gettext!` and ### when gettext 0.24 hits nixpkgs with Rust support. Then we could just ### uncomment these lines above and use `xgettext` with `rust-format` support.