Using iostream usually adds a lot of other operators (<<, endl), whereas
*printf takes only 1 function call.
Also use qUtf8Printable whenever possible.
std::cout<<qPrintable(QObject::tr("qBittorrent is a file sharing program. When you run a torrent, its data will be made available to others by means of upload. Any content you share is your sole responsibility.\n\nNo further notices will be issued."))<<std::endl<<std::endl;
+QObject::tr("qBittorrent is a file sharing program. When you run a torrent, its data will be made available to others by means of upload. Any content you share is your sole responsibility.")+"\n\n"
std::cout<<qPrintable(QObject::tr("Press %1 key to accept and continue...").arg("'y'"))<<std::endl;
+QObject::tr("No further notices will be issued.")+"\n\n"
+QObject::tr("Press %1 key to accept and continue...").arg("'y'")+'\n';
std::cout<<qPrintable(QObject::tr("You updated from an older version that saved things differently. You must migrate to the new saving system. You will not be able to use an older version than v3.3.0 again. Continue? [y/n]"))<<std::endl;
printf("%s\n"
,qUtf8Printable(QObject::tr("You updated from an older version that saved things differently. You must migrate to the new saving system. You will not be able to use an older version than v3.3.0 again. Continue? [y/n]")));