HTML: Make sure BOINC-Project-Generic.pot contains comments.

This commit is contained in:
Rom Walton 2015-06-24 15:42:30 -04:00
parent a64b17d817
commit 37d8c0b4e1
2 changed files with 6 additions and 6 deletions

View File

@ -39,8 +39,8 @@ $out = fopen("BOINC-Web.pot", "w");
fwrite($out, $header);
stream_copy_to_stream($pipe, $out);
fclose($pipe);
fclose($pipe);
fclose($out);
echo "Created BOINC-Web.pot. If it's OK, move it to ../locale/templates and commit\n";

View File

@ -38,14 +38,14 @@ msgstr ""
HDR;
$pipe = popen(
"xgettext --omit-header --add-comments -o - --keyword=tra -L PHP $FILE_LIST",
"r"
);
$out = fopen("BOINC-Project-Generic.pot", "w");
fwrite($out, $header);
$pipe = popen(
"xgettext --omit-header -o - --keyword=tra -L PHP $FILE_LIST",
"r"
);
stream_copy_to_stream($pipe, $out);
fclose($pipe);