Article View: linux.debian.bugs.dist
Article #5820Bug#1155027: vim: Incorrect markup in de.po causes strange status line
From: Christian Brabandt
Date: Mon, 23 Nov 2026 19:10
Date: Mon, 23 Nov 2026 19:10
213 lines
13642 bytes
13642 bytes
--Apple-Mail-64E8BCFF-9105-467F-8B75-E3095220D51D
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,
this is a duplicate of https://github.com/vim/vim/issues/21864
please check the existing issues next time.
thanks=20
Chris=20
> Am 23.11.2026 um 18:13 schrieb Helge Kreutzmann <debian@helgefjell.de>:
>=20
> =EF=BB=BFPackage: vim
> Version: 2:9.2.0858-1+b1
> Severity: minor
> Tags: patch l10n upstream
> X-Debbugs-Cc: Christian Brabandt <cb@256bit.org>
>=20
> When I save a file, I get the following output (in german):
> download/FINANZEN =
=
=
2896,1 Ende"download/FINANZEN" 94218317951335 Zeilen, 125192 Bytes
>=20
> Note the number of lines (=3DZeilen).
>=20
> If I start vim in the C locale, it looks fine:
> download/FINANZEN =
=
=
2896,1 Bot"download/FINANZEN" 2896 lines, 125192 bytes
>=20
> So I pulled the source and looked at de.po, an indeed, the translation
> misses parts of the markup:
>=20
>=20
> msgid "%s%ld line, "
> msgid_plural "%s%ld lines, "
> msgstr[0] "%ld Zeile, "
> msgstr[1] "%ld Zeilen, "
>=20
> It needs to be as follows:
> msgid "%s%ld line, "
> msgid_plural "%s%ld lines, "
> msgstr[0] "%s%ld Zeile, "
> msgstr[1] "%s%ld Zeilen, "
>=20
> Also, there is a translation error in the next string:
>=20
> -msgstr[1] "%lld Bytes"
> +msgstr[1] "%lld Byte"
>=20
> (The plural is the same as the singular for =E2=80=9EByte").
>=20
> I put the last translator in CC, however, the translation
> was last touched 2008, 16 years ago, so I don't know if he is still
> active.
>=20
>=20
> -- Package-specific info:
>=20
> --- real paths of main Vim binaries ---
> /usr/bin/vi is /usr/bin/vim.gtk3
> /usr/bin/vim is /usr/bin/vim.gtk3
> /usr/bin/gvim is /usr/bin/vim.gtk3
>=20
> -- System Information:
> Debian Release: forky/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>=20
> Kernel: Linux 7.3.5 (SMP w/12 CPU threads; PREEMPT)
> Locale: LANG=3Dde_DE.UTF-8, LC_CTYPE=3Dde_DE.UTF-8 (charmap=3DUTF-8) (igno=
red: LC_ALL set to de_DE.UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
>=20
> Versions of packages vim depends on:
> ii libacl1 2.4.0-1
> ii libc6 2.43-7
> ii libgpm2 1.20.7-12+b2
> ii libselinux1 3.11-2.1+b1
> ii libsodium26 1.0.22-2
> ii libtinfo6 6.6+20260608-2
> ii vim-common 2:9.2.0858-1
> ii vim-runtime 2:9.2.0858-1
>=20
> vim recommends no packages.
>=20
> Versions of packages vim suggests:
> pn ctags <none>
> ii vim-doc 2:9.2.0858-1
> ii vim-scripts 20210124.5+nmu1
>=20
> -- no debconf information
>=20
> --
> Dr. Helge Kreutzmann debian@helgefjell.de
> Dipl.-Phys. http://www.helgefjell.de/debian.ph=
p
> 64bit GNU powered gpg signed mail preferred
> <signature.asc>
--Apple-Mail-64E8BCFF-9105-467F-8B75-E3095220D51D
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html class=3D"apple-mail-supports-explicit-dark-mode"><head><meta http-equi=
v=3D"content-type" content=3D"text/html; charset=3Dutf-8"></head><body dir=3D=
"auto"><div dir=3D"ltr"></div><div dir=3D"ltr">Hi,</div><div dir=3D"ltr">thi=
s is a duplicate of <a href=3D"https://github.com/vim/vim/issues/21864"=
>https://github.com/vim/vim/issues/21864</a></div><div dir=3D"ltr">please ch=
eck the existing issues next time.</div><div dir=3D"ltr">thanks </div><=
div dir=3D"ltr">Chris </div><div dir=3D"ltr"><br><blockquote type=3D"ci=
te">Am 23.11.2026 um 18:13 schrieb Helge Kreutzmann <debian@helgefjell.de=
>:<br><br></blockquote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=
=BB=BF<span>Package: vim</span><br><span>Version: 2:9.2.0858-1+b1</span><br>=
<span>Severity: minor</span><br><span>Tags: patch l10n upstream</span><br><s=
pan>X-Debbugs-Cc: Christian Brabandt <cb@256bit.org></span><br><span><=
/span><br><span>When I save a file, I get the following output (in german):<=
/span><br><span>download/FINANZEN =
&nbs=
p; &n=
bsp; =
&nbs=
p; &n=
bsp; =
&nbs=
p; &n=
bsp; =
&nbs=
p; &n=
bsp; =
&nbs=
p; &n=
bsp; =
&nbs=
p; 2896,1 Ende"download/FINANZEN" 94218317951335 Zeilen, 125192 Bytes</=
span><br><span></span><br><span>Note the number of lines (=3DZeilen).</span>=
<br><span></span><br><span>If I start vim in the C locale, it looks fine:</s=
pan><br><span>download/FINANZEN &n=
bsp; =
&nbs=
p; &n=
bsp; =
&nbs=
p; &n=
bsp; =
&nbs=
p; &n=
bsp; =
&nbs=
p; &n=
bsp; =
&nbs=
p; &n=
bsp; =
2896,1 Bot"download/FINANZEN" 2896 lines, 125192 bytes</span><br=
><span></span><br><span>So I pulled the source and looked at de.po, an indee=
d, the translation</span><br><span>misses parts of the markup:</span><br><sp=
an></span><br><span></span><br><span>msgid "%s%ld line, "</span><br><span>ms=
gid_plural "%s%ld lines, "</span><br><span>msgstr[0] "%ld Zeile, "</span><br=
><span>msgstr[1] "%ld Zeilen, "</span><br><span></span><br><span>It needs to=
be as follows:</span><br><span>msgid "%s%ld line, "</span><br><span>msgid_p=
lural "%s%ld lines, "</span><br><span>msgstr[0] "%s%ld Zeile, "</span><br><s=
pan>msgstr[1] "%s%ld Zeilen, "</span><br><span></span><br><span>Also, there i=
s a translation error in the next string:</span><br><span></span><br><span>-=
msgstr[1] "%lld Bytes"</span><br><span>+msgstr[1] "%lld Byte"</span><br><spa=
n></span><br><span>(The plural is the same as the singular for =E2=80=9EByte=
").</span><br><span></span><br><span>I put the last translator in CC, howeve=
r, the translation </span><br><span>was last touched 2008, 16 years ago, so I=
don't know if he is still</span><br><span>active.</span><br><span></span><b=
r><span></span><br><span>-- Package-specific info:</span><br><span></span><b=
r><span>--- real paths of main Vim binaries ---</span><br><span>/usr/bin/vi i=
s /usr/bin/vim.gtk3</span><br><span>/usr/bin/vim is /usr/bin/vim.gtk3</span>=
<br><span>/usr/bin/gvim is /usr/bin/vim.gtk3</span><br><span></span><br><spa=
n>-- System Information:</span><br><span>Debian Release: forky/sid</span><br=
><span> APT prefers testing</span><br><span> APT policy: (500, '=
testing')</span><br><span>Architecture: amd64 (x86_64)</span><br><span></spa=
n><br><span>Kernel: Linux 7.3.5 (SMP w/12 CPU threads; PREEMPT)</span><br><s=
pan>Locale: LANG=3Dde_DE.UTF-8, LC_CTYPE=3Dde_DE.UTF-8 (charmap=3DUTF-8) (ig=
nored: LC_ALL set to de_DE.UTF-8), LANGUAGE not set</span><br><span>Shell: /=
bin/sh linked to /usr/bin/dash</span><br><span>Init: systemd (via /run/syste=
md/system)</span><br><span></span><br><span>Versions of packages vim depends=
on:</span><br><span>ii libacl1 2.4.0-1<=
/span><br><span>ii libc6 2.4=
3-7</span><br><span>ii libgpm2 1.20.7-12=
+b2</span><br><span>ii libselinux1 3.11-2.1+b1</span><br><span>i=
i libsodium26 1.0.22-2</span><br><span>ii libtinfo6 =
6.6+20260608-2</span><br><span>ii vim-common 2=
:9.2.0858-1</span><br><span>ii vim-runtime 2:9.2.0858-1</span><b=
r><span></span><br><span>vim recommends no packages.</span><br><span></span>=
<br><span>Versions of packages vim suggests:</span><br><span>pn ctags &=
nbsp; <none></span><br><span>ii &nb=
sp;vim-doc 2:9.2.0858-1</span><br><span>ii &nb=
sp;vim-scripts 20210124.5+nmu1</span><br><span></span><br><span>-- no d=
ebconf information</span><br><span></span><br><span>-- </span><br><span> &nb=
sp; Dr. Helge Kreutzmann &nbs=
p; &n=
bsp; debian@helgefjell.de</span><br><span> &nbs=
p; Dipl.-Phys. &n=
bsp; =
http://www.helgefjell.de/debian.php</span><br><span>  =
; 64bit GNU powered &nb=
sp; &=
nbsp; gpg signed mail preferred</span><br><div><signature.asc></d=
iv></div></blockquote></body></html>=
--Apple-Mail-64E8BCFF-9105-467F-8B75-E3095220D51D--
Technical Details
Message-ID:
<O2HqF-dIRH-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O2FRT-dHYg-7@gated-at.bofh.it> <O2FRT-dHYg-7@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Christian Brabandt <cb@256bit.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155027: vim: Incorrect markup in de.po causes strange status line Date: Mon, 23 Nov 2026 20:10:01 +0100 Message-ID: <O2HqF-dIRH-5@gated-at.bofh.it> References: <O2FRT-dHYg-7@gated-at.bofh.it> <O2FRT-dHYg-7@gated-at.bofh.it> X-Original-To: Helge Kreutzmann <debian@helgefjell.de>, 1155027@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 23 19:03:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.649 Reply-To: Christian Brabandt <cb@256bit.org>, 1155027@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+vim@tracker.debian.org X-Debian-Pr-Message: followup 1155027 X-Debian-Pr-Package: vim X-Debian-Pr-Keywords: upstream l10n pending patch X-Debian-Pr-Source: vim Content-Type: multipart/alternative; boundary=Apple-Mail-64E8BCFF-9105-467F-8B75-E3095220D51D Content-Transfer-Encoding: 7bit MIME-Version: 1.0 (1.0) X-Mailer: iPhone Mail (23G90) X-Sa-Exim-Connect-IP: 2a00:20:b2cc:a1e:c0db:834c:305e:4adf X-Sa-Exim-Mail-From: cb@256bit.org X-Sa-Exim-Version: 4.2.1 (built Tue, 16 Feb 2021 15:21:40 +0000) X-Sa-Exim-Scanned: Yes (on 256bit.org) X-Greylist: delayed 1046 seconds by postgrey-1.37 at buxtehude; Mon, 23 Nov 2026 19:00:40 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004521 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 213 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: submit@bugs.debian.org X-Original-Date: Mon, 23 Nov 2026 19:42:54 +0100 X-Original-Message-ID: <41E427A2-E71E-4082-B774-4939AE78A347@256bit.org> X-Original-References: <awR0B9XiRr3Ih6kt@meinfjell.helgefjelltest.de> <awR0B9XiRr3Ih6kt@meinfjell.helgefjelltest.de>