Bug#1106222: apt: Wrong french summary line before doing actions

Vincent Danjean <[email protected]>
Newsgroups gmane.linux.debian.apt.devel
Message-ID <174783253762.139905.14827958410287942022.reportbug__48123.5864035384$1747833331$gmane$org@eyak.imag.fr>
Package: apt
Version: 3.0.1
Severity: minor
Tags: l10n

  Hi,

  When using apt with the command line, in French, the Summary line before confirmation is wrongly formatted.
Example:
With LC_ALL=C:
Summary:
  Upgrading: 0, Installing: 0, Removing: 51, Not Upgrading: 0
  Freed space: 519 MB
With locale fr_FR.utf8
Sommaire :
  Mise à niveau de : 0. Installation de : 0Supprimé : 51. Non mis à jour : 0
  Espace libéré : 519 MB

I would expect something like:
Résumé :
  Mise à niveau : 0, Installation : 0, Supprimés : 51, Non mis à jour : 0

i.e.:
- wrong translation (Summary -> Sommaire)
- strange translation (Upgrading: -> Mise à niveau *de* :, ...)
- strange formatting (point after numbers instead of comma, no space before "Supprimé")
- grammatical error (plural for Supprimé when needed, probably the same for other. I did not check)

  Is there a l10n team that handle these kind of bugs? Do you want I dig into the sources to see if I can produce a patch?

  Regards,
    Vincent

-- Package-specific info:

-- (/etc/apt/preferences present, but not submitted) --


-- (/etc/apt/preferences.d/apt-listbugs present, but not submitted) --


-- (no /etc/apt/sources.list present) --


-- (/etc/apt/sources.list.d/unstable.sources present, but not submitted) --


-- (/etc/apt/sources.list.d/vdanjean.sources present, but not submitted) --


-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel

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

Versions of packages apt depends on:
ii  adduser                 3.152
ii  base-passwd             3.6.7
ii  debian-archive-keyring  2025.1
ii  libapt-pkg7.0           3.0.1
ii  libc6                   2.41-8
ii  libgcc-s1               14.2.0-19
ii  libseccomp2             2.6.0-2
ii  libssl3t64              3.5.0-1
ii  libstdc++6              14.2.0-19
ii  libsystemd0             257.5-2
ii  sqv                     1.3.0-2

Versions of packages apt recommends:
ii  ca-certificates  20250419

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  aptitude        0.8.13-7
ii  dpkg-dev        1.22.19
ii  gnupg           2.4.7-19
ii  gnupg1          1.4.23-3
ii  gnupg2          2.4.7-19
ii  powermgmt-base  1.38
ii  synaptic        0.91.7

-- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.