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.
One of the po files had this block, but was claimed to be up to date nontheless: #. Type: select #. Choices #: ../plan.templates:3 msgid "us" msgstr "us" #. Type: select #. Choices #: ../plan.templates:3 msgid "none" msgstr "" #. Type: select #. Description #: ../plan.templates:5 msgid "What default holiday scheme do you want?" msgstr "Hvilket standard-ferieskema vil du have?" This patch fixed the problem. I found the solution after printing out $_. --- /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; } -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.26-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages po-debconf depends on: ii gettext 0.14.1-10 GNU Internationalization utilities ii intltool-debian 0.30+20040213 Help i18n of RFC822 compliant conf ii perl 5.8.4-6 Larry Wall's Practical Extraction -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]