mirror of https://github.com/BOINC/boinc.git
LOC: Add BOINC-Setup.po to the list of files that need to go through the pocompile process.
This commit is contained in:
parent
082aab48f5
commit
d455804375
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue