Internationalization Problem (V1.2)

Richard Moore rich at ipso-facto.freeserve.co.uk
Fri Sep 1 18:10:28 BST 2000


#define i18n(x) tr(x)

or write a wrapper function called i18n() that calls tr().

Rich.

Sven Bergner wrote:
> 
> On Fri, 1 Sep 2000, Sven Bauhan wrote:
> 
> > Hi,
> >
> > I have recently updated to KDevelop 1.2 and had problems with
> > internationalization on generating a new project.
> > Sometimes no internationalization is available (disabled menu entry "add
> > new translation") another time internationalization is added
> > automatically, but in my Qt Project the KDE internationalization is
> > added, so that it can't be compiled. (In my Qt dialogs KDevelops adds
> > "#include <kapp.c>" and the i18n() makro to the *data.cpp files).
> >
> > How can I manually add the right internationalization (Qt) and disable
> > it?
> >
> > Thanks,
> >       Sven
> 
> Hi Sven,
> the QT uses the Macro tr() instead of i18n().
> 
> CU,
>   Sven
> -------------------------------------------------------
>                  Sven Bergner
>            E-Mail: bergner at fh-worms.de
>              Live long and prosper!
>           Registered Linux-User #65111
> -------------------------------------------------------

-- 
     Richard Moore		rich at ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard at robocast.com
http://developer.kde.org/	rich at kde.org





More information about the KDevelop mailing list