free output in german translation line up wrong colums

Bug #1581433 reported by Andreas Kostyrka
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
procps (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Notice how the free column for swap shows 0 in the german translation.

andreas@asterix:~$ free -m
              gesamt benutzt frei gemns. Puffer/Cache verfügbar
Speicher: 15963 4934 7144 1119 3884 9779
Auslagerungsspeicher: 7981 0 7981
andreas@asterix:~$ LANG=C free -m
              total used free shared buff/cache available
Mem: 15963 4935 7142 1119 3886 9778
Swap: 7981 0 7981
andreas@asterix:~$ free
              gesamt benutzt frei gemns. Puffer/Cache verfügbar
Speicher: 16346836 5051476 7317744 1144548 3977616 10017704
Auslagerungsspeicher: 8173408 0 8173408
andreas@asterix:~$ LANG=C free
              total used free shared buff/cache available
Mem: 16346836 5052300 7316848 1144292 3977688 10017188
Swap: 8173408 0 8173408

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: procps 2:3.3.10-4ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri May 13 10:14:05 2016
InstallationDate: Installed on 2016-04-22 (21 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: procps
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andreas Kostyrka (andreas-kostyrka) wrote :
Revision history for this message
Andreas Kostyrka (andreas-kostyrka) wrote :

added the output again as an attachment because the variable width display of the output is not helpful.

Basically, one useful idea would be to check the length of the translations when outputting, and either complain or cut off the translation.

For free the columnar output is more relevant if the label is complete.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in procps (Ubuntu):
status: New → Confirmed
Revision history for this message
Nirro (nirro) wrote :

This can be seen in the spanish translation. The output table support is messy depending on the length of the header strings.

Revision history for this message
William Andrea (wjandrea) wrote :

Affects the French translation too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.