52 |
--no-po Do not download po files. |
--no-po Do not download po files. |
53 |
--update-po[=LANG] Update po file(s) and exit. |
--update-po[=LANG] Update po file(s) and exit. |
54 |
|
|
55 |
If the file `.bootstrap' exists in the current working directory, its |
If the file \`.bootstrap' exists in the current working directory, its |
56 |
contents is read, comments and empty lines removed, shell variables expanded |
contents is read, comments and empty lines removed, shell variables expanded |
57 |
and the result is prepended to the command line options. |
and the result is prepended to the command line options. |
58 |
|
|
71 |
*) POFILE=${1}.po;; |
*) POFILE=${1}.po;; |
72 |
esac |
esac |
73 |
echo "$0: getting translation for $1..." |
echo "$0: getting translation for $1..." |
74 |
wget -r -C off $TP_URL/$POFILE |
wget -r --cache=off $TP_URL/$POFILE |
75 |
else |
else |
76 |
echo "$0: getting translations into po..." |
echo "$0: getting translations into po..." |
77 |
(cd po && |
(cd po && |
78 |
rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` && |
rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` && |
79 |
wget -nv -nd -r -l 1 -A .po -C off $TP_URL && |
wget -nv -nd -r -l 1 -A .po --cache off $TP_URL && |
80 |
rm -f index.html index.html.[0-9]* |
rm -f index.html index.html.[0-9]* |
81 |
ls *.po | sed 's/\.po$//' >LINGUAS |
ls *.po | sed 's/\.po$//' >LINGUAS |
82 |
) || exit |
) || exit |