-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Stéphane Raimbault on 3/14/2009 6:57 PM: > Hi, > > It's not possible to translate this string in French and to keep the > columns aligned because in French the month abbreviations are variable > from 3 to 5 characters:
GNU strftime obeys POSIX 2008, and thus allows for width modifiers. Therefore, you can write things like %5b to write the month abbreviation that will occupy 5 spaces, which takes care of adding extra spacing for short months while still allowing the a fixed-width date string to have nice overall alignment. However, if all of the entries have a short month, it still results in a larger spacing in the middle of the date, but I'm not sure how easy it would be to patch the code to handle adaptive-width date strings. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkm8czcACgkQ84KuGfSFAYC66gCgzmJhOY0rLI1S6309AMuBtcYr mn4An0eLRgaBdvR4PaKFVejLJlxisM+K =y88r -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils