bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls - French translation of N_("%b %e %Y")


From: Stéphane Raimbault
Subject: Re: ls - French translation of N_("%b %e %Y")
Date: Sun, 15 Mar 2009 12:18:03 +0100

2009/3/15 Paul Eggert <address@hidden>:
> Stéphane Raimbault <address@hidden> writes:
>
>> I propose to have a column for "%b %e" translation (left aligned) and
>> another one for "%H:%M" and "%Y"  (right aligned).
>
> Something like that should work, yes, but it'll require some hacking
> in the ls.c code, as it will have 2 more columns to keep track of.
>

I know, it isn't a trivial change.

>> Another solution is to compute the max length of the column to align
>> it (as done for username, size, etc) and not just only the first
>> occurrence (but the visual result will be not as good).
>
> Sorry, I don't follow this point.  Won't making the columns line up
> make the output look better?  Could you give examples?
>

If the column is left aligned the output will be like that:

-rw-r--r-- 1 stephane stephane    0 15 mars 12:12  a
-rw-r--r-- 1 stephane stephane    0  1 févr. 00:00 b
-rw-r--r-- 1 stephane stephane    0  1 janv. 00:00 c
-rw-r--r-- 1 stephane stephane    0  1 déc. 00:00  d
-rw-r--r-- 1 stephane stephane    0  1 nov. 00:00  e
-rw-r--r-- 1 stephane stephane    0  1 oct. 00:00  f
-rw-r--r-- 1 stephane stephane    0  1 sept.  2008 g
-rw-r--r-- 1 stephane stephane    0  1 août  2008  h
-rw-r--r-- 1 stephane stephane    0  1 juil.  2008 i
-rw-r--r-- 1 stephane stephane    0  1 juin  2008  j
-rw-r--r-- 1 stephane stephane    0  1 mai  2008   k
-rw-r--r-- 1 stephane stephane    0  1 avril  2008 l

so hours and years aren't aligned.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]