Fix regex for QApplication.translate to gettext conversion