mirror of https://github.com/BOINC/boinc.git
LOCALE: Use a separate flag file. If you clone a new repo, both the po and mo files will have the same date/time stamp.
This commit is contained in:
parent
9195f7921a
commit
75373fb659
|
@ -15,7 +15,7 @@ for file in `find -name 'BOINC-Manager.po'` ; do
|
||||||
|
|
||||||
cd $projdir/${locale}
|
cd $projdir/${locale}
|
||||||
|
|
||||||
if test ${template_name}.po -nt ${template_name}.mo
|
if test ${template_name}.po -nt ${template_name}.mo.flag
|
||||||
then
|
then
|
||||||
|
|
||||||
# Compile the PO file into an MO file.
|
# Compile the PO file into an MO file.
|
||||||
|
@ -26,7 +26,7 @@ for file in `find -name 'BOINC-Manager.po'` ; do
|
||||||
|
|
||||||
# Touch each file to adjust timestamps
|
# Touch each file to adjust timestamps
|
||||||
touch ${template_name}.po
|
touch ${template_name}.po
|
||||||
touch ${template_name}.mo
|
touch ${template_name}.mo.flag
|
||||||
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -41,7 +41,7 @@ for file in `find -name 'BOINC-Client.po'` ; do
|
||||||
|
|
||||||
cd $projdir/${locale}
|
cd $projdir/${locale}
|
||||||
|
|
||||||
if test ${template_name}.po -nt ${template_name}.mo
|
if test ${template_name}.po -nt ${template_name}.mo.flag
|
||||||
then
|
then
|
||||||
|
|
||||||
# Compile the PO file into an MO file.
|
# Compile the PO file into an MO file.
|
||||||
|
@ -52,7 +52,7 @@ for file in `find -name 'BOINC-Client.po'` ; do
|
||||||
|
|
||||||
# Touch each file to adjust timestamps
|
# Touch each file to adjust timestamps
|
||||||
touch ${template_name}.po
|
touch ${template_name}.po
|
||||||
touch ${template_name}.mo
|
touch ${template_name}.mo.flag
|
||||||
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -67,7 +67,7 @@ for file in `find -name 'BOINC-Web.po'` ; do
|
||||||
|
|
||||||
cd $projdir/${locale}
|
cd $projdir/${locale}
|
||||||
|
|
||||||
if test ${template_name}.po -nt ${template_name}.mo
|
if test ${template_name}.po -nt ${template_name}.mo.flag
|
||||||
then
|
then
|
||||||
|
|
||||||
# Compile the PO file into an MO file.
|
# Compile the PO file into an MO file.
|
||||||
|
@ -78,7 +78,7 @@ for file in `find -name 'BOINC-Web.po'` ; do
|
||||||
|
|
||||||
# Touch each file to adjust timestamps
|
# Touch each file to adjust timestamps
|
||||||
touch ${template_name}.po
|
touch ${template_name}.po
|
||||||
touch ${template_name}.mo
|
touch ${template_name}.mo.flag
|
||||||
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -93,7 +93,7 @@ for file in `find -name 'BOINC-Setup.po'` ; do
|
||||||
|
|
||||||
cd $projdir/${locale}
|
cd $projdir/${locale}
|
||||||
|
|
||||||
if test ${template_name}.po -nt ${template_name}.mo
|
if test ${template_name}.po -nt ${template_name}.mo.flag
|
||||||
then
|
then
|
||||||
|
|
||||||
# Compile the PO file into an MO file.
|
# Compile the PO file into an MO file.
|
||||||
|
@ -104,7 +104,7 @@ for file in `find -name 'BOINC-Setup.po'` ; do
|
||||||
|
|
||||||
# Touch each file to adjust timestamps
|
# Touch each file to adjust timestamps
|
||||||
touch ${template_name}.po
|
touch ${template_name}.po
|
||||||
touch ${template_name}.mo
|
touch ${template_name}.mo.flag
|
||||||
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue