[PyKDE] Problem with pylupdate of PyQt4

Detlev Offenbach detlev at die-offenbachs.de
Thu Jan 18 16:49:50 GMT 2007


On Wednesday 17 January 2007 19:31, Detlev Offenbach wrote:
> On Tuesday 16 January 2007 16:02, Phil Thompson wrote:
> > On Monday 15 January 2007 1:01 pm, Detlev Offenbach wrote:
> > > Hi,
> > >
> > > it seems, that pylupdate doesn't recognise translation strings like
> > >
> > > self.trUtf8("""The project contains %n file(s) with syntax errors.""",
> > >             "", filesWithSyntaxErrors)
> > >
> > > This is a form new in Qt 4.2 and is the Plural form of tr (or trUtf8).
> >
> > Try tonight's snapshot - untested.
>
> Doesn't work for. Following problems.
>
> 1. It takes ages (for eric4 ~60s per language) to extract the translation
> strings.
> 2. All existing translations are not marked as translated any more.

Clarification: All strings have type "unfinished", even if they were finished 
previously.

> 3. The produced translation entry for the example above doesn't get
> recognized as a plural form by Linguist.

A plural message string must have the start tag:
<message numerus="yes">

>
> Summary: the current pylupdate is not usable for me. Sorry.
>
> Regards,
> Detlev

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list