]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/bash | |
2 | #---------------------------------------------------------------------- | |
3 | # Run msgfmt on all the .po files, and install them to ../locale | |
4 | #---------------------------------------------------------------------- | |
5 | ||
6 | DEST=../locale | |
7 | NAME=wxpydemo | |
8 | ||
9 | for po in ??.po ??_??.po; do | |
10 | echo compiling message catalog for $po | |
11 | BASE=`basename $po .po` | |
12 | mkdir -p $DEST/$BASE/LC_MESSAGES | |
13 | msgfmt -o $DEST/$BASE/LC_MESSAGES/$NAME.mo $po | |
14 | done | |
15 |