Bug#217152: apt: [i18n] confirmation prompt does not work with locales!=C
Le jeu 23/10/2003 à 01:08, Matt Zimmerman a écrit :
> The code is very simplistic; it just does a strcmp() on what was typed and
> the string returned from gettext. Are you sure that you are typing it
> exactly as it appears in fr.po (byte for byte)?
I found out, here's the patch
--- apt-0.5.14/po/fr.po~ 2003-10-23 02:04:02.000000000 +0200
+++ apt-0.5.14/po/fr.po 2003-10-23 02:04:10.000000000 +0200
@@ -794,7 +794,7 @@
#: cmdline/apt-get.cc:818
msgid "Yes, do as I say!"
-msgstr "Oui, faites ce que je vous dis !"
+msgstr "Oui, faites ce que je vous dis !"
#: cmdline/apt-get.cc:820
#, c-format
Yes, that's not a joke !!
But on the original fr.po file, the character just before the "!" is not
a space (ascii 32), but a ascii 160 character, which is a space with my
charset.
Yeah, I thinks this wins for the most weird bug to find ;-)
Reply to: