qDebug()<<"Successfully listening on "<<proto<<p->endpoint.address().to_string(ec).c_str()<<"/"<<p->endpoint.port();
Logger::instance()->addMessage(tr("qBittorrent is successfully listening on interface %1 port: %2/%3","e.g: qBittorrent is successfully listening on interface 192.168.0.1 port: TCP/6881").arg(p->endpoint.address().to_string(ec).c_str()).arg(proto).arg(QString::number(p->endpoint.port())),Log::INFO);
Logger::instance()->addMessage(
tr("qBittorrent is successfully listening on interface %1 port: %2/%3","e.g: qBittorrent is successfully listening on interface 192.168.0.1 port: TCP/6881")
MessageBoxRaised::critical(this,tr("Invalid torrent"),tr("Failed to load the torrent: %1.\nError: %2","Don't remove the '\n' characters. They insert a newline.").arg(Utils::Fs::toNativePath(m_filePath)).arg(error));
MessageBoxRaised::critical(this,tr("Invalid torrent"),tr("Failed to load the torrent: %1.\nError: %2","Don't remove the '\n' characters. They insert a newline.")
text="<font color='grey'>"+time.toString(Qt::SystemLocaleShortDate)+"</font> - "+tr("<font color='red'>%1</font> was blocked %2","x.y.z.w was blocked").arg(peer.ip).arg(peer.reason);
+tr("<font color='red'>%1</font> was blocked %2","x.y.z.w was blocked").arg(peer.ip,peer.reason);
else
text="<font color='grey'>"+time.toString(Qt::SystemLocaleShortDate)+"</font> - "+tr("<font color='red'>%1</font> was banned","x.y.z.w was banned").arg(peer.ip);
showNotificationBaloon(tr("I/O Error","i.e: Input/Output Error"),tr("An I/O error occurred for torrent '%1'.\n Reason: %2","e.g: An error occurred for torrent 'xxx.avi'.\n Reason: disk is full.").arg(torrent->name()).arg(msg));
Logger::instance()->addMessage(tr("Python found in %1: %2","Python found in PATH: /usr/local/bin:/usr/bin:/etc/bin").arg("PATH").arg(qgetenv("PATH").constData()),Log::INFO);
Logger::instance()->addMessage(tr("Python found in %1: %2","Python found in PATH: /usr/local/bin:/usr/bin:/etc/bin")
Logger::instance()->addMessage(tr("Set location: moving \"%1\", from \"%2\" to \"%3\"","Set location: moving \"ubuntu_16_04.iso\", from \"/home/dir1\" to \"/home/dir2\"").arg(torrent->name()).arg(torrent->savePath()).arg(newLocation));
Logger::instance()->addMessage(tr("Set location: moving \"%1\", from \"%2\" to \"%3\""
,"Set location: moving \"ubuntu_16_04.iso\", from \"/home/dir1\" to \"/home/dir2\"")