Commit f4a2c9cc authored by BOINC Translator's avatar BOINC Translator

Update Translations

svn path=/trunk/boinc/; revision=19563
parent 978aef04
......@@ -17,11 +17,11 @@ for file in `find -name 'BOINC-Manager.po'` ; do
timestampPO=`date -r ${projdir}/${locale}/BOINC-Manager.po`
timestampMO=`date -r ${projdir}/${locale}/BOINC-Manager.mo`
if [ "${timestampPO}" -ne "${timestampMO}" ]; then
if [ "${timestampPO}" != "${timestampMO}" ]; then
# Remove old MO from previous compilation
#
rm ${projdir}/BOINC-Manager.mo
rm ${projdir}/BOINC-Manager.mo > /dev/null 2> /dev/null
# Use wget to cause the Pottle system to compile the PO file into an MO file.
#
......@@ -29,10 +29,10 @@ for file in `find -name 'BOINC-Manager.po'` ; do
#
# Example: http://boinc.berkeley.edu/translate/ar/boinctrunk/BOINC-Manager.mo
#
wget http://boinc.berkeley.edu/translate/${locale}/${projname}/BOINC-Manager.mo
wget http://boinc.berkeley.edu/translate/${locale}/${projname}/BOINC-Manager.mo > /dev/null 2> /dev/null
# Add any new MO files to SVN
svn add ${projdir}/${locale}/BOINC-Manager.mo
svn add ${projdir}/${locale}/BOINC-Manager.mo > /dev/null 2> /dev/null
# Touch each file to adjust timestamps
touch ${projdir}/${locale}/BOINC-Manager.po
......@@ -42,6 +42,10 @@ for file in `find -name 'BOINC-Manager.po'` ; do
done
# Remove old MO from previous compilation
#
rm ${projdir}/BOINC-Manager.mo > /dev/null 2> /dev/null
# Commit any changes to SVN
svn commit -m 'Update Translations'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment