[PyQt] Re: [Eric] Linguist question

Michele Petrazzo - Unipex michele.petrazzo at unipex.it
Wed Nov 11 10:59:50 GMT 2009


Detlev Offenbach wrote:
> Hi,
> 

Hi,
sorry for this month of run.

I'm now here for say that I continuing to dive into this problem.

>> pylupdate4 show me some errors that lupdate not show. something like
>> "gui/main.py:419: Unterminated string" and on that line I have """Emit
>> the signal on selection""", so I think that it's right since I have a
>> lot of other docstring around the same code that aren't warned. The same
>> problems are shown on other files around the project.
> 
> That is strange. I would need the sources to analyze it.
> 
>> lupdate-qt4 show me some errors that pylupdate4 not recognize and some
>> other coincide, with different error message "Unterminated C++ string".
>> The output was:
>> lupdate-qt4: Updating 'gui/i18n/main_it.ts'...
>> lupdate-qt4:
>> lupdate-qt4:     Found 47 source text(s) (10 new and 37 already existing)
>> lupdate-qt4:     Removed 3 obsolete entries
>> lupdate-qt4:     Same-text heuristic provided 3 translation(s)
>>
>> Opening the .ts file with linguist-qt4 now I see *all* my translations,
>> but with "wrong" context called <unnamed context>.
>> The other strange thing it's that on the "source and frames" now I see
>> both my gui and my code when I select the translations on "unnamed
>> context".
> 
> Please send the .ts file generated by lupdate-qt4 for analysis.
> 


I'll send you directly both file.

Thanks,
Michele


More information about the PyQt mailing list