[Aptitude-devel] Shorter text for "%u" (Disk Usage Change) (was Bug#674045: aptitude: German translation says "#Broken" but shows no number)
mandyke at gmail.com
Wed May 23 07:49:08 UTC 2012
On 23 May 2012 12:59, Christian PERRIER <bubulle at debian.org> wrote:
> Of course, such problem might very well happen in other places in
> aptitude as some things seem to rely on string concatenation,
Indeed. There may be a few random issues in places, and definitely
some problems with the format strings.
[I fixed some column width issues in many localizations today. A more
translator-friendly system for setting the widths is also underway.]
One column in particular – %u (Disk Usage Change) – is very long with
default width 30, yet it doesn't need to be. Currently it displays
text such as:
Will use 100 MB of disk space.
and appears in the default header line, tacking up much space. In
many translations, the full text almost never fits.
It would be preferable to change this to something shorter, like:
Disk Usage: +100 MB
which also makes it very similar to it's neighbours %B (Broken Count)
and %o (Download Size):
DL Size: 20 MB
There should be enough time for translators to update this one string
if asked nicely ;-) so unless there are any issues with the new string
it will be changed soon.
More information about the Aptitude-devel