days instead files

master
const an teen 2021-12-26 07:33:09 -05:00
parent 45c3b5e747
commit 459a35718b
1 changed files with 1 additions and 1 deletions

View File

@ -964,7 +964,7 @@ void HttpServer::writeMainPage(QTcpSocket *socket, QString &urlPath, bool isHead
dayLogsCounter++;
}
QString filesLabel;
dayLogsCounter == 1 ? filesLabel = "file" : filesLabel = "files";
dayLogsCounter == 1 ? filesLabel = "day" : filesLabel = "days";
replaceTag(onePoint, "POINT_CONTENT", "<b>" + f + "</b>&nbsp;(" + nameOfMonth + ") " + QString::number(dayLogsCounter) + " " + filesLabel);
replaceTag(onePoint, "POINT_LINK", "/"+server+"/"+channel+"/"+year+"/"+f);
payloadBlock += onePoint;