Package: lintian Version: 1.23.48 Severity: normal First of all, sorry for no coming up with a patch. This is something I'm not skilled for...as of now;.:-)
I think it would be good for lintian to promote the use of "__Choices" over "_Choices" in debconf templates. This feature is present since po-debconf exists so, indeed, no compatibility problems. The feature is well documented in po-debconf(7). I send this bug report evn if I know it might be incomplete to be processed as of now. Anyway, I recommend *not* activating this before lenny is released. Detection: This can be detected by looking for "^_Choices" in debconf templates files. There are no known exceptions where using "_Choices" is to be preferred over "__Choices". Proposed lintian tag: unsplitted-choices-in-templates Additionnal parameter to report: The name of the offending template (just like all other debconf templates checks) Proposed information text: ------------------------------------------------------------ The Choices field of a debconf template is using "_Choices". That makes the choices translatable altogether in a single string, which is likely to trigger errors by translators if they don't use the same number of choices than original text. It is recommended to use "__Choices" instead. Before blindly replacing all occurrences of "_Choices" by "__Choices", you must apply the method described in po-debconf(7) under "SPLITTING CHOICES LIST", to avoid breaking existing translations. If in doubt, please ask for help on the debian-i18n mailing list. ------------------------------------------------------------ -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lintian depends on: ii binutils 2.18.1~cvs20080103-4 The GNU assembler, linker and bina ii diffstat 1.45-2 produces graph of changes introduc ii dpkg-dev 1.14.19 package building tools for Debian ii file 4.24-2 Determines file type using "magic" ii gettext 0.17-2 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libparse-debianchan 1.1.1-2 parse Debian changelogs and output ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin ii man-db 2.5.2-1 on-line manual pager ii perl [libdigest-sha 5.10.0-10 Larry Wall's Practical Extraction lintian recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

