msg="<font color='grey'>"+QDateTime::currentDateTime().toString(QString::fromUtf8("dd/MM/yyyy hh:mm:ss"))+"</font> - "+tr("<font color='red'>%1</font> was blocked","x.y.z.w was blocked").arg(ip);
else
msg="<font color='grey'>"+QDateTime::currentDateTime().toString(QString::fromUtf8("dd/MM/yyyy hh:mm:ss"))+"</font> - "+tr("<font color='red'>%1</font> was banned","x.y.z.w was banned").arg(ip);
msg="<font color='grey'>"+QDateTime::currentDateTime().toString(QString::fromUtf8("dd/MM/yyyy hh:mm:ss"))+"</font> - "+tr("<font color='red'>%1</font> was blocked","x.y.z.w was blocked").arg(ip);
#else
msg="<font color='grey'>"+QDateTime::currentDateTime().toString(QString::fromUtf8("dd/MM/yyyy hh:mm:ss"))+"</font> - "+tr("<font color='red'>%1</font> was blocked %2","x.y.z.w was blocked").arg(ip).arg(blockedReason);
#endif
else
msg="<font color='grey'>"+QDateTime::currentDateTime().toString(QString::fromUtf8("dd/MM/yyyy hh:mm:ss"))+"</font> - "+tr("<font color='red'>%1</font> was banned","x.y.z.w was banned").arg(ip);