On Sun, Feb 20, 2005 at 09:53:23AM +0100, Petter Reinholdtsen wrote:
> 
> Package: po-debconf
> Version: 0.8.20
> Severity: important
> Tags: patch
> 
> When trying to use podebconf-report-po on one of my packages, I
> noticed that the script failed to detect translations missing some of
> the messages.  The bug seem to be in the handling of end of line.
[...]
> --- /usr/bin/podebconf-report-po      2005-02-07 22:05:12.000000000 +0100
> +++ podebconf-report-po       2005-02-20 09:46:45.000000000 +0100
> @@ -241,7 +241,7 @@
>               #  Ignore outdated msgids
>               next unless m/^msgid /m;
>               #  Check for fuzzy or missing translations
> -             if (m/^#, .*fuzzy/m or m/\nmsgstr ""$/s) {
> +             if (m/^#, .*fuzzy/m or m/\nmsgstr ""\n\n/s) {
>                       $outdated = 1;
>                       last;
>               }

You are right, my test case obviously had its last msgstr untranslated.
If you had the same sample, you would have noticed that your patch does
not work in this case ;)
Thanks for your report, I will upload a fixed package very soon.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to