2009-02-12 21:51:42 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
// copy project-web-site translation files from new to old location.
|
|
|
|
// This is a kludge, but the simplest thing to do at this point
|
|
|
|
|
|
|
|
$d = opendir(".");
|
|
|
|
while ($f = readdir($d)) {
|
|
|
|
if ($f == '.') continue;
|
|
|
|
if ($f == '..') continue;
|
|
|
|
$x = $f."/BOINC-Project-Generic.po";
|
|
|
|
if (file_exists($x)) {
|
|
|
|
$cmd = "cp $x ../html/languages/translations/$f.po";
|
|
|
|
system($cmd);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-03-24 22:51:12 +00:00
|
|
|
system("cp templates/BOINC-Project-Generic.pot ../html/languages/translations/en.po");
|
|
|
|
|
2009-02-12 21:51:42 +00:00
|
|
|
?>
|