summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0484b1c5..ecd88d0a 100644
--- a/Makefile
+++ b/Makefile
@@ -42,5 +42,12 @@ uninstall:
rm -f $$gettextfile; \
done
+mo:
+ for localename in `find locale/ -maxdepth 1 -type d | grep -v '.svn' | sed 's:locale/::g'` ; do \
+ if [ -d locale/$$localename ]; then \
+ msgfmt locale/$$localename/LC_MESSAGES/poezio.po -o locale/$$localename/LC_MESSAGES/poezio.mo -v; \
+ fi \
+ done
+
pot:
xgettext src/*.py --from-code=utf-8 --keyword=_ -o locale/poezio.pot