[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: For consistency mark some dates and strings for localization

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: 2007-09-10 22:32:34 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

2007-09-10 21:46:02 Erik Huelsmann napisał(a):
> On 9/10/07, Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > 2007-09-10 21:18:32 Karl Fogel napisał(a):
> > > So right now, I think it wouldn't be applied. If we're missing
> > > something important, please let us know.
> >
> > Thanks for reply.
> >
> > %c is too long for `svn ls -v`. Its localization would be also consistent with e.g. `ls -l`.
> >
> > I don't have strong arguments for localization of "%a %b %e %H:%M:%S %Y", but e.g. in
> > Simplified Chinese the order is "year month day" instead of "month day year", so maybe Cauchy
> > would like to localize it.
> >
> > No problem in case of "txn" and "rev".
> >
> > For me, the most important would be the localization of dates in `svn ls -v`.
>
> Understood. Maybe you could have a look at how ls localized it's
> output? Did they do it the way you do, or do they use some other %
> format specifier from strftime?

<Coreutils-6.9>/src/ls.c: Lines 672-693:
/* strftime formats for non-recent and recent files, respectively, in
   -l output. */

static char const *long_time_format[2] =
  {
    /* strftime format for non-recent files (older than 6 months), in
       -l output. This should contain the year, month and day (at
       least), in an order that is understood by people in your
       locale's territory. Please try to keep the number of used
       screen columns small, because many people work in windows with
       only 80 columns. But make this as wide as the other string
       below, for recent files. */
    N_("%b %e %Y"),
    /* strftime format for recent files (younger than 6 months), in -l
       output. This should contain the month, day and time (at
       least), in an order that is understood by people in your
       locale's territory. Please try to keep the number of used
       screen columns small, because many people work in windows with
       only 80 columns. But make this as wide as the other string
       above, for non-recent files. */
    N_("%b %e %H:%M")
  };

<I'm subscribed to this list.>

- --
Arfrever Frehtes Taifersar Arahesis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.6 (GNU/Linux)

iD8DBQFG5aoQ/axNJ4Xo/ZERAh/yAJ9Z/xNNC826Vs1saKkdlhhl69hhngCfQIXI
FniFrtQiZUPAMfj3PmgRakc=
=dhsw
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 10 22:31:40 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.