the localized output of 'hardlink' is misaligned for some languages

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

 



Hi,

After applying the posted localization patch for 'hardlink', the
localized output is misaligned for some languages.  For example:

$ LANGUAGE=pl hardlink --dry  ~/Programoj
Właściwości:           próba
Method:                   sha256
Plików:                  8141
Dowiązano:               2238 files
Porównano:               0 xattrs
Porównano:               2255 files
Oszczędzono:             9,52 MiB
Trwało:                  0.154945 seconds

It seems that for calculating the placement of the second column, it
counts the number of bytes in the word+colon thing and then subtracts
that from 25 to determine the number of needed padding spaces.  But it
should count the number of character columns instead.

Probably this should use libsmartcols in some way?

(That "Method": and "files" and "seconds" are not localized is due to
the incompleteness of the Polish translation.)

Benno

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[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