LOC: Add BOINC-Setup.po to the list of files that need to go through the pocompile process.

This commit is contained in:
Rom Walton 2013-06-05 16:49:02 -04:00
parent 082aab48f5
commit d455804375
1 changed files with 21 additions and 0 deletions

View File

@ -72,6 +72,27 @@ for file in `find -name 'BOINC-Web.po'` ; do
done
# Iterrate through the various PO files looking for those that need to be compiled.
#
for file in `find -name 'BOINC-Setup.po'` ; do
dir=`dirname $file`
locale=`basename $dir`
template_name=${projdir}/${locale}/BOINC-Setup
if test ${template_name}.po -nt ${template_name}.mo
then
# Compile the PO file into an MO file.
pocompile ${template_name}.po ${template_name}.mo > /dev/null 2> /dev/null
# Touch each file to adjust timestamps
touch ${template_name}.po
touch ${template_name}.mo
fi
done
# Determine if we need to update the various languages using the templates.
# This will be done by the use of a tag file which should have a matching
# timestamp as the template files. If the timestamps do not match update all