3 sources_list
="xgettext_sources.txt"
9 rm ${sources_list} ${potfile}
11 find ..
/jben
-iname '*.py' > ${sources_list}
12 xgettext
-f ${sources_list} -L python
-o ${potfile}
14 for lang
in ${langs}; do
16 if [ -e ${outfile} ]; then
17 msgmerge
${outfile} ${potfile} --output-file=${outfile}.new
18 mv ${outfile} ${outfile}.bak
19 mv ${outfile}.new
${outfile}
21 msginit
--locale=${lang} \
22 --input=${potfile} --output-file=${outfile}