2009-05-19 20:55:43 +00:00
|
|
|
#!/usr/bin/env php
|
|
|
|
|
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;
|
2009-05-18 17:17:03 +00:00
|
|
|
if ($f == 'templates') continue;
|
2009-02-12 21:51:42 +00:00
|
|
|
$x = $f."/BOINC-Project-Generic.po";
|
|
|
|
if (file_exists($x)) {
|
|
|
|
$cmd = "cp $x ../html/languages/translations/$f.po";
|
|
|
|
system($cmd);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|