3 echo Extracting messages from
source files...
6 (cd ..
; python po
/tips.py
&&
7 intltool-extract
--type=gettext
/glade
--update ..
/Templates.ui
&&
8 xgettext
--keyword=_
--keyword=N_
--output=messages.pot
*.c tips ..
/Templates.ui.h
)
12 if [ "x$1" = "x" ]; then
13 echo Updating all .po files...
17 echo -n "Updating '$FILE' translation"
18 mv "$FILE" "$FILE.old"
19 msgmerge
"$FILE.old" ..
/messages.pot
> "$FILE";
24 if [ ! -f "$FILE" ]; then
25 echo $FILE does not exist
!
28 echo Updating all
$1...
31 echo -n "Updating '$FILE' translation"
32 mv "$FILE" "$FILE.old"
33 msgmerge
"$FILE.old" ..
/messages.pot
> "$FILE";