[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: Lübbe Onken <luebbe.tortoisesvn_at_googlemail.com>
Date: Tue, 15 Dec 2009 08:51:29 +0100

Hi István,

you wrote:
> I am translating TSVN. From my point of view it is hard or sometimes
> impossible to translate resources correctly in which %s occurs more than
> 2 times. There is an other thing to mention here. Please do not use %s
> (more than one time) at the end of a string. Because it it totally
> useless but may cause a translation problem when a %s is left out by the
> translators mistake.
> - My recommendation would be (instead of sprintf(buf, "SouthPark %s%s",
> a, b); you may split into two part sprintf(temp, "%s%s", a, b);
> sprintf(buf, "SouthPark%s", temp); )
> - Also there may be an bigger improvment to intruduce a "custom-sprintf"
> function that can change the order of %s. eg: customsprintf("Import
> %s[1], to %s[2]%s[3]", "bill", "gates", "family"); this should be
> translated to customsprintf("%s[3] %s[2] import to %s[1]", "bill",
> "gates", "family");

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

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net  PGP Key ID 0x23F511AB
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2430458
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-15 08:51:13 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.