diff --git a/src/gui/csvImport/CsvParserModel.cpp b/src/gui/csvImport/CsvParserModel.cpp index d4af2b785..c4c02cddb 100644 --- a/src/gui/csvImport/CsvParserModel.cpp +++ b/src/gui/csvImport/CsvParserModel.cpp @@ -31,9 +31,9 @@ void CsvParserModel::setFilename(const QString& filename) { } QString CsvParserModel::getFileInfo(){ - QString a(QString::number(getFileSize()).append(tr(" byte, "))); - a.append(QString::number(getCsvRows())).append(tr(" rows, ")); - a.append(QString::number(qMax(0, getCsvCols()-1))).append(tr(" columns")); + QString a(tr("%n byte(s), ", Q_NULLPTR, getFileSize())); + a.append(tr("%n row(s), ", Q_NULLPTR, getCsvRows())); + a.append(tr("%n column(s)", Q_NULLPTR, qMax(0, getCsvCols() - 1))); return a; }