From edef29d05a07b35a336e5cf8a8df39699fb8d8e8 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 5 May 2009 20:40:54 +0000 Subject: [PATCH] - 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 --- checkin_notes | 8 ++++++++ doc/build_po.php | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 24655d7c83..99d59ecf42 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/doc/build_po.php b/doc/build_po.php index 918128c669..add5e5c126 100755 --- a/doc/build_po.php +++ b/doc/build_po.php @@ -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);