- It appears Pootle is looking for a comment line ahead of

each message to translate, if it doesn't have some form
        of comment it skips over it.
        
    doc/
        build_po.php

svn path=/trunk/boinc/; revision=18017
This commit is contained in:
Rom Walton 2009-05-05 20:40:54 +00:00
parent ac8db91f18
commit edef29d05a
2 changed files with 9 additions and 1 deletions

View File

@ -4311,3 +4311,11 @@ David 5 May 2009
Makefile.am
api/
Makefile.am
Rom 5 May 2009
- It appears Pootle is looking for a comment line ahead of
each message to translate, if it doesn't have some form
of comment it skips over it.
doc/
build_po.php

View File

@ -32,7 +32,7 @@ HDR;
$out = fopen("BOINC-Web.pot", "w");
fwrite($out, $header);
$pipe = popen("xgettext --omit-header -o - --keyword=tra -L PHP --no-location $path/*.inc $path/*.php", "r");
$pipe = popen("xgettext --omit-header -o - --keyword=tra -L PHP $path/*.inc $path/*.php", "r");
stream_copy_to_stream($pipe, $out);
fclose($pipe);
fclose($out);