Experimental class-based conversion now working for TXT and HTML.
[librarian.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..e206641
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+locale:
+       find src/librarian -name '*.py' |xargs xgettext --from-code utf-8 -o - | sed '/^"POT-Creation-Date:/d' > messages.pot
+       for lang in pl; do msgmerge -U src/librarian/locale/$${lang}/LC_MESSAGES/messages.po messages.pot; done
+       rm messages.pot
+