2009-11-12 20:58:03 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2009-11-12 21:48:04 +00:00
|
|
|
# Automate the compilation of the various locale PO files by automatically
|
|
|
|
# generating them at night.
|
|
|
|
projname=boinctrunk
|
|
|
|
projdir=$HOME/pootle/po/$projname
|
|
|
|
|
|
|
|
echo $projname
|
|
|
|
echo $projdir
|
|
|
|
|
|
|
|
exit 0
|
|
|
|
|
2009-11-12 20:58:03 +00:00
|
|
|
for file in `find -name 'BOINC-Manager.mo'` ; do
|
|
|
|
dir=`dirname $file`
|
|
|
|
locale=`basename $dir`
|
2009-11-12 21:48:04 +00:00
|
|
|
|
2009-11-12 20:58:03 +00:00
|
|
|
cp -f $file BOINC/locale/${locale}
|
2009-11-12 21:48:04 +00:00
|
|
|
|
|
|
|
# http://boinc.berkeley.edu/translate/ar/boinctrunk/BOINC-Manager.mo
|
|
|
|
|
2009-11-12 20:58:03 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
exit 0
|