From 20f1d890bd87a3d0e72cb150e02433340abb0e9d Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 30 Mar 2025 00:45:41 +0300 Subject: Up-to-date instructions on generating potfiles This won't be needed soon, hopefully. --- po/POTFILES.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'po') 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 -- cgit 1.4.1