annotate scripts/update-po.sh @ 795:42cfafa20437 pyntnclick

Add the rest of the commit
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 27 Jan 2013 13:01:09 +0200
parents abfa4f7e89a0
children
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
795
42cfafa20437 Add the rest of the commit
Neil Muller <neil@dip.sun.ac.za>
parents: 788
diff changeset
12
42cfafa20437 Add the rest of the commit
Neil Muller <neil@dip.sun.ac.za>
parents: 788
diff changeset
13 xgettext -f pyntnclick/data/po/POTFILES -o pyntnclick/data/po/pyntnclick-tools.pot
42cfafa20437 Add the rest of the commit
Neil Muller <neil@dip.sun.ac.za>
parents: 788
diff changeset
14
42cfafa20437 Add the rest of the commit
Neil Muller <neil@dip.sun.ac.za>
parents: 788
diff changeset
15 for f in pyntnclick/data/po/*.po; do
42cfafa20437 Add the rest of the commit
Neil Muller <neil@dip.sun.ac.za>
parents: 788
diff changeset
16 msgmerge -U $f pyntnclick/data/po/pyntnclick-tools.pot;
42cfafa20437 Add the rest of the commit
Neil Muller <neil@dip.sun.ac.za>
parents: 788
diff changeset
17 done