Shouldn't the result of getXMLstring be passed to entity_decode first? Something along the attached patch. Perhaps I'm not doing this as was planned (basically I'm running a regex-replace on the generate ui_XXX.h files to replace QApplication::translate calls with gettext ones, see [1]), but without entity_decode, the msgids of strings containing html markup does not match what is actually in the ui_XXX.h files, plus having all html-escaped characters in the po files is somewhat unplesant for translators.
[1] https://github.com/manisandro/gImageReader/blob/master/cmake/gettextizeui.cmake ** Patch added: "intltool_designer_decode.patch" https://bugs.launchpad.net/intltool/+bug/953342/+attachment/4274236/+files/intltool_designer_decode.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/953342 Title: Add support for Qt Designer UI files To manage notifications about this bug go to: https://bugs.launchpad.net/intltool/+bug/953342/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs