Change QApplication::translate to tr, removing deprecated UTF8 parameter