Indeed. Thanks. I found our old conversation from years ago where you mentioned that. Placing the QT_TR_NOOP() calls is easy. Unfortunately, in this case the code is so twisted that I can't figure out (at a glance) where the tr() calls would end up.

I've started a thorough and careful review and rewrite that should improve the quality of the code and make this easy to fix. Worst case I'll figure out where the tr() calls go and give up. 🤣

Ted.

On 5/10/20 2:25 PM, David Faure wrote:
On Sunday, May 10, 2020 8:21:47 PM CEST Ted Felix wrote:
tr() was being called at static construction time.  That
won't work.

I don't have a full description of the problem at hand, but the usual solution
to the above issue is QT_TR_NOOP to mark the strings to be translated (for
lupdate to pick them up) and tr() at runtime.



_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to