[Qt-interest] using QT_TRANSLATE_NOOP and QT_TRANSLATE_NOOP3

Markus Franke Franke.M at sebakmt.com
Thu Mar 11 11:00:59 CET 2010


Dear Qt Developers/Users,

I have a lot of string literals marked as translatable by using 
QT_TRANSLATE_NOOP. 

e.g.

#define text1 QT_TRANSLATE_NOOP("mycategory", "this is a translatable 
text")

Hower, QT_TRANSLATE_NOOP only takes two arguments. Now sometimes I would 
like to add a third argument as a comment for the translators. 

How can I achieve this? Although QT_TRANSLATE_NOOP3 takes three arguments 
it doesn't expand to the source text as with QT_TRANSLATE_NOOP.


Thanks for help and with best regards,



Markus Franke


"Disclaimer: This message is intended only for the use of the individual or entity to
which it is addressed and may contain information which is privileged, confidential, proprietary,
or exempt from disclosure under applicable law. If you are not the intended recipient or the person
responsible for delivering the message to the intended recipient, you are strictly prohibited from
disclosing, distributing, copying, or in any way using this message. If you have received this 
communication in error, please notify the sender and destroy and delete any copies you may have
received."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100311/f87a5864/attachment.html 


More information about the Qt-interest-old mailing list