mirror of https://github.com/BOINC/boinc.git
18 lines
409 B
PHP
18 lines
409 B
PHP
|
<?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);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|