ipcs: header misalignment, unneeded gettextization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Currently the output of 'ipcs -m' is slightly misaligned:

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0x00000000 131072     ben       600        196608     2          dest
0x00000000 98305      ben       600        393216     2          dest

The first patch (to follow) fixes that by adding a space before the 
perms data column.  It also correctly aligns the output of 'ipcs -mt' 
by removing a leading space from the "attached" column.

(I'm unsure though whether the second hunk is correct, and whether the
field widening in the third hunk is needed and correct.)


The second patch removes the gexttextization of the formatting strings 
for all ipcs table headers.  There's no point in allowing translators 
to change this formatting when they can't change the formatting of the
data itself.

In the current PO files, only the Catalan and Spanish file use these 
strings to add a space to correct the alignment of 'ipcs -mt' (what 
the first patch now does for them, only the other way around), and 
the Dutch PO file narrows one of the column headers (also obsoleted 
by the first patch).

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux