[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: Zero3 <zero3cool_at_zerosplayground.dk>
Date: Thu, 12 Jun 2008 18:27:58 +0200

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?

- Zero3

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-06-12 18:28:13 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.