[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 Küng <tortoisesvn_at_gmail.com>
Date: Mon, 07 Dec 2009 19:07:37 +0100

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.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2427888
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-07 19:07:50 CET

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