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

RE: Can not translate %s%s%s

From: Jonathan Potter <listsub_at_lss.com.au>
Date: Wed, 16 Dec 2009 14:24:24 +1100

For what it's worth, in Opus we use the FormatMessage function which supports indexed parameters using %1, %2, %3 etc. By default the parameters are strings but sprintf-style modifiers can be used to support other parameter types (%1!ld! for unsigned long, etc).

Presumably it would be a simple thing to write a program or script to "convert" all the existing translations to indexed parameters, and then the translators could go through and update strings as necessary.

Cheers,
Jon

> -----Original Message-----
> From: Lübbe Onken [mailto:luebbe.tortoisesvn_at_googlemail.com]
> Sent: Tuesday, 15 December 2009 6:51 PM
> To: dev_at_tortoisesvn.tigris.org
> Subject: Re: Can not translate %s%s%s
>
> I'm very much in favour of supporting indexed parameters in
> TortoiseSVN.
> I talked to the Persian translator about this subject and for him this
> is a big problem, because he has to write a sentence in right-to-left
> order, but the parameters are supplied in left-to-right order.
>
> It would also lead to better grammar in some German translations if I
> could place the parameters at the right location.
>
> > This is not a big thing, makes some trouble only in a few cases. So
> it
> > is not urgent, but would be nice.
>
> "not a big thing" for you or "not a big thing" to do? :)
> Yes it would be nice.
>
> Cheers
> - L�bbe

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-16 04:44:37 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.