annotate scripts/update-po.sh @ 779:087d3ff0aa08 pyntnclick

Move po scripts into scripts. Bundle msgfmt.py from cpython too
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 26 Jan 2013 18:38:27 +0200
parents update-po.sh@4ea237bbcef8
children abfa4f7e89a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
478
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
1 #!/bin/sh
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
2
479
4ea237bbcef8 Tidy up the i18n changes
Stefano Rivera <stefano@rivera.za.net>
parents: 478
diff changeset
3 # Updates translation catalogs
478
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
4
779
087d3ff0aa08 Move po scripts into scripts. Bundle msgfmt.py from cpython too
Stefano Rivera <stefano@rivera.za.net>
parents: 479
diff changeset
5 set -eu
087d3ff0aa08 Move po scripts into scripts. Bundle msgfmt.py from cpython too
Stefano Rivera <stefano@rivera.za.net>
parents: 479
diff changeset
6
478
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
7 xgettext -f po/POTFILES -o po/suspended-sentence.pot
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
8
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
9 for f in po/*.po; do
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
10 msgmerge -U $f po/suspended-sentence.pot;
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
11 done