[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#400957: lintian: [checks/po-debconf] needs --use-untranslated when invoking msgcmp (getext 0.16)



Package: lintian
Version: 1.23.26
Severity: normal
Tags: patch

Hi,

Since gettext 0.16, msgcmp's behaviour regarding untranslated entries
has changed. Quote from NEWS:
----------------------------------------
* msgcmp now ignores fuzzy and untranslated messages in the PO file.
  Previously it considered fuzzy and untranslated messages the same way
  as translated messages, which was hardly useful.  The previous
  behaviour can be obtained through the options --use-fuzzy
  --use-untranslated.
----------------------------------------

This affects po-debconf's check, since it compares a newly extracted
test.pot with the templates.pot from the package. Since both .pot files
contain only untranslated entries, msgcmp complains:

$ msgcmp  debian/po/test.pot debian/po/templates.pot
debian/po/test.pot:22: this message is untranslated
debian/po/test.pot:30: this message is untranslated
debian/po/test.pot:37: this message is untranslated
debian/po/test.pot:45: this message is untranslated
debian/po/test.pot:22: warning: this message is not used
debian/po/test.pot:30: warning: this message is not used
debian/po/test.pot:37: warning: this message is not used
debian/po/test.pot:45: warning: this message is not used
msgcmp: found 4 fatal errors

To avoid this, please change

  system_env("/usr/bin/msgcmp debfiles/po/test.pot ....

to

  system_env("/usr/bin/msgcmp --use-untranslated debfiles/......


Thanks,
    dam

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)

Versions of packages lintian depends on:
ii  binutils               2.17-3            The GNU assembler, linker and bina
ii  diffstat               1.43-2            produces graph of changes introduc
ii  dpkg-dev               1.13.24           package building tools for Debian
ii  file                   4.17-4            Determines file type using "magic"
ii  gettext                0.16.1-1          GNU Internationalization utilities
ii  intltool-debian        0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii  libparse-debianchangel 1.0-1             parse Debian changelogs and output
ii  man-db                 2.4.3-5           The on-line manual pager
ii  perl [libdigest-md5-pe 5.8.8-6.1         Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information



Reply to: