translation stuff

This commit is contained in:
David Anderson 2013-10-21 22:22:01 -07:00
parent dece676bf0
commit 6541085cee
3 changed files with 21 additions and 11 deletions

View File

@ -27,6 +27,11 @@ system("tools/compare_pot mac_installer/BOINC-Setup.pot $tdir/BOINC-Setup.pot $e
system("cd android; a2po export -v");
system("tools/compare_pot android/BOINC-Android.pot $tdir/BOINC-Android.pot $emails");
// as long as we're at it, generate translations for BOINC web site
// generate translations for BOINC web site
//
system("cd doc; update_translations.php");
// copy generic web files to html/translations
//
system("cd locale; copy_files.php");
?>

View File

@ -36,6 +36,16 @@ array(
);
$win = array(
array(
'http://code.google.com/p/boinc-client-configuration/',
'BOINC Client Configuration',
'1.2.5',
'Windows GUI for editing the client configuration file',
'http://code.google.com/p/boinc-client-configuration/',
'Windows',
'BOINC Client Configuration provides a graphical user interface (GUI) for editing the BOINC client configuration file (cc_config.xml)',
1382122439
),
array(
'http://www.setispirit.de/',
'SETISpirit',

View File

@ -1,7 +1,10 @@
#!/bin/sh
# Automate the compilation of the various locale PO files by automatically
# generating them at night.
# Look for .po files modified later than .mo, and regenerate .mo file
# Then commit and push changes.
# This is run in the Pootle copy of the source tree (~/pootle/repos/boinctrunk)
# It's run from pootle/update.sh, which is run from cron every 12 hours.
#
projname=boinctrunk
projdir=/home/boincadm/pootle/repos/$projname
@ -9,8 +12,6 @@ projdir=/home/boincadm/pootle/repos/$projname
cd $projdir
# Iterrate through the various PO files looking for those that need to be compiled.
#
for file in `find -name 'BOINC-Manager.po'` ; do
dir=`dirname $file`
locale=`basename $dir`
@ -30,8 +31,6 @@ for file in `find -name 'BOINC-Manager.po'` ; do
done
# Iterrate through the various PO files looking for those that need to be compiled.
#
for file in `find -name 'BOINC-Client.po'` ; do
dir=`dirname $file`
locale=`basename $dir`
@ -51,8 +50,6 @@ for file in `find -name 'BOINC-Client.po'` ; do
done
# Iterrate through the various PO files looking for those that need to be compiled.
#
for file in `find -name 'BOINC-Web.po'` ; do
dir=`dirname $file`
locale=`basename $dir`
@ -72,8 +69,6 @@ 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`