Michael Gerz wrote:

> Hello,
> 
> why is it
> 
> [EMAIL PROTECTED]:~/lyx-trunk/src/frontends/qt4/ui> grep -2 tr Makefile.am
> BUILT_SOURCES = $(UIFILES:.ui=.h)
> 
> # Use _() for localization instead of tr() or trUtf8()
> UICFLAGS=-tr qt_
> 
> 
> and not just
> 
> UICFLAGS=-tr _
> 
> ???

Because qt_() is the translation function that returns a QString (defined in
qt_helpers.C). _() would not work, since it returns a docstring. That is
not the reason for the untranslated messages, it was the same in qt3. Did
you look whether uic actually generates calls to qt_()?


Georg

Reply via email to