- update BOINC project translation template

svn path=/trunk/boinc/; revision=20179
This commit is contained in:
David Anderson 2010-01-15 23:25:46 +00:00
parent e7dcff182f
commit e84d691136
3 changed files with 503 additions and 22 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/php
<?php
// generate en.po
// generate .po template for the BOINC web site.
//
// NOTE: after running this, move LANG_NAME_NATIVE and LANG_NAME_INTERNATIONAL
// to the top, and set their strings to "English"
@ -39,10 +39,5 @@ stream_copy_to_stream($pipe, $out);
fclose($pipe);
fclose($out);
// msgen duplicates everything.
// Don't need this. Just rename to en.po
//system("msgen -o $path/html/languages/translations/en.po $path/html/languages/translations/web.pot");
echo "Created BOINC-Web.pot. Move it to ../locale/templates\n";
?>

View File

@ -1,17 +1,14 @@
#!/usr/bin/php
<?php
// generate translation template "en.po" for BOINC web pages.
// generate translation template for BOINC project web pages.
//
// Projects: don't use this. Use build_po.php instead.
//
// Run this in boinc/html;
// move the result to boinc/locale/templates/BOINC-Web.pot
// Run this in boinc/html/ops;
// move the result to boinc/locale/templates/BOINC-Project-Generic.pot
$cli_only = true;
require_once("../inc/util_ops.inc");
$FILE_LIST = "inc/*.inc user/*.php project.sample/*.inc";
$FILE_LIST = "../inc/*.inc ../user/*.php ../project.sample/*.inc";
$date = strftime('%Y-%m-%d %H:%M %Z');
$header = <<<HDR

File diff suppressed because it is too large Load Diff