Merge remote branch 'pootle/master'
[wammu.git] / admin / po4a
blob5f1ef4fe0e95ab52f6f14b17842fee46d59ff952
1 #!/bin/sh
2 # vim: expandtab sw=4 ts=4 sts=4:
4 LOCS=`ls locale/*/wammu.po | sed 's@.*/\(.*\)/[^/]*@\1@'`
5 ver=`python -c 'import Wammu; print Wammu.__version__'`
7 po4a \
8 --msgid-bugs-address michal@cihar.com \
9 --copyright-holder "Michal Čihař <michal@cihar.com>" \
10 --package-name Wammu-docs \
11 --package-version $ver \
12 admin/po4a.config
13 sed -i '
14 s/SOME DESCRIPTIVE TITLE/Wammu documentation translation/;
15 s/PACKAGE/Wammu-docs/;
16 s/(C) YEAR/(C) 2003 - '`date +%Y`'/;
17 s/VERSION/'$ver'/;
18 ' locale/docs.pot