summary refs log tree commit diff
path: root/po/POTFILES.in
diff options
context:
space:
mode:
Diffstat (limited to 'po/POTFILES.in')
-rw-r--r--po/POTFILES.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d7868d7..d7d6ece 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
 data/xyz.vikanezrimaya.kittybox.Bowl.desktop.in.in
+data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in
 
 ### Below are rust files containing translatable strings.
 ###
@@ -8,11 +9,11 @@ data/xyz.vikanezrimaya.kittybox.Bowl.desktop.in.in
 # 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
 ###
-### $ xtr -o /dev/stdout src/lib.rs | cat >> po/bowl.pot
-###
-### because xtr truncates the file descriptor it writes to.
-###
-### Perhaps it would be better to produce a proper workflow for regenerating this .pot file.
\ No newline at end of file
+### 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