mirror of https://github.com/BOINC/boinc.git
HTML: Make sure BOINC-Project-Generic.pot contains comments.
This commit is contained in:
parent
a64b17d817
commit
37d8c0b4e1
|
@ -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";
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue