annotate scripts/update-po.sh @ 789:1466365bd395 pyntnclick

Add a test for loading a resource with a dialect.
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 26 Jan 2013 20:11:17 +0200
parents abfa4f7e89a0
children 42cfafa20437
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
788
abfa4f7e89a0 Update scripts to handle moved po directory
Neil Muller <neil@dip.sun.ac.za>
parents: 779
diff changeset
7 xgettext -f data/po/POTFILES -o data/po/suspended-sentence.pot
478
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
8
788
abfa4f7e89a0 Update scripts to handle moved po directory
Neil Muller <neil@dip.sun.ac.za>
parents: 779
diff changeset
9 for f in data/po/*.po; do
abfa4f7e89a0 Update scripts to handle moved po directory
Neil Muller <neil@dip.sun.ac.za>
parents: 779
diff changeset
10 msgmerge -U $f data/po/suspended-sentence.pot;
478
a9925aaf5f61 i18n and Russian translation
Stefano Rivera <stefano@rivera.za.net>
parents:
diff changeset
11 done