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

RE: svn commit: r35018 - trunk/subversion/libsvn_diff

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Mon, 5 Jan 2009 17:10:58 +0100

> -----Original Message-----
> From: Arfrever Frehtes Taifersar Arahesis
> [mailto:Arfrever.FTA_at_GMail.Com]
> Sent: zaterdag 3 januari 2009 4:11
> To: svn_at_subversion.tigris.org
> Subject: svn commit: r35018 - trunk/subversion/libsvn_diff
>
> Author: arfrever
> Date: Fri Jan 2 19:11:03 2009
> New Revision: 35018
>
> Log:
> * subversion/libsvn_diff/diff_file.c
> (output_unified_default_hdr): Mark a string for translation.
>
> Modified:
> trunk/subversion/libsvn_diff/diff_file.c
>
> Modified: trunk/subversion/libsvn_diff/diff_file.c
> URL:
> http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_diff/diff_file
> .c?pathrev=35018&r1=35017&r2=35018
> =======================================================================
> =======
> --- trunk/subversion/libsvn_diff/diff_file.c Fri Jan 2 18:53:25 2009
> (r35017)
> +++ trunk/subversion/libsvn_diff/diff_file.c Fri Jan 2 19:11:03 2009
> (r35018)
> @@ -2,7 +2,7 @@
> * diff_file.c : routines for doing diffs on files
> *
> *
> ====================================================================
> - * Copyright (c) 2000-2006 CollabNet. All rights reserved.
> + * Copyright (c) 2002-2009 CollabNet. All rights reserved.
> *
> * This software is licensed as described in the file COPYING, which
> * you should have received as part of this distribution. The terms
> @@ -1122,7 +1122,8 @@ output_unified_default_hdr(const char **
> apr_time_exp_lt(&exploded_time, file_info.mtime);
>
> apr_strftime(time_buffer, &time_len, sizeof(time_buffer) - 1,
> - "%a %b %e %H:%M:%S %Y", &exploded_time);
> + /* Order of date components can be different in different languages
> */
> + _("%a %b %e %H:%M:%S %Y"), &exploded_time);

Is it safe to localize this within the limitations of the patch file format?

(I think we already use localized month names, so probably it is.. Just
checking)

        Bert

>
> SVN_ERR(svn_utf_cstring_to_utf8(&utf8_timestr, time_buffer, pool));

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1005497
Received on 2009-01-05 17:18:39 CET

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.