[Aptitude-devel] Bug#674045: Bug#674045: aptitude: German translation says "#Broken" but shows no number
Christian PERRIER
bubulle at debian.org
Wed May 23 04:59:11 UTC 2012
Quoting Andreas Kloeckner (inform at tiker.net):
> Package: aptitude
> Version: 0.6.7-1
> Severity: normal
> Tags: l10n
>
> Dear Maintainer,
>
> The German translation of aptitude, when encountering broken packages,
> shows (the German equivalent of) "#Broken" in the header, but does not
> show a number behind this label.
I confirm this. The German translation is indeed right:
#: src/pkg_columnizer.cc:394
#, c-format
msgid "#Broken: %ld"
msgstr "#Beschädigt: %ld"
I suspect this is because the string is longer than the original
English string and is overwritten by the next string.
The problem doesn't happen in Franch because the translation there
(#Cassé: %ld) is not longer than the English string.
So, unless come code is added to consider the real size of strings
rather than hardcoding the string placement based on the length of
English strings, the only solution here is to shorten the German
translation (I suspect by using an abbreviation such as "#Besch.:
%ld")
Of course, such problem might very well happen in other places in
aptitude as some things seem to rely on string concatenation,
unfortunately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20120523/52c53e72/attachment.pgp>
More information about the Aptitude-devel
mailing list