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

Re: Translators wanted!!!!!

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 12 Jun 2008 19:11:36 +0200

Zero3 wrote:
> Stefan Küng skrev:
>>> "Original text (u'Revision: %ld\nURL: %s\r\nAuthor: %s\r\nDate:
>>> %s\r\n\r\nLogmessage:\r\n%s') mixes different newline markers
>>>
>>> So looks like a header was edited partly on a Windows system and
>>> partly on a non-Windows system, and then copied to a lot of
>>> translations, with mixed line ending codes."
>>
>> That depends: is the error message due to mixed eols in the file
>> itself or in the string? As you can see in the string, there are both
>> \r and \n chars there, and those are required.
>
> As far as I can tell, it is due to inconsistent line endings within the
> same string. Here we have both \n ("Revision: %ld\n") and \r\n ("URL:
> %s\r\n"). That probably isn't on purpose? Wouldn't \r\n work for the
> first newline as well?

Oops! Fixed those in r13230.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-06-12 19:11:58 CEST

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

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