[Aptitude-devel] Bug#674045: Bug#674045: aptitude: German translation says "#Broken" but shows no number
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:
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.:
Of course, such problem might very well happen in other places in
aptitude as some things seem to rely on string concatenation,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Aptitude-devel