User web: tokenless translation, do the same for project specific files.

svn path=/trunk/boinc/; revision=13457
This commit is contained in:
Rytis Slatkevičius 2007-08-25 13:30:08 +00:00
parent 2ce1ad7732
commit 595ded5e4c
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ function buildLanguages($langdir,$transdir,$prjtransdir,$compdir){
fwrite($fh, "<?php\n");
for ($i=0;$i<sizeof($interface);$i++){
fwrite($fh, "define(\"".$interface[$i]."\",".($i+$real_interface_size).");\n");
fwrite($fh, "\$translation_strings[\"".$interface[$i]."\"] = ".$i+$real_interface_size.";\n");
}
fwrite($fh, '?>');
fclose($fh);