#1106222 apt: Wrong french summary line before doing actions

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Vincent Danjean
Date:
2025-08-15 12:11:04 UTC
Severity:
normal
Tags:
#1106222#5
Date:
2025-05-21 13:02:17 UTC
From:
To:
  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

#1106222#10
Date:
2025-05-25 17:52:56 UTC
From:
To:
before confirmation is wrongly formatted.
jour : 0
: 0
before "Supprimé")
same for other. I did not check)
dig into the sources to see if I can produce a patch?


Yes, on the Debian l10n French mailing list, I am CCing them.
Note this list use tags to label thread topics, here [H-S] (hors sujet,
that is not a translation review per se but general discussion) and
apt://po/fr.po to tell which file the translation is about.

Cheers,
Alban
-
submitted) --
submitted) --
(500, 'oldstable-updates'), (500, 'oldstable-security'), (500,
'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1,
'experimental')
LANGUAGE not set

#1106222#15
Date:
2025-05-26 08:11:13 UTC
From:
To:
   Hi,

   My bug report ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106222 )
shows several glitches still being present in the APT French translation
with APT 3.0.1

   Regards,
     Vincent

Le 25/05/2025 à 19:45, Alban Browaeys a écrit :

#1106222#20
Date:
2025-05-26 11:06:07 UTC
From:
To:
Just to say that one point was discussed there:
https://salsa.debian.org/apt-team/apt/-/commit/98b25a8681feb209d53c913a754ff1fb1ef4e7a7#note_609007

Best regards,
Patrice

On Sun, 25 May 2025 19:52:56 +0200 Alban Browaeys <alban.browaeys@gmail.com> wrote:

#1106222#25
Date:
2025-05-31 09:26:35 UTC
From:
To:
The problem is also discussed on the debian-l10n-french mailing list at
https://lists.debian.org/debian-l10n-french/2025/05/msg00066.html but is
not yet fixed in salsa repository.

https://salsa.debian.org/apt-team/apt/-/blob/main/po/fr.po#L2510

Should someone create a merge request?

Bye

#1106222#30
Date:
2025-06-12 21:36:58 UTC
From:
To:
On Sat, 31 May 2025 11:26:35 +0200 Ludovic Rousseau <ludovic.rousseau@free.fr> wrote:
<patrice.duroux@gmail.com> wrote:
https://salsa.debian.org/apt-team/apt/-/commit/98b25a8681feb209d53c913a754ff1fb1ef4e7a7#note_609007
at
is
https://salsa.debian.org/apt-team/apt/-/merge_requests/494

Sorry bubu send me a reply that explained his rationale but only to me,
not the deian-fr ML and I tried to find out how to forward it to the ML
while keeping it in the proper thread but failed. So I ended up sending
the MR without this message to point to, but only today.


Mind when you reply to a bug report number only the maintainer receive
it. One have to CC everyone explicitly.

But, please also reply to the other requests from the bug reporter,
that is:

     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)


I believe that out of the missing spaces every other items are already
fine, but I am not qualified enough to answer the reporter why.
(that is why point instead of the English commas, why Supprimé is not
plural when more than one, why Upgrading becomes "Mise à niveau de ")

About Summary > Sommaire I don't understand the issue. The French
translation is already Sommaire (and LC_ALL=C is supposed to be Summary
that is English).

Cheers,
Alban