Re: Moving Trojitá to extragear
Albert Astals Cid
aacid at kde.org
Tue Dec 4 12:07:51 GMT 2012
--- El mar, 4/12/12, Burkhard Lück <lueck at hube-lueck.de> escribió:
> De: Burkhard Lück <lueck at hube-lueck.de>
> Asunto: Re: Moving Trojitá to extragear
> Para: kde-core-devel at kde.org
> Fecha: martes, 4 de diciembre, 2012 13:03
> Am Donnerstag, 22. November 2012,
> 23:31:43 schrieb Jan Kundrát:
> > It took quite a few hours, but it looks like I've tamed
> the beast.
> >
> > I wanted to follow the way how Marble works, i.e.
> calling QObject::tr and
> > converting between the .ts and .po files. This turned
> out to be a problem
> > because QObject::tr expects the context to be a name of
> the class while the
> > xgettext, as used by Messages.sh, works with file
> names. I have no idea how
> > come that Marble's tr() calls work -- when I used the
> same, nothing would
> > get translated.
> >
> Scripty does not like your message extraction, see
> ftp://l10n.kde.org/121204.trunk_l10n-kde4.
>
> Using a simple
>
> $XGETTEXT_QT `find src/ -name \*.cpp` -o
> $podir/trojita_common.pot
But that won't work code-wise since he's not linking to kdecore.
Cheers,
Albert
>
> will avoid the duplicated messages make Scripty happy.
>
> --
> Burkhard Lück
>
>
More information about the kde-core-devel
mailing list