";
+ switch (type.indexOf(json["type"].toString())) {
+ case 0:
+ result += "
";
+ result += tr("%1 mentioned your status.").arg(json["account"].toObject()["display_name"].toString());
+ break;
+ case 1:
+ result += "
";
+ result += tr("%1 boosted your status.").arg(json["account"].toObject()["display_name"].toString());
+ break;
+ case 2:
+ result += "
";
+ result += tr("%1 favourited your status.").arg(json["account"].toObject()["display_name"].toString());
+ break;
+ case 3:
+ result += "
";
+ result += tr("%1 followed you.").arg(json["account"].toObject()["display_name"].toString());
+ break;
+ default:
+ break;
+ }
+ result += "
";
+ result += tr("created at :");
+ QDateTime dt = QDateTime::fromString(json["created_at"].toString(),"yyyy-MM-ddTHH:mm:ss.zzzZ");
+ dt.setTimeSpec(Qt::UTC);
+ result += dt.toLocalTime().toString();
+ result += "
";
+ result += "
";
+ result += tr("%1").arg(json["account"].toObject()["display_name"].toString());
+ result += "