diff options
author | Vika <vika@fireburn.ru> | 2025-03-30 00:45:41 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-03-30 00:48:42 +0300 |
commit | 20f1d890bd87a3d0e72cb150e02433340abb0e9d (patch) | |
tree | e93f39d8c290dc8a84bf793afdd00483ba906138 | |
parent | 16a8099497d545a81743fa1f8ce03e656f741ff2 (diff) | |
download | bowl-20f1d890bd87a3d0e72cb150e02433340abb0e9d.tar.zst |
Up-to-date instructions on generating potfiles
This won't be needed soon, hopefully.
-rw-r--r-- | po/POTFILES.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in index e043d0a..d7d6ece 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -11,4 +11,9 @@ data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in # 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. \ No newline at end of file +### 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. \ No newline at end of file |