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

Re: Resource changes in Tortoise.pot

From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Tue, 08 Dec 2009 04:13:09 +0100

From: Stefan Küng <tortoisesvn_at_gmail.com
<mailto:tortoisesvn_at_gmail.com?Subject=Re:%20Resource%20changes%20in%20Tortoise.pot>>
wrote:
>
> On 07.12.2009 10:02, Lübbe Onken wrote:
> /> Hi Stefan^1 and ^2 /
> /> /
> /> in the latest resource change by Stefan^2, three "%s" formatting
> strings /
> /> were capitalized. Was that intentional? /
> /> /
> /> IDS_INPUT_EDITPROP "Edit property '%S' on\r\n%s" /
> /> IDS_INPUT_REMOVEPROP "Remove property '%S' from\r\n%s" /
> /> IDS_INPUT_SETPROP "Set property '%S' on\r\n%s" /
> /> /
> /> If not could one of the Stefans please undo this before all
> translators /
> /> jump at it? /
>
> Actually, this change is required and *must* be properly done in all
> translations too.
>
> %s : "When used with printf functions, specifies a
> single-byte–character
> string; when used with wprintf functions, specifies a wide-character
> string."
>
> %S : "When used with printf functions, specifies a wide-character
> string; when used with wprintf functions, specifies a
> single-byte–character string."
>
> And since Stefan^2 uses those strings now to output single-byte char
> strings (utf8), the capital letter S is required in our UNICODE build.
>
Sorry for confusion!

The whole reason behind that change is the way, SVN #defines
property strings. There seems to be no way to get something like
_T(SVN_PROP_NEEDS_LOCK)
to compile and I wanted to get rid of the hard-coded strings.

-- Stefan^2.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2428051

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-08 04:13:18 CET

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.