[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Overriding/customizing i18n()
From:       Frans Englich <englich () kde ! org>
Date:       2006-05-30 1:18:21
Message-ID: 200605300118.21249.englich () kde ! org
[Download RAW message or body]

On Sunday 28 May 2006 09:06, David Faure wrote:
> On Saturday 27 May 2006 20:41, Frans Englich wrote:
> > Hi everyone,
> >
> > In a project of mine, I would like to intercept calls to i18n() and apply
> > various consistency checks. I only want to do this when compiling in
> > debug mode.
> >
> > First of all, I cannot simply invent my own i18n functions which
> > subsequently calls the real i18n functions, since the translation
> > framework is hardcoded on the function name i18n and on top of that
> > requires a character literal as argument. Right?
> >
> > To me, two solutions might remain:
>
> Third solution, 'override' at the pre-processor level, with #define i18n
> myi18n?

Yeah, I guess that would work. Thanks.


Cheers,

		Frans
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic