On Sun, Mar 13, 2022 at 12:24:51PM +0100, Benno Schulenberg wrote: > 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? I'd suggest to ignore this problem for now. libsmartcols is probably overkill for this small output. I'll debug and fix it later. Thanks. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com