• Bug#1104308: podebconf-display-po: incorrect order of texts if duplicat

    From Carles Pina i Estany@21:1/5 to All on Mon Apr 28 17:30:01 2025
    Package: po-debconf
    Version: 1.0.21+nmu1
    Severity: minor

    Dear Maintainer,

    We have a po file that contains:

    --------
    #. Type: string
    #. Description
    #. Type: string
    #. Description
    #: ../templates:2001 ../templates:3001
    msgid "Example:"
    msgstr "Exemple:"
    --------

    The string "Exemple:" appears in the wrong place in one of the screens
    where it appears.

    I see that podebconf-display-po reconstructs the screens without access
    to debian/templates (which is really convenient!).

    On the other hand, maybe this behaviour (wrong order of some strings
    that appear in different screens) could be documented in the manual page
    or displayed (if it might have happened, so strings that appears in
    multiple screens I understand).

    This problem can be seen with any file in:

    https://salsa.debian.org/sympa-team/sympa/-/tree/master/debian/po?ref_type=heads

    In the third screen.

    Thank you,

    -- System Information:
    Debian Release: 12.10
    APT prefers stable-updates
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.1.0-32-amd64 (SMP w/4 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages po-debconf depends on:
    ii gettext 0.21-12
    ii intltool-debian 0.35.0+20060710.6
    ii perl 5.36.0-7+deb12u2
    ii sensible-utils 0.0.17+nmu1

    Versions of packages po-debconf recommends:
    ii libmail-sendmail-perl 0.80-3
    ii perl [libcompress-zlib-perl] 5.36.0-7+deb12u2

    Versions of packages po-debconf suggests:
    pn libmail-box-perl <none>

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)