From 60083f8be2a429b8c1410b10d63bf716ff9c17b6 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 20 Sep 2010 20:40:22 +0000 Subject: [PATCH] Quick Updates svn path=/trunk/boinc/; revision=22392 --- locale/updatetrans.sh | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/locale/updatetrans.sh b/locale/updatetrans.sh index 027ad5e23c..c375f90051 100755 --- a/locale/updatetrans.sh +++ b/locale/updatetrans.sh @@ -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