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.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..d7868d7
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1,18 @@
+data/xyz.vikanezrimaya.kittybox.Bowl.desktop.in.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 /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