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

Re: Translation problems with string constants

From: <kfogel_at_collab.net>
Date: 2004-04-26 21:36:21 CEST

"Erik Huelsmann" <e.huelsmann@gmx.net> writes:
> > Why not? The static initializer is just a string constant; it can be
> > substituted into another string with %s, no?
>
> yea, but this particular case was in the error messages table. There are two
> or three more cases like this one. In tables like those it's hard to use the
> trick, since the general error messages do not take arguments.

Oh, right. Oy. We'd have to add an svn_initialize() or something, to
set up a bunch of global variables holding the error strings. Hmmm.

I'm loathe to hardcode "svn:author" instead of using the #define. But
I don't see a reasonable alternative here :-(.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 26 22:49:09 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.