r3533: Build object files in ~/build/ROX-Filer, in case source directory is read...
[rox-filer/translations.git] / ROX-Filer / src / po / update-po
blob5bf336ff2e847c74d5992a59ea97f95533dde494
1 #!/bin/sh
3 echo Extracting messages from source files...
4 echo
6 (cd ..; python po/tips.py;
7 xgettext --keyword=_ --keyword=N_ --output=$@ ${SRCS} tips)
9 echo
10 echo Updating all .po files...
11 echo
13 for FILE in *.po; do
14 echo -n "Updating '$FILE' translation"
15 mv "$FILE" "$FILE.old"
16 msgmerge "$FILE.old" ../messages.pot > "$FILE";
17 rm "$FILE.old"
18 done