[Qt-interest] javascript and linguist
Konrad Rosenbaum
konrad at silmor.de
Sat Dec 6 10:42:48 CET 2008
On Saturday 06 December 2008, Boudewijn Rempt wrote:
> Is there already something to extrat tr("")'ed text from javascript?
> We're using a lot of javascript in our webkit-based Qt application and
> when I try to run lupdate on javascript I get lots of complaints about
> abuse of the C++ preprocessor and very little output in my .ts files. If
> all else fails I'm going to try to extract the strings myself and put
> them in a dummy .cpp file -- but then I'm wondering whether the context
> works.
I'm extracting tr'ed text from PHP files by adding them to the HEADERS
variable in my .pro file. This will probably also work with Javascript.
Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081206/81dc0c11/attachment.bin
More information about the Qt-interest-old
mailing list