aboutsummaryrefslogtreecommitdiffstats
path: root/libretube-theme
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-11-08 17:20:01 -0500
committerJesús <heckyel@hyperbola.info>2019-11-08 17:20:01 -0500
commit57a0c39f166b42b9b1a66166a0823046906599b5 (patch)
tree40edb11637f78c3f369e2b809fcad38689f957f3 /libretube-theme
parent5888041e7e16f4af27453d2d3e4d7ece0ffbd708 (diff)
downloadlibretube-57a0c39f166b42b9b1a66166a0823046906599b5.tar.lz
libretube-57a0c39f166b42b9b1a66166a0823046906599b5.tar.xz
libretube-57a0c39f166b42b9b1a66166a0823046906599b5.zip
fix missing Makefile
Diffstat (limited to 'libretube-theme')
-rw-r--r--libretube-theme/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/libretube-theme/Makefile b/libretube-theme/Makefile
new file mode 100644
index 0000000..2b3fc38
--- /dev/null
+++ b/libretube-theme/Makefile
@@ -0,0 +1,10 @@
+.PHONY: compile extract update
+
+extract:
+ pybabel extract --mapping babel.cfg --output messages.pot ./
+
+compile:
+ pybabel compile --directory translations/ --domain messages
+
+update: extract
+ pybabel update --input-file messages.pot --output-dir translations/ --domain messages