Quick Updates

svn path=/trunk/boinc/; revision=22392
This commit is contained in:
Rom Walton 2010-09-20 20:40:22 +00:00
parent 025994815a
commit 60083f8be2
1 changed files with 4 additions and 22 deletions

View File

@ -46,20 +46,11 @@ for file in `find -name 'BOINC-Manager.po'` ; do
locale=`basename $dir`
template_name=${projdir}/${locale}/BOINC-Manager
# Remove old MO from previous compilation
#
rm ${projdir}/BOINC-Manager.mo > /dev/null 2> /dev/null
if test ${template_name}.po -nt ${template_name}.mo
then
# Use wget to cause the Pottle system to compile the PO file into an MO file.
#
# poEdit has a hard time with the Pootle markup in the PO files.
#
# Example: http://boinc.berkeley.edu/translate/ar/boinctrunk/BOINC-Manager.mo
#
wget "http://boinc.berkeley.edu/translate/${locale}/${projname}/BOINC-Manager.mo" > /dev/null 2> /dev/null
# Compile the PO file into an MO file.
pocompile ${template_name}.po ${template_name}.mo > /dev/null 2> /dev/null
# Add any new MO files to SVN
svn add ${template_name}.mo > /dev/null 2> /dev/null
@ -79,20 +70,11 @@ for file in `find -name 'BOINC-Client.po'` ; do
locale=`basename $dir`
template_name=${projdir}/${locale}/BOINC-Client
# Remove old MO from previous compilation
#
rm ${projdir}/BOINC-Client.mo > /dev/null 2> /dev/null
if test ${template_name}.po -nt ${template_name}.mo
then
# Use wget to cause the Pottle system to compile the PO file into an MO file.
#
# poEdit has a hard time with the Pootle markup in the PO files.
#
# Example: http://boinc.berkeley.edu/translate/ar/boinctrunk/BOINC-Client.mo
#
wget "http://boinc.berkeley.edu/translate/${locale}/${projname}/BOINC-Client.mo" > /dev/null 2> /dev/null
# Compile the PO file into an MO file.
pocompile ${template_name}.po ${template_name}.mo > /dev/null 2> /dev/null
# Add any new MO files to SVN
svn add ${template_name}.mo > /dev/null 2> /dev/null