3 echo Extracting messages from
source files...
6 (cd ..
; python po
/tips.py
;
7 xgettext
--keyword=_
--keyword=N_
--output=messages.pot
*.c tips
)
11 if [ "x$1" = "x" ]; then
12 echo Updating all .po files...
16 echo -n "Updating '$FILE' translation"
17 mv "$FILE" "$FILE.old"
18 msgmerge
"$FILE.old" ..
/messages.pot
> "$FILE";
23 if [ ! -f "$FILE" ]; then
24 echo $FILE does not exist
!
27 echo Updating all
$1...
30 echo -n "Updating '$FILE' translation"
31 mv "$FILE" "$FILE.old"
32 msgmerge
"$FILE.old" ..
/messages.pot
> "$FILE";